Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test usecase of schema mapper #1318

Open
naleeha opened this issue Apr 30, 2024 · 0 comments
Open

Test usecase of schema mapper #1318

naleeha opened this issue Apr 30, 2024 · 0 comments
Assignees

Comments

@naleeha
Copy link
Contributor

naleeha commented Apr 30, 2024

Show different usecases and how to use the auto mapping in each of those case
Review api for java & scala usages

@naleeha naleeha self-assigned this Apr 30, 2024
@naleeha naleeha changed the title Easy way to build table def Example usecase of schema mapper May 2, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue May 21, 2024
- this change also removes getListToObjectConverter.scala since
  its api isn't Java friendly, and it assumes the passed values
  are in the same order as the class' constructor params. Which
  might not always be the case.
- replaced it with a more flexible solution with JsonMapper, that
  converts a map (of field names->values) to a class instance. Which
  should be easily replicable in  Java.
keikeicheung added a commit that referenced this issue May 23, 2024
#1318 improve ExternalEntitySchema api and add a `toMap` method
keikeicheung added a commit that referenced this issue May 23, 2024
Revert "#1318 improve ExternalEntitySchema api and add a `toMap` method"
junaidzm13 added a commit to junaidzm13/vuu that referenced this issue May 23, 2024
- this change also removes getListToObjectConverter.scala since
  its api isn't Java friendly, and it assumes the passed values
  are in the same order as the class' constructor params. Which
  might not always be the case.
- replaced it with a more flexible solution with JsonMapper, that
  converts a map (of field names->values) to a class instance. Which
  should be easily replicable in  Java.
keikeicheung pushed a commit that referenced this issue May 23, 2024
- this change also removes getListToObjectConverter.scala since
  its api isn't Java friendly, and it assumes the passed values
  are in the same order as the class' constructor params. Which
  might not always be the case.
- replaced it with a more flexible solution with JsonMapper, that
  converts a map (of field names->values) to a class instance. Which
  should be easily replicable in  Java.
@naleeha naleeha changed the title Example usecase of schema mapper Test usecase of schema mapper May 30, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
…it is agonostic to whether data is from ignite or rest api etc
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
… plugin to be able to add schema mapper functional tests
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jun 6, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
…it is agonostic to whether data is from ignite or rest api etc
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
… plugin to be able to add schema mapper functional tests
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
SVC-GL-OS-SYNC pushed a commit to UBS-IB/vuu that referenced this issue Jul 8, 2024
heswell pushed a commit that referenced this issue Jul 11, 2024
* #1318 example of how to use schema mapper to get data and update in memory table

* #1318 helper function for scala and java collection converter

* #1318 notes on next things to try

* #1318 java example of using schema mapper

* #1318 fleshing out java schema mapper example

* #1318 fleshing out scala schema mapper example

* #1318 refactoring scala example into test

* #1318 added more scenario for schema mapper testing

* #1318 refactor schema mapper functional test to introduce base class

* #1318 using data source for the functional test more generic so it is agonostic to whether data is from ignite or rest api etc

* #1318 introduce function to create table columns from external schema

* #1318 adding virtualized table plugin table dependency in ignite plugin to be able to add schema mapper functional tests

* #1318 adding additional type for column builder

* #1318 adding additional test scenario to be implemented

* #1318 adding java usecase tests for schema mapper

* #1318 test cleanup

* #1318 SchemaMapper functional test for virtualised table

* #1318 clean up based on review comments

* #1318 schema mapper functional test for when table column type is different from field type

* #1378 added java helper and tests in dedicated module to keep java and scala separate to keep build happy

* #1378 added java example to show simple way to define and update table in vuu

* #1378 added java example to show how to auto map from entity to table

* #1378 pom clean up to make java working

* #1318 adding build path to vuu-java module

---------

Co-authored-by: Tomasz Rumak <tomasz.rumak@ubs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant