summaryrefslogtreecommitdiffstats
path: root/src/main
AgeCommit message (Collapse)AuthorFilesLines
2018-06-07Add support for loading VNF Catalog XML filesmark.j.leonard10-206/+455
Issue-ID: AAI-1214 Change-Id: I5d0eb3456916e6f3e5ba3a9b4e828feaff0cde4e Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-06-06Refactor for Sonar smells and code coveragemark.j.leonard25-447/+640
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>
2018-06-06Remove deprecated AJSC configurationmark.j.leonard24-666/+0
Issue-ID: AAI-1206 Change-Id: Iffad6eb946bb8c63cf69bd2193d7518e733ea406 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-05-17Fix issue with VNFImage rollbackLee, Tian (tl5884)1-7/+2
Fix issue where VNFImage data UUID is being overwritten, causing rollback failures. Change-Id: I66fd9125f7806c74d80ede6d2f0d4c04d0756cc0 Issue-ID: AAI-1148 Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
2018-05-01Import Spring Boot Logging base resourcev1.2.0mark.j.leonard1-0/+1
Issue-ID: AAI-1110 Change-Id: Iab0ba2130e1131c938e0c9dbc7ba33cef8db75de Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-04-26Convert project from AJSC to Spring Bootmark.j.leonard50-869/+1066
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>
2018-04-18Remove dependency on org.powermock (PowerMockito)mark.j.leonard5-14/+54
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>
2018-04-09Fixes for properties filesJimmy Forsyth2-1/+1
Issue-ID: AAI-1016 Change-Id: Ic640254cb0f81d9a9a5d34120431249c03878891 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-04-09Fix error in ajsc-override-web.xmlsblimkie1-4/+4
Change-Id: I5e0175ef88e1e3c8b7d683cd772d51058b97b83a Issue-ID: AAI-987 Signed-off-by: sblimkie <steven.blimkie@amdocs.com>
2018-04-03Revisions made to the Model Loader to use BabelBlackwell, Ian (ib733q)61-5115/+3919
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>
2018-03-26Update license date and textSanchez, Gabriel (gs882h)25-251/+176
Update license data and disable license plugin Issue-ID: AAI-867 Change-Id: Ida91a4fc99b9d8ca65b15d6a7be1eaf097d0ae4f Signed-off-by: gabriel.sanchez <gabriel.sanchez@amdocs.com>
2018-01-17Merge "Sonar Major:Add the @Override annotation."Steven Blimkie1-1/+1
2018-01-17Merge "Sonar Major:Add the @Override annotation."Steven Blimkie1-4/+4
2018-01-17Merge "Sonar Major:Replace with the diamond operator ."Steven Blimkie1-1/+1
2018-01-17Merge "Sonar Major:Replace the type specification."Steven Blimkie1-2/+2
2018-01-17Merge "Sonar Major:Annotate the IModelParser interface."Steven Blimkie1-0/+1
2018-01-17Merge "Sonar Major:Replace the type specification."Steven Blimkie1-1/+1
2018-01-15Sonar Major:Replace the type specification.aishkashyap1-2/+2
Replace the type specification with the diamond operator. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#assignees=aishkashyap|resolved=false Location: src/mainn/java/org/onap/aai/modelloader/entity/model/ModelSorter.java Line No:136 Issue-ID: AAI-655 Change-Id: I1568a96c99992e38902ec7a53bb8b5f5a0acac5e Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-15Sonar Major:Replace with the diamond operator .aishkashyap1-1/+1
Replace the type specification with the diamond operator. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#assignees=__me__|resolved=false Location: src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java Line No:57 Issue-ID: AAI-654 Change-Id: I07f671f845a535a542c0742b26ed085bc9f3db67 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-15Sonar Major:Add the @Override annotation.aishkashyap1-4/+4
Add the @Override annotation above this method signature. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#assignees=__me__|resolved=false Location: src/main/java/org/onap/aai/modelloader/entity/model/ModelV8ArtifactParser.java Line No:55 Issue-ID: AAI-653 Change-Id: Iacf71ed6a80b986815c774ba057df727385f0745 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-15Sonar Major:Add the @Override annotation.aishkashyap1-1/+1
Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#resolved=false|assignees=aishkashyap Location: src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java Line No:75 Issue-ID: AAI-647 Change-Id: I2da826e5c3d825abf79d6452e006ac6196c5f73a Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-12Sonar Major:Replace the type specification.aishkashyap1-1/+1
Replace the type specification with the diamond operator. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#resolved=false|assignees=aishkashyap Location: src/main/java/org/onap/aai/modelloader/entity/model/AbstractModelArtifact.java Line No:39 Issue-ID: AAI-646 Change-Id: I704dfd58340402982f4063e94e80b58ff158c8da Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-12Sonar Major:Annotate the IModelParser interface.aishkashyap1-0/+1
Annotate the IModelParser interface with the @FunctionalInterface annotation. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#resolved=false|assigned=false Location: src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java Line No:30 Issue-ID: AAI-645 Change-Id: I0c65379ecde9f6b103bf17515bd9071213462fea Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-12Sonar Major: Replace the type specification.aishkashyap1-1/+1
Replace the type specification with the diamond operator. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#resolved=false|assigned=false Location: src/main/java/org/onap/aai/modelloader/entity/model/ModelArtifactHandler.java Line No:60 Issue-ID: AAI-643 Change-Id: I231689bbf52153a0c806d8ee267d28fd9e6287f0 Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2017-09-21Renaming openecomp to onapArul.Nambi14-33/+33
Issue-ID: AAI-208 Change-Id: I9029b292b051678bbddc2b80efd447ebc1c5b63a Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2017-09-13Renaming openecomp to onapArul.Nambi26-90/+87
Issue-ID: AAI-208 Change-Id: I559ba27fba96364c506730e8cbac05a9e6591694 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
2017-08-29Remove files containing ATT referencesDaniel Silverthorn2-56/+0
Issue ID: AAI-217 Change-Id: Id234071670d67c0fb540d95f99d7791859987bdd Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2017-08-21Remove OpenECOMP from license fileDaniel Silverthorn25-100/+125
Change-Id: I76110503a4f74f24bd8ba66c633e1a3cb13fef6a Issue-ID: AAI-86 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
2017-08-18Revert httpclient jar version change.Lee, Tian (tl5884)1-84/+84
- Add explicit dependency to version 4.5 instead Change-Id: Ic4491a8e0d5fe4baaf902c02c5df21b6130e23dc Issue-ID: AAI-192 Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
2017-08-17fix container exit w/o httpclient 4.4.1Brian Freeman1-1/+1
Change-Id: I8d44531a28d40de11c6b1f1ee17de8446cda2c68 Signed-off-by: Brian Freeman <bf1936@att.com> Issue-id: AAI-170 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-08-15[AAI-170 R1710] Upversion sdc-distribution-clientLee, Tian (tl5884)1-5/+14
- from 1.0.0 to 1.1.32-SNAPSHOT Change-Id: Iac775e7ae3378dcaeca717cdafde9a8472c24172 Signed-off-by: Lee, Tian (tl5884) <tianl@amdocs.com>
2017-06-27Allow handling of legact model artifactsBlimkie, Steven (sb787e)16-1219/+1842
Change-Id: I3d4c5e51140d4d05b3fd871d58c2590421c0e9db Signed-off-by: Blimkie, Steven (sb787e) <steven.blimkie@amdocs.com>
2017-06-09Configurable max heap size and PID fixabatos1-1/+2
Change-Id: I6e4ae9fd1c3e64e0d470c044ade0387045123f60 Signed-off-by: abatos <adrian.batos-parac@amdocs.com>
2017-05-17Ensure shutdown hook is called on docker stopBlimkie, Steven (sb787e)4-201/+187
Change-Id: I7f2165c6c4b8cfeb3d62c4a286b62f4e42dde449 Signed-off-by: Blimkie, Steven (sb787e) <steven.blimkie@amdocs.com>
2017-05-16[AAI-3] Remove dependency on SDCBlimkie, Steven (sb787e)7-1282/+1400
Change-Id: Iacdf8fb0dabdfe396f508dec3755ef1a2ea0210e Signed-off-by: Blimkie, Steven (sb787e) <steven.blimkie@amdocs.com>
2017-05-03Implement support for v10 model entities.Fraboni, Gino (gf403a)54-5652/+6080
Change-Id: Id2b42b70d7fe0ada6695ac9632b314f21ace193f Signed-off-by: Fraboni, Gino (gf403a) <gino.fraboni@amdocs.com>
2017-02-20Remove force update and ca certificatesVenkata Harish K Kajur1-1/+2
Change-Id: I632f208402250d23423e591d9fbf203bdda1275f Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-02-10Update Poms and TestsSteve Smokowski4-4/+64
Change-Id: If95a1f2188e4073725c50b7dbb1e03b1329b7e27 Signed-off-by: Steve Smokowski <ss835w@att.com>
2017-02-09Initial OpenECOMP A&AI Model Loader commitSteve Smokowski31-0/+5641
Change-Id: Iae343fa01ecc701919703fb7d61727555371321d Signed-off-by: Steve Smokowski <ss835w@att.com>