Age | Commit message (Collapse) | Author | Files | Lines |
|
- introduce BabelArtifactService
- simplify babel http client by removing factory and https support
Issue-ID: AAI-3827
Change-Id: I5c004d342687c8aaa8f26927342752d472f05da3
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- add integration tests that assert the external communication towards other services using Wiremock
- remove tests that are asserting getters and setters of objects
Issue-ID: AAI-3826
Change-Id: I1f627801869f40cb0eaa61b10148b41bd3b1bdb8
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- registration of client was moved into separate config class in last change
- however registration in ModelController was not removed
Issue-ID: AAI-3824
Change-Id: Icad4211fb245d84fd369c75dd48de7f9a1ec1b20
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- move sdc-distribution-client instantiation out of the ModelController into a separate class
- add integration test with embedded kafka (not fully implemented)
Issue-ID: AAI-3818
Change-Id: I0b5dd118d9145372ddf123319b58829d0ef9275a
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- this reduces the test execution time, when test cases run into timouts
Issue-ID: AAI-3703
Change-Id: Ie683f55e5ce8d59b10d2788aea6933854dcb7e99
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- use more dependency injection
- make class variables final if possible
- simplify mock creation in some tests using @Mock
Issue-ID: AAI-3811
Change-Id: I7a7ccba02df78e6fd3bf082c23aac0968137661b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- rename ModelLoaderService to ModelController since it's a @RestController
- use dependency injection for depending classes
- make class as immutable as possible
Issue-ID: AAI-3806
Change-Id: I3b976f2c4ed3dba43e8696eb9f6e0d7575403963
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- update spring boot from 2.3.12 to 2.4.13 release
- migrate JUnit 4 to JUnit 5
- bump version to 1.13.5
Issue-ID: AAI-3788
Change-Id: I280dd09194dfb4c9810c01933fdd18ea7f3d03a9
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
|
|
- junit's assertThat was deprecated in favour of hamcrest
- apache-commons now requires a Charset argument
Issue-ID: AAI-3604
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I10bf46922e44b3a3adcc14eab6486401a5cf14e1
|
|
Signed-off-by: efiacor <fiachra.corcoran@est.tech>
Issue-ID: DMAAP-1800
Change-Id: Idcfa147dd07a18953972b85f38ec2d46ba3fc009
|
|
Issue-ID: AAI-3533
Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: I121263b0be39b13109782e0b5db02d3a36650d75
|
|
Issue-ID: AAI-3362
Signed-off-by: sliard <samuel.liard@gmail.com>
Change-Id: I46a41146fb69cf99e4bfaedc4a94807b025832af
|
|
Change-Id: I0e8b3f738777ab106d13fa826f0b40e3392a0f6b
Issue-ID: AAI-2539
Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
|
|
Address Sonar violation for the translate() method throwing multiple types
of checked Exception. Add a JUnit test case for this.
Change-Id: If3c18460895f8193c7b759da4537aad0a2cbf485
Issue-ID: AAI-2264
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Issue-ID: AAI-2263
Change-Id: I2510b7a2630918ffe17efbbf813c3e43b0b44d34
Signed-off-by: ed852m <ed.dening@amdocs.com>
|
|
Change-Id: I5c57fcc16a93881af5cdf33947967e0d7ef2dd33
Issue-ID: AAI-1997
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
|
|
Reformat to ONAP Java standards.
Rename GizmoTranslatorTest.java to Test*.java to match the existing
naming conventions. Remove duplicated test scaffolding from this file.
Change-Id: Ie8d5f7ea113d3d60d6222f66cd6740df7f9afca0
Issue-ID: AAI-1957
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Change-Id: I792e1a0db166ccab84f42a2d1beb92d7a630165b
Issue-ID: AAI-1957
Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
|
|
Change-Id: I5d56bf794c69381d03dda277afe4e110791b660a
Issue-ID: AAI-1606
Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
|
|
Remove the @Autowired annotation on the Babel Service Client and pass
this as a parameter so that Spring will inject the value.
This ensures that the EventCallback is not initialised with a null
value.
Issue-ID: AAI-1501
Change-Id: Ic1a66bf61afec4f707162acf323b83a8a48e8f28
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Issue-ID: AAI-1214
Change-Id: I5d0eb3456916e6f3e5ba3a9b4e828feaff0cde4e
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Various code formatting and style fixes (to address Sonar code smells).
Introduce a BabelServiceClientException to replace the use of the base
Exception class.
Make both the BabelServiceClient class and its Factory class use an
interface, to allow for Spring injection (using annotations) and for
simplified mocking.
Refactor the Notification Publishing by making this the responsibility
of the main Service classes and not the deployment manager.
Issue-ID: AAI-1207
Change-Id: I6bf8a504fa7b98e9158c9976fd1d88c6c54027c1
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Remove all AJSC configuration and dependencies. Update the pom.xml to
use oparent and to depend on Spring Boot. Refactor the main class to
introduce a minimal set of Spring annotations.
Note that the license text was corrected in this change.
Issue-ID: AAI-1039
Change-Id: I16385db3216ec39bfd2881f2278e340ec3795199
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Replace use of PowerMockito packages with the standard Mockito.
Create a BabelServiceClient Factory class to simplify mocking.
Remove duplicated "no mock" test classes that were not in fact free of
mocking. Add a dummy sample CSAR file for testing of artifact downloads.
Change-Id: Ib86f560e514e1efab0e2f732e494a032d555c7c3
Issue-ID: AAI-1049
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Change the Model Loader to use the Babel micro service.
Responsibility for transformation of ASDC TOSCA models,
the yaml files, has been moved from ASDC and placed into
the Bable microservice. Model Loader will forward any
CSAR received from ASDC and delegate transformation to
Babel. Babel will return the transformed TOSCA models
to Model Loader which will then ingest them into the
A&AI Inventory.
Issue-ID: AAI-987
Change-Id: I99594770b51b00cb7dcc0f30706060ae27cd94c5
Signed-off-by: Blackwell, Ian (ib733q) <IanB@amdocs.com>
|
|
Update license data and disable license plugin
Issue-ID: AAI-867
Change-Id: Ida91a4fc99b9d8ca65b15d6a7be1eaf097d0ae4f
Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
|
|
Add unit tests to notification and service packages
Issue-ID: AAI-501
Change-Id: Ia15090f2f5999d76e2c274d4dc3dca6408ead7db
Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
|
|
Issue-ID: AAI-208
Change-Id: I559ba27fba96364c506730e8cbac05a9e6591694
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
|
|
Change-Id: I76110503a4f74f24bd8ba66c633e1a3cb13fef6a
Issue-ID: AAI-86
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
|
|
Change-Id: I3d4c5e51140d4d05b3fd871d58c2590421c0e9db
Signed-off-by: Blimkie, Steven (sb787e) <steven.blimkie@amdocs.com>
|
|
Change-Id: Iacdf8fb0dabdfe396f508dec3755ef1a2ea0210e
Signed-off-by: Blimkie, Steven (sb787e) <steven.blimkie@amdocs.com>
|
|
Change-Id: Id2b42b70d7fe0ada6695ac9632b314f21ace193f
Signed-off-by: Fraboni, Gino (gf403a) <gino.fraboni@amdocs.com>
|
|
Change-Id: If95a1f2188e4073725c50b7dbb1e03b1329b7e27
Signed-off-by: Steve Smokowski <ss835w@att.com>
|
|
Change-Id: Iae343fa01ecc701919703fb7d61727555371321d
Signed-off-by: Steve Smokowski <ss835w@att.com>
|