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

Index nesting tests #42

Merged
merged 50 commits into from
Jan 2, 2023
Merged

Conversation

YANG-DB
Copy link
Member

@YANG-DB YANG-DB commented Jan 2, 2023

Description

Elaborate the index nesting and mapping tests

  • Add different nesting strategies
  • Add Author-Books use cases
  • Add documentation & tutorial
  • Add index mapping strategies
  • Enhance directives for both GQL & Ontology

Code Enhancement

  • add additional strategies for GQL to Ontology schema translation
  • add additional strategies for GQL to Ontology query translation

General

  • Add 3rd party license
  • raise coverage minimum to 50 %
  • enhance schema validation with rules and strategies

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

YANG-DB and others added 30 commits November 9, 2022 12:02
Signed-off-by: Lior Perry [email protected]
Signed-off-by: Lior Perry [email protected]
* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: YANG-DB <[email protected]>
Signed-off-by: YANGDB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: YANG-DB <[email protected]>
Signed-off-by: YANGDB <[email protected]>

* - add ontology components
- add index provider component
- add AST visitor traversal GraphQL --> Ontology
- add observability graphQL schema draft as samples
- add additional service module for the RestHandler & endpoint support
- add additional core module for the core graphQL manipulation and AST analysis
 - add Intermediate Ontological Query Elements
 - add GQL query anayzer
 - add GQL to Query transformation builder

Signed-off-by: YANG-DB <[email protected]>
Signed-off-by: YANGDB <[email protected]>

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>
Signed-off-by: YANGDB <[email protected]>
Co-authored-by: YANG-DB <[email protected]>

Signed-off-by: Lior Perry [email protected]
Signed-off-by: YANG-DB <[email protected]>
Signed-off-by: YANGDB <[email protected]>
Co-authored-by: YANG-DB <[email protected]>
add unit test for (Simple / Observability domains)
 - GQL to Ontology
 - Ontology to index provider
 - Index provider to Mapping

Generify RelationType & EntityType POJO's

Signed-off-by: YANGDB <[email protected]>
add GQL query to OQL query translation strategy components

Signed-off-by: YANGDB <[email protected]>
add Schema validation rules strategy

Signed-off-by: YANGDB <[email protected]>
add join_index_foreign mappingType
add EntitiesAndRelationships.md documentation

Signed-off-by: YANGDB <[email protected]>
add Schema-mapping.md tutorial document

Signed-off-by: YANGDB <[email protected]>
fix failing tests due to relationship index provider changes
add Id field for Author GQL type
call OntologyFinalizer after transformation from GQL schema

Signed-off-by: YANGDB <[email protected]>
@YANG-DB YANG-DB requested a review from Swiddis January 2, 2023 11:06
@YANG-DB YANG-DB self-assigned this Jan 2, 2023
@YANG-DB YANG-DB added documentation Improvements or additions to documentation enhancement New feature or request core core feature labels Jan 2, 2023
@YANG-DB YANG-DB merged commit 2bd857e into opensearch-project:main Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core core feature documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant