aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-31Upversion to 1.6.36.0.0-ONAPfrankfurtJimmy Forsyth2-2/+2
Issue-ID: AAI-2580 Change-Id: Ic958cf275dc7ddfff4dc6712ce7afeee446d89bd Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-03-31Release 1.6.2 containerJimmy Forsyth1-0/+7
Issue-ID: AAI-2580 Change-Id: I24fbc7567b3c140e2eea1152d36fe0a64af2476d Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-03-31Release 1.6.2 artifactsJimmy Forsyth1-0/+4
Issue-ID: AAI-2850 Change-Id: I087a020555841a4e9eafd5f30158af850eb10f86 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-03-30Upversion to 1.6.2Jimmy Forsyth2-2/+2
Issue-ID: AAI-2850 Change-Id: Ic0c0a616293171b6e244f012a22e927ab22c3472 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-03-23Use aai-schema-service:1.6.6Jimmy Forsyth1-1/+1
Issue-ID: AAI-2839 Change-Id: Ia3232b67e13c81d60db59b197fbc7c48f0ffc076 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2020-02-14Update for sonarcloud.ioForsyth, James (jf2512)1-34/+159
Issue-ID: AAI-2793 Signed-off-by: Forsyth, James (jf2512) <jf2512@att.com> Change-Id: I42c7e869a12651ca09a9631ae928af4f9a3065ce
2020-01-17Release artifactsForsyth, James (jf2512)1-0/+4
Issue-ID: AAI-2757 Signed-off-by: Forsyth, James (jf2512) <jf2512@att.com> Change-Id: Ie424205a407fa7fde3958d0b7435d3baa4e59851
2020-01-17Release containerForsyth, James (jf2512)1-0/+7
Issue-ID: AAI-2758 Signed-off-by: Forsyth, James (jf2512) <jf2512@att.com> Change-Id: I5a9ac4ee2cef49aadf3850ffe8053b7dc7abc38d
2020-01-17Upversion to 1.6.11.6.1Forsyth, James (jf2512)2-2/+2
Issue-ID: AAI-2757 Signed-off-by: Forsyth, James (jf2512) <jf2512@att.com> Change-Id: Iecc97358ad8cdb94960c426c88f4815481bd22cd
2019-11-21Update schema-service dep to 1.6.0sblimkie19-19/+19
Change-Id: Idfabac878db11ccde4859ee04bdf45b560460a88 Signed-off-by: sblimkie <steven.blimkie@amdocs.com> Issue-ID: AAI-2607
2019-10-03Enforce minimum Jacoco line coverageLee, Tian (tl5884)1-459/+492
Current coverage at 97%, enforced limit set to 90% Change-Id: Ib6ad68dc5b72c2c76d02b42e18943b79400968a6 Issue-ID: AAI-2363 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-08-28Fixed project version parsingDmitry Puzikov5-386/+711
Fixed pom.xml to execute vesion parsing earlier. Change-Id: Ic5f2c1c304ab025cbac93d5177776c17a8ff803b Issue-ID: INT-801 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-08-13Upversion babel in masterJimmy Forsyth2-2/+2
Issue-ID: AAI-2579 Change-Id: Iefe4ab17ab71fd6e50e1148befc6ebb786c12853 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-07-30Upgrade Spring Boot from 1.5.x to 2.1.6Lee, Tian (tl5884)4-13/+13
Changes required to upgrade Babel to latest Spring Boot version. This changelist is dependent on https://gerrit.onap.org/r/c/aai/oom/+/92293 Issue-ID: AAI-2540 Change-Id: I804b80506514d274249fa4eae36392793cb737fb Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-06-27Prepare babel for global-jjbJimmy Forsyth1-1/+1
Issue-ID: AAI-2477 Change-Id: I19ee7cc0bc5f28954eafa591b380db755a3ed635 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-06-14Upversion in preparation of initial releaseJimmy Forsyth2-4/+4
Issue-ID: AAI-2477 Change-Id: I476c3e329bb8ae247b3850d96c0f5b71da1cd190 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-01Upversion prior to release4.0.0-ONAP1.4.2dublinJimmy Forsyth2-2/+2
Issue-ID: AAI-2403 Change-Id: Ib10dbb984fb1d24252adcb4975707fc91d2379b2 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-01Update to latest version of schema-serviceJimmy Forsyth1-2/+2
Update to TOSCA Parser 1.5.1 Issue-ID: AAI-2402 Issue-ID: AAI-2169 Change-Id: I13152cecf7e8e6de2e7add5c0f829d769a35dd20 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-15Roll back springboot upgrade1.4.1Jimmy Forsyth1-1/+1
Issue-ID: AAI-2378 Change-Id: I39447e84938a928432b95783b0ed4ebd729cf668 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-11Updated version.propertiesPolavarapu, Chaitanya (cp8128)1-1/+1
Updated to match with pom.xml snapshot version Issue-ID: AAI-2338 Change-Id: Ief05d895de8cbe5eff7e8bc9705d691b660dcbb0 Signed-off-by: Polavarapu, Chaitanya (cp8128) <cp8128@att.com>
2019-04-11Updated to use dublin schema versionPolavarapu, Chaitanya (cp8128)5-13/+77
Using 1.0.2 schema-service version Fixed the junit test failure for default service version Issue-ID: AAI-2338 Change-Id: Ie0ddda41f6895ff0ce8e97ad065fb935462e643a Signed-off-by: Polavarapu, Chaitanya (cp8128) <cp8128@att.com>
2019-04-10This enhancement will enable Babel to process artifacts of version n.nPolavarapu, Chaitanya (cp8128)20-26/+28
Issue-ID: AAI-2338 Change-Id: I829ba56aa09ac1d98a8c9d27fabb85d95d571534 Signed-off-by: Polavarapu, Chaitanya (cp8128) <cp8128@att.com>
2019-04-09Merge "Upgrade to springboot 1.5.20.RELEASE"Steven Blimkie1-1/+1
2019-04-09Upgrade to springboot 1.5.20.RELEASEJimmy Forsyth1-1/+1
Issue-ID: AAI-2349 Change-Id: I2762773f1bde721b0b18a73e6e5ccec54bae6541 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-03GenerateArtifactsServiceImpl code coveragemark.j.leonard3-26/+115
Additional tests for coverage of the generateArtifacts() implementation. Replace use of the generic Exception by catching only the specific types of Exception thrown by the parser/generators. Modify existing tests to ensure that each branch is covered. Change-Id: Id35e8a4a51b785f0367ac04a31ed23226cdb4810 Issue-ID: AAI-2280 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-04-03Fix new Sonar code smellmark.j.leonard2-2/+2
Log the Exception for missing software versions to prevent a Sonar violation. Change-Id: I1a5da4357947a57c05f2d4a40b788999149d543c Issue-ID: AAI-2281 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-04-03Delete temp file in FileWatcher testmark.j.leonard2-2/+3
Ensure the temporary file is deleted after the test completes. Change-Id: I25fbab4c28d9489df0ed9b6cb74a068873aa9854 Issue-ID: AAI-2280 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-04-03Add tests for uncovered FileWatcher codemark.j.leonard3-14/+130
Move the onChange() method so that it can be tested. Change-Id: I8a011ae581a16cf31e9573e6d4c9b2fa1c858b8a Issue-ID: AAI-2280 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-04-03Merge "Move REQUIRE_CLIENT_AUTH code to start script"Tian Lee5-17/+32
2019-04-03Move REQUIRE_CLIENT_AUTH code to start scriptmark.j.leonard5-17/+32
Move the conversion from the REQUIRE_CLIENT_AUTH env variable to the Spring setting server.ssl.client-auth out of the Java code and in to the start script. This declutters the code and exposes this setting. Refactor the code for readability: have Jetty deobfuscate the password string for us rather than manually detecting the "OBF:" prefix. Also fix a typo (spelling mistake). Change-Id: Ic670c04f97f59e06e48ca2cf4d7a0188020b3eaa Issue-ID: AAI-2280 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-04-02Merge "Additional Logger tests for code coverage"Tian Lee2-6/+56
2019-04-02Additional Logger tests for code coverageMark Leonard2-6/+56
Change-Id: Ib94fc61ae43d59a32fba19363b06dc7aed5a96bc Issue-ID: AAI-2280 Signed-off-by: Mark Leonard <mark.j.leonard@gmail.com>
2019-04-01Exception handling for image software versionsmark.j.leonard3-12/+45
Throw an exception when no software versions are present for a VNF image. This needs to be an unchecked exception when using Streams. Change-Id: If7a429c79a614eed1dad6ed8ac1993caca47ab6d Issue-ID: AAI-2306 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-29Additional null checks and commentsmark.j.leonard8-45/+68
Add defensive coding to check for possible null pointer values, thus preventing certain potential runtime exceptions. Fix some minor spelling inconsistencies. Refactor some method signatures and update the Javadoc. Reformat Resource toString() method to avoid lengthy String concatenation and duplicated separators. Change-Id: I4b01eb844700e00d0c909bcc5fa2dbc91d5149e4 Issue-ID: AAI-2281 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-28Use checked Exception instead of RuntimeExceptionmark.j.leonard2-17/+34
Replace IllegalArgumentException with XmlArtifactGenerationException in the ArtifactGeneratorToscaParser method processResourceModels(). Add comments to explain the processing. Change-Id: Icf401ae22ebe26d687fc58c33743582c9c9e576e Issue-ID: AAI-2281 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-28Depend on sdc-tosca version 1.5.0mark.j.leonard6-39/+174
Replace the following deprecated API methods with equivalent functions: getGroupsOfOriginOfNodeTemplate() getNodeTemplateCustomizationUuid() getNodeTemplateChildren() getServiceVfList() getMembersOfVfModule() getVfModulesByVf() Create a helper class and move the remaining deprecated API calls into a single Java file for ease of maintenance. Change-Id: Icb08b2d66a34b0a3e717adb49f2d62e8f2e2ddb5 Issue-ID: AAI-2294 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-28Change generic-vnf delete flag to truemark.j.leonard2-2/+2
Alter the test values for the generic-vnf Widget Type to match the actual configured values used in historic deployments of the Babel Service. The test values will then be aligned to the actual run-time values thus avoiding any confusion caused by the disparity. Issue-ID: AAI-2292 Change-Id: Ia8bef2e31d62027c4edb636a78c8cde93da6638b Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-28Remove all references to artifactgenerator configmark.j.leonard15-126/+16
Delete the artifact-generator.properties file. Remove all related functionality from the code. Change-Id: I652d99b6424bb60af5820f5afb97ef139e3f9511 Issue-ID: AAI-2284 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-26Allow UUID definitions in the mappings JSONmark.j.leonard8-530/+95
Add support for reading the Widget invariant and version UUIDs from the TOSCA mappings JSON. In this commit the artifact-generator.properties is also read and used to provide default values. This step prevents any existing deployments (e.g. automated test integration) from failing. The redundant properties file will be deprecated in a future commit, only when the JSON configuration has been updated. Also remove two unused Java files to help with coverage stats. Change-Id: Idc82e28092a2b028214225c7974db411c9f8a173 Issue-ID: AAI-2284 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-25Refactor Widget creation methodsmark.j.leonard10-78/+153
Rename getWidget() to createWidget() to indicate that a new Object is created. Add a method to create a Widget from the String representation of its type. Change-Id: I430acf02ea67c7b730e28e79887f8fbdb18feb42 Issue-ID: AAI-2281 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-25Additional JUnit tests for Model classesmark.j.leonard7-26/+112
Increase code coverage for Model and Service Change-Id: I02430f470cfa6497535a372a0b18be8678279270 Issue-ID: AAI-2280 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-25Improve javadoc comments and formattingmark.j.leonard8-40/+63
Issue-ID: AAI-2281 Change-Id: I0f5cce16ce76113b1fee603ad3c191cb6f9fe80f Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-25Add hasWidgetType() helper methodmark.j.leonard7-18/+41
Replace getWidgetType() == WidgetType.valueOf("type") with hasWidgetType("type") for improved readability. Change-Id: Id51bed7c4cb9ce38799bf3ff34301c8feb664922 Issue-ID: AAI-2281 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-22Simplify VNF Vendor Image extractionmark.j.leonard2-124/+93
Refactoring of the software version extraction routines to reduce complexity. Pass the NodeTemplates directly to the extractSoftwareVersions() method and move the exception handling up the calling stack. Remove the creation/usage of an intermediate Pair object. Query for the Service VF list once only. Use Streams rather than converting from Stream to List and back. This change will simplify future work: either to convert sdc-tosca API methods (that will be deprecated), or to use an alternative parser. Change-Id: I745ced9e6095f389ee1bede37e8480dfaf65716a Issue-ID: AAI-2281 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-22New JUnit tests for Babel auth modulemark.j.leonard2-19/+118
Increase code coverage Change-Id: I7eb50720fb20ce44ff87c0011e784a77606cf9ff Issue-ID: AAI-2280 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-21Create new Resource objects for each new modelmark.j.leonard2-2/+19
When creating multiple Resources of the same type, ensure that each Resource has a new Java Object: follow the same pattern as used for Widget types. Change-Id: I1e41d3258a3ccdad91448234ae3cf40235d7b210 Issue-ID: AAI-2267 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-20Merge "Upversion Spring-Boot to 1.5.19.RELEASE"James Forsyth1-1/+1
2019-03-19Upversion Spring-Boot to 1.5.19.RELEASELee, Tian (tl5884)1-1/+1
Change-Id: I15591a0bac5849e7c1185261fcc6c765dc2d4baa Issue-ID: AAI-2255 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-03-14Add Eclipse files to .gitignoremark.j.leonard1-0/+3
Also add appconfig-local/ which is the local testing configuration folder passed to Spring Boot as specified in the pom.xml Change-Id: I38ccdc3a12c1161c5377117535e2f569f8423382 Issue-ID: AAI-2210 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-13Merge "AAI-2210 Add .gitignore to aai/babel"James Forsyth1-0/+11