diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-06-20 15:24:32 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-06-26 10:36:08 +0200 |
commit | bdcbdc723dfb3cd4c29fa3cdbe76ceb0df2a8033 (patch) | |
tree | 7ffe9ff48891be483d7524e84def321359b92e2b /aai-schema-ingest | |
parent | c7e67a1cc3557db51f6510769b109ca347e862f0 (diff) |
Add gremlin-based pagination to aai-common
- enhance query building to support gremlin-based pagination
- pagination is supported in two variants: with and without the total count of elements [1]
- enhance query building to support gremlin-based sorting
- add query logging that is currently disabled
[1] due to the design of gremlin, including the total count results in a full graph scan.
As such there is the option to not include it, which should make it (much) faster for the first pages that are returned.
Issue-ID: AAI-3893
Change-Id: I6bc0c9b9f398556cc41a0a8f82e24e50c85e5690
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-schema-ingest')
-rw-r--r-- | aai-schema-ingest/.classpath | 6 | ||||
-rw-r--r-- | aai-schema-ingest/pom.xml | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/aai-schema-ingest/.classpath b/aai-schema-ingest/.classpath index 25ba983c..5811926a 100644 --- a/aai-schema-ingest/.classpath +++ b/aai-schema-ingest/.classpath @@ -39,11 +39,17 @@ <classpathentry kind="src" path="target/generated-sources/annotations"> <attributes> <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + <attribute name="ignore_optional_problems" value="true"/> + <attribute name="m2e-apt" value="true"/> </attributes> </classpathentry> <classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations"> <attributes> <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + <attribute name="ignore_optional_problems" value="true"/> + <attribute name="m2e-apt" value="true"/> <attribute name="test" value="true"/> </attributes> </classpathentry> diff --git a/aai-schema-ingest/pom.xml b/aai-schema-ingest/pom.xml index 6f049dd5..4ee8226e 100644 --- a/aai-schema-ingest/pom.xml +++ b/aai-schema-ingest/pom.xml @@ -26,7 +26,7 @@ limitations under the License. <parent> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-parent</artifactId> - <version>1.14.2-SNAPSHOT</version> + <version>1.14.3-SNAPSHOT</version> <relativePath>../aai-parent/pom.xml</relativePath> </parent> <artifactId>aai-schema-ingest</artifactId> |