Age | Commit message (Collapse) | Author | Files | Lines |
|
- update spring boot from 2.3 to 2.4
- remove compile-time dependency on powermock introduced by eelf-core
- remove dependencyManagement declarations for powermock since it's not used anymore
Issue-ID: AAI-3725
Change-Id: I05a35e0cee80b27123f28bb8eeb8ed885c83a173
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- update to 2.3
- bump version of all submodules to 1.13.1-SNAPSHOT
Issue-ID: AAI-3724
Change-Id: Id089e27b236476907c4e7ca7e51d72b74d387d1c
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
|
|
- change beans to request scoped since the transaction handling inside it is not thread-safe
- bean injection in jersey is "request" scoped by default,
but in a spring web context it is "prototype"
- in the prototype scope, multiple threads could access the same HttpEntry
Issue-ID: AAI-3723
Change-Id: I083e3b06cdbe4491f22746033cdcc80aa48a2d1b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- update spring dependency to 2.2.13
- remove profile based switch between spring versions 1.5.22 and 2.1.12
- migrate testng based tests in aai-els-onap-logging to junit 4
- rely more on boms for dependencyManagement by removing separate declarations (of spring and jackson)
- resolve some build warnings by adding dependency + plugin versions
- resolve some build warnings by removing duplicate declarations of dependencies
- resolve build warning about ambiguous reference to JsonObject.addProperty()
Issue-ID: AAI-3711
Change-Id: I7559e90ffb65199ee46bc5b7cdf5d9e73b7d87bc
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- change is designed to not make any changes to the serialised objects [1]
- introduce common error response object that is used for both service and policy, xml + json format
- separate creation of error response and the marshalling of it
- increase test coverage
- use jackson object mappers for marshalling json and xml objects instead of custom MapperUtil
- make code more functional
- use more descriptive variable names
[1] only the internal representation changes to account for both
Service- and PolicyException
Issue-ID: AAI-3695
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I1e82bf4f0706704679d14aac98969fa00beed758
|
|
|
|
- make test cases independently runnable by removing shared state
- let method naming better reflect what is being tested
- assign commonly used objects on the class level when they are not modified in the test case
- parse error response object and assert error messages
Other:
- remove unnecessary saving in map in EdgeSerializer
Issue-ID: AAI-3658
Change-Id: I3b9704b8a6b6cfa6ecf4930dc3b1d1a7ce84764a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- assign variables closer to where they are used
- have a less complex validation logic
- rename related test cases to better understand what they are doing
- add further test cases (this would actually be better covered via a parameterized test)
- rename DBSerializer variable in test cases to better match whith the name of the type it's representing
Issue-ID: AAI-3657
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Id7976b0123c17178845db115c09b5c00d2361e6d
|
|
- declare variables closer to where they are used
- move more validation into the validatePath method
- increment the global index variable i in fewer places
Issue-ID: AAI-3656
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I64380b84370a362113bf64c4edff3d389ffb290e
|
|
Issue-ID: AAI-3655
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I26350e7279287c711f38194dbc1e8d302cf9a26d
|
|
|
|
|
|
Issue-ID: AAI-3589
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I9e32b879ee0d143a6b66e06d425bed7412139e58
|
|
Issue-ID: AAI-3586
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: If4affb02cfe40b4b82ecbdbb1a25d919d88be25c
|
|
Issue-ID: AAI-3585
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ic871d58bafb385737ecea6ea18c2fb589f4dc369
|
|
- run mvn spotless:apply across aai-commmon to remove unused imports
- run mvn formatter:format across aai-common
Issue-ID: AAI-3583
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I2dfeb395eafa2824ce8369bba3a18db3e1845522
|
|
Issue-ID: AAI-3553
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I2b79669b922a43d30b7d412bfd86f1506f6b4f6f
|
|
Issue-ID: AAI-3551
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ib68b6fb43044532abf39c1ac088ef969c5aa00c2
|
|
Issue-ID: AAI-3549
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: Ibb8edcd80fe3b112af0d113894122ce0b256006b
|
|
addInE and addOutE are deprecated since Gremlin 3.1.0.
Issue-ID: AAI-3534
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I4c4db97d8075e9c75b13ee206c27b8c01b5e0cf4
|
|
Issue-ID: AAI-3428
Signed-off-by: wr148d <wr148d@att.com>
Change-Id: I46def8946547ef522b8f16671c80138aa4737552
|
|
Issue-ID: AAI-3428
Change-Id: I1a75ce29981338edf28cff1f248066b3bee9e80d
Signed-off-by: wr148d <wr148d@att.com>
|
|
perisistence
Issue-ID: AAI-3428
Change-Id: Ib1a1235d44c1c0ddc767ad944eccafec7de618d1
Signed-off-by: wr148d <wr148d@att.com>
|
|
Issue-ID: AAI-3428
Change-Id: I514120be2e021e580e98cfe8a97689ec4598f523
Signed-off-by: wr148d <wr148d@att.com>
|
|
Issue-ID: AAI-3362
Signed-off-by: sliard <samuel.liard@gmail.com>
Change-Id: I365be3e8afe75b54f5a65deadb054df73857274e
|
|
Added DirtiesContext to URIToRelationshipObjectTest for successful test case execution.
Issue-ID: AAI-3318
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I53d9b031f93515fdec16fe3f7b0a580c8439b5b3
|
|
Issue-ID: AAI-3308
Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: I7d2d591928987b9f5f9465325fc1c4d03dee3db2
|
|
Issue-ID: AAI-3226
Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com>
Change-Id: I8222546e7264e99ca3e53fe1212a45008c1064e6
|
|
Issue-ID: AAI-3214
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I97e62e12f06938294d9969d21b4dcacae9d01d78
|
|
Issue-ID: AAI-3100
Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: I34fe77179efc5590f6e70b0bb2b97e7229f0adf3
|
|
Issue-ID: AAI-3184
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I3c8b3d33613c5345fc767fb03f1c4be79a321acc
|
|
- Use both E and both V to select owning entity
Issue-ID: AAI-3176
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I2e453dfd3c52c0de67981b8344434576fc514d0f
|
|
- Create side effect to check : user's groups contains pnf's owning entity name
- Create unit tests for side effect
- Add new process method in HttpEntry to pass set of groups
- Pass set of groups to db serializer
Issue-ID: AAI-3176
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I4bc7ab6e22bce8cbe60bd7ef6bb5db73dac3a1c4
|
|
Issue-ID: AAI-3105
Change-Id: I7b387c76009dba950aea0debf382f316c558d6ad
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: I1ba6fd929992699477502c46c1a5595a162d3209
Issue-ID: AAI-2902
|
|
Signed-off-by: Francis Toth <francis.toth@yoppworks.com>
Change-Id: Iea540bb663429d55ce90879f9d9a22888c583833
Issue-ID: AAI-2128
|
|
|
|
|
|
|
|
|
|
- check obj.isPresent() in method processInput
- return Optional.empty instead of null in method createPropertiesObject
Issue-ID: AAI-2934
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: Iebe0184ce39f244dd56e6861617cbf4e5dafb06c
|
|
- Removed all unchecked access to Optional.get()
- Renamed LOGGER to TREE_FORMAT_LOGGER, following Sonar's suggestion
Issue-ID: AAI-2931
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I7536309220f2dfb4b75ecbcd6b9e36797c5f1826
|
|
Issue-ID: AAI-2927
Change-Id: I8449e52a42fa7dcf8194680f5a2da5c2b6b6c439
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
|
|
- Made recurrent strings constant
- Refactored `createFilteredPropertyMap` to use a more functional approach
- Added test for the presence of Optional in `getPropertyFilteredObject` & `filterProperties`
Issue-ID: AAI-2926
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: I6078bd1d903d6739326ce7154cb83c1ded1e6b04
|