Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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
|
|
- 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>
|
|
- 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
|
|
- 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>
|
|
- 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
|
|
Issue-ID: AAI-4024
Change-Id: I0ac91e35b4510ac44c0c681dcc24f67c5c90db1b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
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>
|
|
- use WebTestClient in ModelDistributionTest
- add test for redistribution
Issue-ID: AAI-3977
Change-Id: I1db72bd9af50931a487e31576b2f14d21fc3b4c1
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
Issue-ID: AAI-3815
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I6d4acbbb38c7674656690978cc1e50106f0c15cf
|
|
- 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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
- 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>
|
|
- 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>
|
|
- 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>
|
|
|
|
|
|
Issue-ID: AAI-3597
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I62b183fe5b19a232b48623e26ba3be04433fbb4c
|
|
- add removeUnusedImports option to spotless
- update spotless plugin to latest version
Issue-ID: AAI-3596
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I2c4c4b71a9c6b1a719f171194c631a88c70c221e
|
|
Issue-ID: AAI-3595
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I848bd78338f9a8b15576e11718abbf64a1980663
|
|
- reduces the format violations from ~7000 to ~400
Issue-ID: AAI-3567
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I570805692bfbd3f80a43c0813831adcdb98016d4
|
|
- update mockito to version 2.4.0
- update eelf-core since it has a compile time dependency to mockito 1.10.19 in version 1
Issue-ID: AAI-3546
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I6ba724fe26b57e9a468bdeb89cadaa6f51e68634
|
|
Issue-ID: AAI-3528
Signed-off-by: Rommel Pawar <rommel.pawar@bell.ca>
Change-Id: I21022bd81c5cd9eed2dd841f96812855adebe528
|
|
Issue-ID: AAI-3489
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Id5b843284fa475ea9536ace9f07a6c3c7df78d7d
|
|
Issue-ID: AAI-3435
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: Ic631a118869421f388ceb1405eaf9ba1c172d3b1
|
|
- Fixed the issue regarding docker image dependencies https://gerrit.onap.org/r/c/aai/resources/+/123653
- Cleaned up pom file
Issue-ID: AAI-3324
Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com>
Change-Id: I0e068e33756bd0cb0e66a7e19594070ab821c4ef
|
|
configurable)
Issue-ID: AAI-3367
Signed-off-by: Dimple Soni <dimple.soni@yoppworks.com>"
Change-Id: I7879c7e6a5ae9b3a3943f4accceede0c7ba2ade0
|
|
Make the key metrics available to the monitoring system by
instrumenting the code.
The Key metrics are available via
/actuator/prometheus
/actuator/info
/actuator/health
Issue-ID: AAI-3343
Signed-off-by: Roger Yuan <roger.yuan@yoppworks.com>
Change-Id: I69f7eafb5105a04369526c70902ac7b676038c36
|
|
- The feature can be enabled by adding keycloak spring profile in application properties.
- Add keycloak springboot and spring security adapter to pom
- Exclude keycloak and spring security autoconfiguration in application properties
- Add keycloak application properties that is activated when keycloak profile used
- Add WebSecurityConfig to config authorization
Issue-ID: AAI-3129
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: Iaa086b4075c03237388a997274d01bf8b8114b4d
|
|
Replaced unsupported property
Issue-ID: AAI-2526
Signed-off-by: Igor Dysko <igor1.dysko@orange.com>
Change-Id: I98bde0863a4c473175f5f19c19f9b36d101a2ec1
|
|
Issue-ID: AAI-2965
Change-Id: I87737d2cfcf6b499af6083c2355042d66278e73c
Signed-off-by: LaMont, William (wl2432) <wl2432@att.com>
|
|
Update of code and dependencies, no changes in functionality
Issue-ID: AAI-2526
Signed-off-by: Igor Dysko <igor1.dysko@orange.com>
Change-Id: I62c1a5b5e8439f1a076b0507b3834a53bc084637
|
|
Issue-ID: AAI-2750
Change-Id: I33ea2b3d7b4b706edc59c3d45c9957d05effd306
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
|