Fiete Ostkamp [Fri, 22 Nov 2024 12:53:42 +0000 (13:53 +0100)]
Use GraphChecker from aai-common
Issue-ID: AAI-4069
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I52e5d412d038dd3e89091cbbcb4e0b23fefc6541
Fiete Ostkamp [Mon, 6 Jan 2025 07:55:13 +0000 (08:55 +0100)]
Release 1.15.4 image
- various dependency upgrades
Issue-ID: AAI-4093
Change-Id: I88ed6b4c8f490f456058bf7d4d14a3d1ff15df99
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 2 Jan 2025 13:16:10 +0000 (14:16 +0100)]
Use aai-common 1.15.4 in resources
- use aai-common 1.15.4 that contains dependency updates
- do not declare jnr-ffi as explicit dependency
since it is only used transitively
- change org.json dependency scope to test
- remove freemarker and hamcrest-junit dependencies since they are not used
Issue-ID: AAI-4094
Change-Id: I0c4fdee7d0f4ab2ae12dd92bb5b079bf3281054f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
vani.kv [Tue, 10 Dec 2024 11:35:59 +0000 (17:05 +0530)]
[AAI] Update aai-schema version to 1.12.7 in Resources
- Bump aai-schema pom version to 1.12.7
- Update aai-schema default version to v30
- Increase version to 1.15.4-SNAPSHOT
Issue-ID: AAI-4075
Change-Id: I29df327fdb8e4c7b4b2745b55fc0494102f9127b
Signed-off-by: vani.kv <vani.kv@accenture.com>
Fiete Ostkamp [Fri, 6 Dec 2024 12:50:54 +0000 (13:50 +0100)]
1.15.3 release
- includes aai-common update (1.15.2 -> 1.15.3)
Issue-ID: AAI-4076
Change-Id: I9e2e2c9cfd8a8532b893104655d72c44384a4384
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Fri, 6 Dec 2024 10:04:03 +0000 (11:04 +0100)]
Use 1.15.3 aai-common version
- change from snapshot to release version
Issue-ID: AAI-4080
Change-Id: Ie592b510870871383a450758c29a036250b28c63
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Fri, 22 Nov 2024 07:43:36 +0000 (08:43 +0100)]
Use 1.15.3-SNAPSHOT of aai-common
- upgrade spring-boot (2.6.15 -> 2.7.18)
- upgrade tinkerpop (3.7.1 -> 3.7.3)
- upgrade janusgraph (1.0.0 -> 1.0.1)
- remove eelf-core dependency
- remove aai logging-service dependency
Issue-ID: AAI-4068
Change-Id: I41a9956a4f8cf92ab05c284d1bbb8fa7106945c4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 21 Nov 2024 13:57:57 +0000 (14:57 +0100)]
Release 1.15.2 for resources
- rename LegacyMoxyConsumer to ResourcesController
and introduce ResourcesService
- refactor ResourcesController integration tests
- upgrade spring boot (2.5.15 -> 2.6.15)
- migrate aai-schema-ingest module to JUnit 5
- upgrade guava (31.1-jre -> 33.3.1-jre)
- exclude vulnerable rabbitmq dependency of janusgraph-core
- upgrade logback (1.2.3 + 1.2.7 -> 1.2.13)
Issue-ID: AAI-4064
Change-Id: I4a7d625c23f7864f630ab0585d9a740191c56f92
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 6 Nov 2024 14:49:13 +0000 (15:49 +0100)]
Use WebTestClient in tests - part 3
- make ResourcesControllerTest full integration test
- this later on allows declaring all supported api query params explicitly,
that are implicitly supported currently
- add new ResourcesControllerMockTest that asserts exception handling for internal server errors
- remove body arg from @GET annotated controller methods
Issue-ID: AAI-4039
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I4f2f31bbea4e5f0f19cb98ebc040472616e9eee0
Fiete Ostkamp [Fri, 8 Nov 2024 13:23:49 +0000 (14:23 +0100)]
Upgrade spring boot to 2.6
- upgrade spring-boot (2.5.15 -> 2.6.15)
- upgrade vulnerable guava (25 -> 33.3.1), janino (3.1.9 -> 3.1.12) and commons-configuration2 (2.0 -> 2.11.0) dependencies
Issue-ID: AAI-4048
Change-Id: I88fb4b9752bc05bdada5a8e4944b6cd0489383ce
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 6 Nov 2024 08:00:16 +0000 (09:00 +0100)]
Use WebTestClient in tests - part 2
- make ResourcesControllerTest full integration test
- this later on allows declaring all supported api query params explicitly,
that are implicitly supported currently
Issue-ID: AAI-4039
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I18dfb5cea2fcd1087e1721c59a711efa81069882
Fiete Ostkamp [Mon, 28 Oct 2024 08:19:36 +0000 (09:19 +0100)]
Use WebTestClient in ResourceController tests
- this tests e2e behaviour of controller
- assert error responses
Issue-ID: AAI-4039
Change-Id: If7dc32dec13399ad3502101d2b76fd79940cd34d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 22 Oct 2024 09:52:17 +0000 (11:52 +0200)]
Introduce ResourcesService
- move controller logic into ResourcesService [0]
[0] http-related classes and fields will be removed from this service,
once changes in the HttpEntry class are done
Issue-ID: AAI-4028
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I88f7c2a2336f4843cab5814670e60b7119a03faa
Fiete Ostkamp [Tue, 22 Oct 2024 08:56:11 +0000 (10:56 +0200)]
Rename LegacyMoxyConsumer to ResourcesController
Issue-ID: AAI-4024
Change-Id: I0ac91e35b4510ac44c0c681dcc24f67c5c90db1b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Nandkishor Patke [Thu, 17 Oct 2024 14:27:04 +0000 (14:27 +0000)]
Merge "Release 1.15.1"
Fiete Ostkamp [Thu, 17 Oct 2024 12:31:36 +0000 (14:31 +0200)]
Release 1.15.1
- cleanup notification logic to get rid of ActiveMQ
- remove activemq and jms related dependencies
Issue-ID: AAI-4019
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I17e3627bebe65ffa96444cfa1a6fe88395867ff7
Fiete Ostkamp [Thu, 17 Oct 2024 10:17:55 +0000 (12:17 +0200)]
Release 1.15.1
- cleanup notification logic to get rid of ActiveMQ
- remove activemq and jms related dependencies
Issue-ID: AAI-4019
Change-Id: I3670601d7d755ac2d675ca4be02273038dfd4cda
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 16 Oct 2024 10:06:15 +0000 (12:06 +0200)]
Make K6 scripts independently runnable
- define defaults in K6 scrips to make execution via k6 run <script.js> easier
- remove leftovers of AAF
Issue-ID: AAI-4018
Change-Id: I364002a76f1c6359024bdfadb8566c352c1bd76f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Sun, 13 Oct 2024 11:06:52 +0000 (13:06 +0200)]
Upgrade aai-common dependency to 1.15.1-SNAPSHOT
- get rid of ActiveMQ (which was part of the eventing)
- now really use Janusgraph 1.0
Issue-ID: AAI-4017
Change-Id: Icfe166b96bee5d2ffad3f3cd3d67e8a286424bfc
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Fri, 11 Oct 2024 12:29:35 +0000 (14:29 +0200)]
Release 1.15.0
- update Janusgraph (0.6.4 -> 1.0.0)
- update Tinkerpop (3.5.8 -> 3.7.1)
Issue-ID: AAI-4015
Change-Id: Ia6a4ba083a0ca0b985ef65b52488d0063d4ed4ad
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 9 Oct 2024 06:24:38 +0000 (08:24 +0200)]
Add K6 test for writing without relationships
- create test that writes pservers via the LegacyMoxyConsumer (not bulk)
Issue-ID: AAI-4013
Change-Id: I0fe4116ebc01ed4f8a5c0807113a08a2424d24ba
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Mon, 7 Oct 2024 09:26:38 +0000 (11:26 +0200)]
Update janusgraph to 1.0.0
- update Janusgraph (0.6.4 -> 1.0.0)
- update Tinkerpop (3.5.8 -> 3.7.1)
Issue-ID: AAI-3743
Change-Id: I20cfe7229b9e02bd8db54894082e25556dadc538
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Sat, 21 Sep 2024 19:41:29 +0000 (21:41 +0200)]
Migrate JAXB to jakarta
- change javax.* JAXB packages to jakarta.*
- bump snapshot version to 1.15.0-SNAPSHOT
Issue-ID: AAI-4005
Change-Id: I304328d2b8d2b943919f741f63b8842ac2ee126b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 19 Sep 2024 10:56:42 +0000 (12:56 +0200)]
Release 1.14.7 container image for resources
- use Java 11
- upgrade spring-boot (2.4.13 -> 2.5.15)
- fix vulnerabilities
Issue-ID: AAI-4002
Change-Id: Iba84266f74c5476254987af6310111158a1be3fd
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 17 Sep 2024 13:26:08 +0000 (15:26 +0200)]
Use Java 11 in resources
- update aai-common to 1.14.7
- change compiler and base image to Java 11
- do not use all schema versions in tests since that increases test duration
Issue-ID: AAI-3996
Change-Id: I2bb86c7ae0ad5bdce1784fdd1e64b3573723061b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 17 Sep 2024 06:36:31 +0000 (08:36 +0200)]
Update aai-common to 1.14.6 in resources
- upgrade spring-boot (2.4.13 -> 2.5.15)
- fix vulnerabilities
Issue-ID: AAI-3992
Change-Id: I161101a5e74b21494583c1c58c82d7d75351b348
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 27 Aug 2024 05:57:29 +0000 (07:57 +0200)]
Create request interceptor class to remove namespace attribute from xml request bodies
- add interceptor that removes xmlns attribute from xml bodies
- update eclipse persistence (2.6.2 -> 2.7.7)
- use spring-boot-starter-test instead of spring framework's spring-test
- bump snapshot version to 1.14.7-SNAPSHOT
- remove unused imports
Issue-ID: AAI-3976
Change-Id: Iac7103ae003cb7bb7269ada983af97e003be155c
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 27 Aug 2024 09:34:56 +0000 (11:34 +0200)]
Enhance ModelDistributionTest in resources to test redistribution
- use WebTestClient in ModelDistributionTest
- add test for redistribution
Issue-ID: AAI-3977
Change-Id: I1db72bd9af50931a487e31576b2f14d21fc3b4c1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 15 Aug 2024 11:09:58 +0000 (13:09 +0200)]
Release 1.14.6 resources docker artifact
- update Tinkerpop (3.5.0 -> 3.5.8), Janusgraph (0.6.0 -> 0.6.4)
- make echo liveness probe available under /actuator/health
Issue-ID: AAI-3968
Change-Id: I246995725f5b298e0f98c56ca23a9b790c1394c0
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 15 Aug 2024 06:03:43 +0000 (08:03 +0200)]
Update Janusgraph to 0.6.4 in resources
- update Tinkerpop (3.5.0 -> 3.5.8), Janusgraph (0.6.0 -> 0.6.4)
- declare cassandra-driver related deps in dependencyManagement [0]
- update spring-cloud dependencies (2020.0.2 -> 2020.0.6)
[0] since spring-boot would otherwise downgrade the driver version to a
(much) older version
Issue-ID: AAI-3966
Change-Id: Ic8d28ee0965a79aa83ec57a5de8dcc676d66dee5
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 13 Aug 2024 12:13:25 +0000 (14:13 +0200)]
Make echo liveness probe available under /actuator/health for resources
- implement spring's HealthIndicator interface to provide health probe based on AaiGraphChecker
- conditionally enable the probe when aai.actuator.echo.enabled=true
- increase snapshot version to 1.15.6-SNAPSHOT
Issue-ID: AAI-3959
Change-Id: Ie2b49ad1f3145285be844bb11aa8119a16fb68c9
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 6 Aug 2024 11:49:30 +0000 (13:49 +0200)]
Release 1.14.5 resources docker artifact
- update Janusgraph (0.5.3 -> 0.6.0)
Issue-ID: AAI-3947
Change-Id: I081ba8b6547a85dc84dfce07561f2f97afd56c9e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 6 Aug 2024 09:22:19 +0000 (11:22 +0200)]
stage-docker-release fails due to plugin issue
- do not remove full declaration of gmaven-plugin
Issue-ID: AAI-3946
Change-Id: I12d489bb4d4ff0f48155dde58172765828140a6c
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 9 Jul 2024 12:01:25 +0000 (14:01 +0200)]
Update Janusgraph to 0.6.0 in resources
- update Janusgraph (0.5.3 -> 0.6.0)
- remove all unused imports
- use full context scanning with @SpringBootApplication
Issue-ID: AAI-3927
Change-Id: I26af1f780c8463efbc0eb25255ecbf61261ab77d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
vani.kv [Mon, 29 Jul 2024 12:42:35 +0000 (18:12 +0530)]
[AAI] Update aai-schema version to 1.12.5 in pom of resources
- Update aai-schema version to 1.12.5 in pom of resources
Issue-ID: AAI-3935
Change-Id: Ica6c43442d955fd8cd868a60f293c100d5a83264
Signed-off-by: vani.kv <vani.kv@accenture.com>
Fiete Ostkamp [Tue, 18 Jun 2024 13:28:32 +0000 (15:28 +0200)]
Make LegacyMoxyConsumerTest a @SpringBootTest
- replace AAISetup with @SpringBootTest in LegacyMoxyConsumerTest
- introduce WebTestClient to more elegantly declare requests
- do not statically invoke AAIGraph.getInstance in some tests [1]
[1] If those tests are run individually, launching the graph will fail
since the spring context is not available then.
It works in the pipeline, since other tests run before that launch the context.
Issue-ID: AAI-3887
Change-Id: I075c1f94e0a519d5cfa760cc07e446a26549c699
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Fri, 5 Jul 2024 07:20:14 +0000 (09:20 +0200)]
Release 1.14.4 docker artifact of aai-resources
- use 1.14.4 release version of aai-common
- upgrade Janusgraph (0.5.0 -> 0.5.3)
Issue-ID: AAI-3923
Change-Id: I537769f5dfc7c3b5f97d39c6b9d6bf8d17e9442d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 4 Jul 2024 12:31:17 +0000 (14:31 +0200)]
Upgrade aai-resources to Janusgraph 0.5.3
- use 1.14.4 release version of aai-common
- upgrade Janusgraph (0.5.0 -> 0.5.3)
Issue-ID: AAI-3920
Change-Id: I64a2bc19fa4d4a7fe234bf3c01ced5ad2f104b33
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 3 Jul 2024 12:22:31 +0000 (14:22 +0200)]
Use 1.14.4-SNAPSHOT version of aai-common in aai-resources
- the new snapshot version contains the pagination fix
Issue-ID: AAI-3918
Change-Id: Id0d42389d0b983bf476b0d2338f6050ef37158ad
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Nandkishor Patke [Mon, 1 Jul 2024 16:38:53 +0000 (16:38 +0000)]
Merge "Use eclipse-temurin:8-jre-alpine docker base image in aai-resources"
Fiete Ostkamp [Mon, 1 Jul 2024 15:22:13 +0000 (17:22 +0200)]
Use eclipse-temurin:8-jre-alpine docker base image in aai-resources
- replace aai-common base image with plain java 8 jre
- remove custom folders and users to simplify setup
Issue-ID: AAI-3912
Change-Id: I248202b74133e0a71ff80bce560f27e147baf016
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Nandkishor Patke [Mon, 1 Jul 2024 11:36:57 +0000 (11:36 +0000)]
Merge "Release 1.14.3 docker artifact of aai-resources"
Fiete Ostkamp [Mon, 1 Jul 2024 11:16:12 +0000 (13:16 +0200)]
Release 1.14.3 docker artifact of aai-resources
- update Janusgraph to 0.5.0 + tinkerpop to 3.4.13
- leverage new pagination from aai-common that paginates in the graph, rather than the java code
- introduce new `includeTotalCount` parameter that allows disabling the total count for the page
- add performance test for the LegacyMoxyConsumer
Issue-ID: AAI-3905
Change-Id: Ic25dd3d1e12766ce5895575f6b81aa004ae60453
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Nandkishor Patke [Mon, 1 Jul 2024 09:41:08 +0000 (09:41 +0000)]
Merge "Use 1.14.3 release version of aai-common in aai-resources"
Fiete Ostkamp [Mon, 1 Jul 2024 08:37:01 +0000 (10:37 +0200)]
Use 1.14.3 release version of aai-common in aai-resources
Issue-ID: AAI-3907
Change-Id: I3a3223e73842a10a48f5ef65762b53456c14b01b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Nandkishor Patke [Fri, 28 Jun 2024 11:48:28 +0000 (11:48 +0000)]
Merge "Implement gremlin-based pagination in resources"
Fiete Ostkamp [Wed, 26 Jun 2024 12:25:42 +0000 (14:25 +0200)]
Implement gremlin-based pagination in resources
- update Janusgraph to 0.5.0 + tinkerpop to 3.4.13
- leverage new pagination from aai-common that paginates in the graph, rather than the java code
- introduce new `includeTotalCount` parameter that allows disabling the total count for the page
- remove meaningless javadoc comments
Issue-ID: AAI-3901
Change-Id: Ifca45e524b54f4978b5269361184813f4cfe5461
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Lukasz Rajewski [Tue, 25 Jun 2024 08:30:10 +0000 (08:30 +0000)]
Merge "Update aai-common to 1.14.2 in resources"
Fiete Ostkamp [Wed, 19 Jun 2024 09:02:38 +0000 (11:02 +0200)]
Update aai-common to 1.14.2 in resources
- contains janusgraph update 0.3.3 -> 0.4.0, tinkerpop 3.3.11 -> 3.4.0
Issue-ID: AAI-3890
Change-Id: I0b5c75bc3562912a5fc9f06d081e99ff5970c029
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 19 Jun 2024 11:06:14 +0000 (13:06 +0200)]
Add performance test for resources
- add a K6-based performance test
- exact thresholds are not important for now, it's rather meant to
assist development
Issue-ID: AAI-3892
Change-Id: I1387f97acaa593ae8be84a0782f42274b1b100a7
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 18 Jun 2024 07:14:37 +0000 (09:14 +0200)]
Release 1.14.1 resources docker artifact
- includes tinkerpop update from 3.3.0 to 3.3.11
- update guava from 18 to 25.0-jre
- resolve maven build warnings (undeclared dep versions, duplicate deps, reporting configuration)
Issue-ID: AAI-3884
Change-Id: Iaf6ac4b3558944addd858cad3d438e91e6565007
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Mon, 17 Jun 2024 07:23:54 +0000 (09:23 +0200)]
Update aai-common to 1.14.1 in resources
- includes tinkerpop update from 3.3.0 to 3.3.11
- update guava from 18 to 25.0-jre
- resolve maven build warnings (undeclared dep versions, duplicate deps, reporting configuration)
Issue-ID: AAI-3878
Change-Id: Ia04619eff77b13e77caddbe5483dfd944e75821e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Sun, 16 Jun 2024 07:46:49 +0000 (09:46 +0200)]
Release 1.14.0 resources docker artifact
- update to aai-common 1.14.0 that includes janusgraph update from 0.2.3 to 0.3.3
Issue-ID: AAI-3867
Change-Id: I419eef5e4ee1d382f10f094778742152ac7e0fe5
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 12 Jun 2024 11:25:23 +0000 (13:25 +0200)]
Update aai-common to 1.14.0
- update aai-common to 1.14.0 which contains Janusgraph update to 0.3.3
Issue-ID: AAI-3867
Change-Id: I37cd2faae01d486e887844243d9a346dc9bfa615
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 23 May 2024 14:14:13 +0000 (16:14 +0200)]
Refactor global exception handler
- extract similar code to methods
- return early
- bump snapshot version to 1.13.6
Issue-ID: AAI-3692
Change-Id: I2835a936c3bc60b8f14fd9014de46bdb2367a9fc
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Lukasz Rajewski [Thu, 23 May 2024 13:30:37 +0000 (13:30 +0000)]
Merge "Improve tests for exception handling"
Fiete Ostkamp [Thu, 23 May 2024 13:22:07 +0000 (15:22 +0200)]
Improve tests for exception handling
- add more assertions to ExceptionHandlerTest
- add class definitions for error responses to allow the usage of object mappers for that
Issue-ID: AAI-3691
Change-Id: I0a3f26c7f3a14bf536cc4f023b567aeb4191e963
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
nandkishorpatke [Wed, 22 May 2024 14:34:13 +0000 (20:04 +0530)]
[AAI] Release 1.13.5 docker artifact of resources
- Release docker artifact for v29 schema change
Issue-ID: AAI-3851
Change-Id: Iaebfdbe74c9e91d4fa83c0023236842df8172252
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
nandkishorpatke [Wed, 22 May 2024 12:57:46 +0000 (18:27 +0530)]
[AAI] Release 1.13.5 maven artifact of resources
- Release maven artifact for v29 schema changes
Issue-ID: AAI-3850
Change-Id: I2dffa6106b4448fb9ed13b651b67305798146418
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
nandkishorpatke [Wed, 22 May 2024 10:46:04 +0000 (16:16 +0530)]
[AAI] Bump aai-resources version to 1.13.5
Issue-ID: AAI-3843
Change-Id: I5e3f39bb0112fa618ccdd87b2347f6b31ca0f31e
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
nandkishorpatke [Wed, 22 May 2024 08:51:17 +0000 (14:21 +0530)]
[AAI] Update aai-schema version to 1.12.4 in resources
- AAI schema addition for 3GPP RAN Network Slice Subnet
- and Slice-Profile Attributes & FeasibilityCheckJob
- Bump aai-schema pom version to 1.12.4
- Update aai-schema default version to v29
Issue-ID: AAI-3843
Change-Id: I2dcf0141163792cdc9bfdcdd2f7b42dc44f4cb5a
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
Fiete Ostkamp [Wed, 15 May 2024 14:25:00 +0000 (16:25 +0200)]
Do not use an exception to communicate an ok response in the /echo endpoint
- do not use an AAIException to return a 200 OK response
Issue-ID: AAI-3847
Change-Id: I29b20bb408fa55d5a18ab4e1981d7c2c435410a4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Dasar [Mon, 15 Apr 2024 13:45:39 +0000 (19:15 +0530)]
Release 1.13.4 docker artifact of aai-resources
- create 1.13.4-container-release yaml file
Issue-ID: AAI-3793
Change-Id: I8bd3fffc6eae8ff9d356a94e908dae0f3ec00444
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
Dasar [Mon, 15 Apr 2024 10:13:09 +0000 (15:43 +0530)]
Release 1.13.4 maven artifact of aai-resources
- create 1.13.4-maven-release yaml file
Issue-ID: AAI-3793
Change-Id: I7114a317e4ac50005e782522ca5df8a08b5aa711
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
Dasar [Mon, 15 Apr 2024 06:29:01 +0000 (11:59 +0530)]
Update AAI-Resources SNAPSHOT version to 1.13.4
- Change AAI-Resources SNAPSHOT version from 1.13.3. to 1.13.4
Issue-ID: AAI-3793
Change-Id: I8ea8495b38e77e0c784d1685ee3ac3e801e5e5a7
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
Dasar [Fri, 12 Apr 2024 12:57:46 +0000 (18:27 +0530)]
Remove DMaaP dependency from AAI-Resources
- Remove DMaaP related references from AAI-resources and added kafka
related configuration
- Updated AAI-Common version from 1.13.3 to 1.13.6
Issue-ID: AAI-3793
Change-Id: If1e141a3ae71b0c053f68ec13387426d3687f9c0
Signed-off-by: Dasar <avinash.ganesh.dasar@accenture.com>
Fiete Ostkamp [Tue, 2 Apr 2024 07:52:44 +0000 (09:52 +0200)]
Migrate resources to Junit 5
Issue-ID: AAI-3815
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I6d4acbbb38c7674656690978cc1e50106f0c15cf
Fiete Ostkamp [Tue, 5 Mar 2024 08:24:51 +0000 (09:24 +0100)]
Release 1.13.3 docker artifact of resources
- update aai-common from 1.13.1 to 1.13.3 (includes tinkerpop 3.2.11)
- use up-to-date eclipse-temurin:8-jre-alpine base image
- make service runnible locally via mvn spring-boot:run
Issue-ID: AAI-3772
Change-Id: Icf7cc29a20cf99fec63d9b97ec6826e55e18161f
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 5 Mar 2024 07:52:57 +0000 (08:52 +0100)]
Release 1.13.3 maven artifact of resources
- update aai-common from 1.13.1 to 1.13.3 (includes tinkerpop 3.2.11)
- use up-to-date eclipse-temurin:8-jre-alpine base image
- make service runnible locally via mvn spring-boot:run
Issue-ID: AAI-3771
Change-Id: I1612be54822927ec3703be6f47141d6ddb70044e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 15 Feb 2024 09:00:26 +0000 (10:00 +0100)]
Make aai-resources runnable locally via mvn spring-boot:run
- make some property files ignorable
Issue-ID: AAI-3779
Change-Id: I79cf4c6f989f96d304b35c466221e957b94d3e81
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 8 Feb 2024 13:20:51 +0000 (14:20 +0100)]
Switch aai-common baseimage back to java 8
- downgrade base image to java 8 until aai-common is compatible with java 11
Issue-ID: AAI-3766
Change-Id: Ie6c1f8e4caf77f2bd0d9be2cee1d4d8ffa6fb69a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 8 Feb 2024 12:29:52 +0000 (13:29 +0100)]
Update aai-common-alpine base image in resources
- update to latest aai-common-alpine image that is now based on eclipse-temurin:8-jre-alpine
Issue-ID: AAI-3662
Change-Id: Ic807e5eb5e412d3511d7b7bf7adf8b0851c4cf9d
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 6 Feb 2024 12:43:38 +0000 (13:43 +0100)]
Bump version.properties to 1.13.3
Issue-ID: AAI-3767
Change-Id: If005e609c6184cd4928209bec5820ae59256dda9
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Tue, 6 Feb 2024 08:34:13 +0000 (09:34 +0100)]
Change resources to 1.13.X-SNAPSHOT again
- change resources version to SNAPSHOT since publishing snapshot releases would not work otherwise
Issue-ID: AAI-3763
Change-Id: I980986f6cbad4334a9a18b68db304fd46c1c3053
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Mon, 5 Feb 2024 16:29:33 +0000 (17:29 +0100)]
Update aai-common to 1.13.3 in resources
- update to 1.13.3 that contains fix for TraversalURIOptimizedQuery building
- disable tracing in tests
- disable log lines for schema generation in tests
Issue-ID: AAI-3761
Change-Id: Ifbe1a4ca716e73c1722c1368dc55719b23fe101a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Mon, 29 Jan 2024 18:56:58 +0000 (19:56 +0100)]
Release 1.13.1 docker artifact of resources
- release 1.13.1 maven and docker artifacts
- bump version to 1.13.2
Issue-ID: AAI-3754
Change-Id: I860df00c1fecbdee69e14eb116bc3e1aba7fecea
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Mon, 29 Jan 2024 20:10:28 +0000 (21:10 +0100)]
Release 1.13.1 maven artifact of resources
Issue-ID: AAI-3756
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic8d08d511d0464345874f995cd962dcc1b0324e7
Fiete Ostkamp [Mon, 29 Jan 2024 17:17:21 +0000 (17:17 +0000)]
Merge "Revert "Update aai-common-alpine base image in resources""
Fiete Ostkamp [Mon, 29 Jan 2024 17:11:14 +0000 (17:11 +0000)]
Revert "Update aai-common-alpine base image in resources"
This reverts commit
ce788a66989590a2fd1291390fb2f6489cc38e7c.
Reason for revert: image versions > 1.6.0 are based on Java 11
Issue-ID: AAI-3662
Change-Id: If46b24913e86d7ed0db4347211817052c8a1d1e5
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Lukasz Rajewski [Fri, 26 Jan 2024 12:10:38 +0000 (12:10 +0000)]
Merge "Update aai-common-alpine base image in resources"
Fiete Ostkamp [Fri, 19 Jan 2024 10:12:59 +0000 (11:12 +0100)]
Upgrade aai-common dependency to 1.13.1 in resources
- upgrade aai-common dependency from 1.13.0 to 1.13.1
- bump version to 1.13.1
Issue-ID: AAI-3733
Change-Id: Ifddadaf916da63f2dada25c71d01618f2bf10e8b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Mon, 16 Oct 2023 07:59:14 +0000 (09:59 +0200)]
Update aai-common-alpine base image in resources
- update [aai-common-alpine](https://hub.docker.com/r/onap/aai-common-alpine/tags) base image from 1.6.0 to 1.9.6
- add README-instructions for building the docker image
Issue-ID: AAI-3662
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic0f1993520b95f435543e12ac7b332fb4f4d5f94
wr148d [Fri, 12 Jan 2024 15:29:19 +0000 (10:29 -0500)]
[AAI] Promote Fiete Ostkamp and Nandkishor Patke to AAI Contributors
Issue-ID: AAI-3729
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ib5b50e8f8242effb60dffd3c56754258e03f7b44
Michal Jagiello [Fri, 12 Jan 2024 13:26:59 +0000 (14:26 +0100)]
[AAI] Release 1.13.0 docker artifacts
Create release file for docker container of aai-resources
Issue-ID: AAI-3722
Change-Id: Ia2ff724614172eb6d8138d7f8dbf3334ef5af3f8
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Michal Jagiello [Fri, 12 Jan 2024 13:11:51 +0000 (14:11 +0100)]
[AAI] Release 1.13.0 version maven artifact
Create release files for maven artifacts of aai-resources
Issue-ID: AAI-3722
Change-Id: I3ee2f401ce4105853e6cdaca6c137bfc0ec05da6
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Michal Jagiello [Thu, 11 Jan 2024 08:21:38 +0000 (09:21 +0100)]
Create aai-resources 1.13.0 version
Version with fix of an issue with missing bulk operation index on request body parsing error
Issue-ID: AAI-3722
Change-Id: I2faaf901fb063a9ea04cac2c8308fdc749b2ee52
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Michal Jagiello [Tue, 9 Jan 2024 18:28:36 +0000 (19:28 +0100)]
Return an index of invalid bulk operation if there are missing parameters on request
Catch AAIException on AAI Bulk poplulateIntrospectors method to prepare an exception body with failing operation number.
Issue-ID: AAI-3722
Change-Id: I38b2e1c802ae7f2843cda5c188365890a86f65af
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Fiete Ostkamp [Wed, 27 Dec 2023 15:58:34 +0000 (16:58 +0100)]
Update aai-common dependency in resources
- update aai-common version to 1.11.0
Issue-ID: AAI-3698
Change-Id: Id0bfd0ee8d54f2350e6d4eaccbc0789c733c6ad3
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
nandkishorpatke [Wed, 15 Nov 2023 10:46:42 +0000 (16:16 +0530)]
[AAI] Release aai-resources 1.12.3 docker artifact
- Release aai-resource 1.12.3 docker artifact
Issue-ID: AAI-3677
Change-Id: I1ff8b56c17cb0077d7cc8a80b05a1914897658e3
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
nandkishorpatke [Wed, 15 Nov 2023 10:08:28 +0000 (15:38 +0530)]
[AAI] Release aai-resources 1.12.3 maven artifact
- Release aai-resources maven artifact
Issue-ID: AAI-3677
Change-Id: I7117dec8a17dba5f61fd1dc576da2eead7f701a3
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
nandkishorpatke [Wed, 15 Nov 2023 09:16:25 +0000 (14:46 +0530)]
[AAI] Up-version aai-resources to 1.12.3 for release
- Updated version for aai-schema to 1.12.3
- Updated version of aai-resources to 1.12.3
Issue-ID: AAI-3677
Change-Id: Ifd31ba1461d126f121efcfe7fdc69e6cb563340f
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
nandkishorpatke [Wed, 15 Nov 2023 07:32:21 +0000 (13:02 +0530)]
[AAI] Update aai-schema version into v28 for cell and neighbour attributes
- Update aai-schema pom version into 1.12.3
- Update aai-schema default version to v28
Issue-ID: AAI-3663
Change-Id: I06f3e7158c94dd1214a122a7d4eb7f88594f49f5
Signed-off-by: nandkishorpatke <nandkishor-laxman.patke@t-systems.com>
Lukasz Rajewski [Tue, 7 Nov 2023 16:21:42 +0000 (16:21 +0000)]
Merge "Add spring-cloud-sleuth for tracing"
Fiete Ostkamp [Tue, 7 Nov 2023 13:16:24 +0000 (14:16 +0100)]
Model distribution from model-loader is failing with resources service version >= 1.12.1
- pin eclipse.persistence version to last-working 2.6.2
- add test case to validate correct behaviour
- make api-version related assertions in LegacyMoxyConsumerTest dynamic based on default api version
Issue-ID: AAI-3675
Change-Id: I655ed28b1d0a6f94c788d68ff2d05ba9f30c4793
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 2 Nov 2023 07:37:11 +0000 (08:37 +0100)]
Change default logback config to write to stdout
- write to stdout instead of to *.log files [1]
- do not version the .classpath in git
[1] This change only has an impact on local development (especially when run in docker containers),
since the logback.xml is [fully overwritten anyways via OOM](https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/aai/components/aai-resources/resources/config/logback.xml;h=
b52318500d1327d4756bea937e79d68b79e733e8;hb=HEAD)
Issue-ID: AAI-3671
Change-Id: Ifb4b7b60a2bf7aa22210210fdbcbc05044c59e8b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 19 Oct 2023 12:03:59 +0000 (14:03 +0200)]
Add spring-cloud-sleuth for tracing
- add tracing dependency
- configure both b3 and w3c trace propagation formats to have interoperability between spring-boot 2 (sleuth) and spring-boot 3 (micrometer) tracing
Issue-ID: AAI-3668
Change-Id: I429247444715186be562d009f0d6a6f6ede7e1c3
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Thu, 19 Oct 2023 09:54:55 +0000 (11:54 +0200)]
Upgrade spring-boot to 2.4
- update spring-boot to latest available 2.4.X release
- Content-Type's on GET requests now result in 415 (instead of being ignored) which necessitates changes to the ConfigurationTest
Issue-ID: AAI-3667
Change-Id: If6cbce8185b443a79b5e3b32fa3ffede5cabee60
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 18 Oct 2023 13:28:34 +0000 (15:28 +0200)]
Update spring-boot to 2.3
- update spring-boot to latest 2.3.X release
- replace deprecated property distribution.sla with distribution.slo
Issue-ID: AAI-3666
Change-Id: I4d3fcebf7360e1c21cbde7d45c709483a0bdce5b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fiete Ostkamp [Wed, 18 Oct 2023 12:29:59 +0000 (14:29 +0200)]
Update spring-boot to 2.2
- update spring-boot to latest available 2.2.X release
- pom inheritance via aai-parent pom makes it necessary to also explicitly specify spring framework versions
- replace deprecations around Profiles
Issue-ID: AAI-3665
Change-Id: I74b22a76ef14217b888ae6bb12cb83d86f9e4241
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Aleem Raja [Tue, 11 Jul 2023 08:22:14 +0000 (08:22 +0000)]
[AAI]Release resources 1.12.1 docker artifact for London
Issue-ID: AAI-3653
Change-Id: I6e7d090c599667454a4468fc7b842306137a301a
Signed-off-by: Aleem Raja <aleem.raja@t-systems.com>