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-parent | |
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-parent')
-rw-r--r-- | aai-parent/pom.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/aai-parent/pom.xml b/aai-parent/pom.xml index de66d80e..84b79a4a 100644 --- a/aai-parent/pom.xml +++ b/aai-parent/pom.xml @@ -27,7 +27,7 @@ limitations under the License. <parent> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-common</artifactId> - <version>1.14.2-SNAPSHOT</version> + <version>1.14.3-SNAPSHOT</version> </parent> <artifactId>aai-parent</artifactId> <name>aai-parent</name> @@ -319,6 +319,15 @@ limitations under the License. <version>${janusgraph.version}</version> </dependency> + + <!-- https://docs.datastax.com/en/developer/java-driver/3.5/manual/metrics/index.html#metrics-4-compatibility --> + <!-- remove this for janusgraph >= 0.6.0 --> + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-core</artifactId> + <version>3.2.6</version> + </dependency> + <dependency> <groupId>org.janusgraph</groupId> <artifactId>janusgraph-cql</artifactId> |