summaryrefslogtreecommitdiffstats
path: root/appc-dg/appc-dg-shared
AgeCommit message (Collapse)AuthorFilesLines
2018-08-20removed try catch from test case & formatted codeSandeep J1-19/+8
replaced try catch with @Test(expected=JAXBException.class) Issue-ID: APPC-1086 Change-Id: Ie3ec5a60b4ac09797ce2a8e5ed2f79b2979875c1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test case to TestVnfc.javaSandeep J1-31/+83
to increase code coverage Issue-ID: APPC-1086 Change-Id: I67c5f3aa03ee7b5fdd333bda71008605bcc71d6b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-17added test case to TestVnf.javaSandeep J1-1/+14
to increase code coverage Issue-ID: APPC-1086 Change-Id: I19bb65887308029ec991074175e64bc151962677 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-16added test case to TestVnf.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I08abe39eeb7e2f94115c6cd54c7310c16189c1ec Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-16added test case to JSONUtilTest.javaSandeep J1-1/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7fdf23f7692cd57e6a736307e038696431a25eb1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-16added test case to JsonDgUtilImplTest.javaSandeep J1-0/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: I5da9bfca629b3fa99f2b6fa85b2664828e844d69 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-14Karaf 4 for appc-inboundPatrick Brady1-5/+0
Change-Id: I94f8b31e509d0e231e36b8b8d2871ad10bdf02f8 Issue-ID: APPC-1148 Signed-off-by: Patrick Brady <pb071s@att.com>
2018-08-13Karaf 4 for appc-dg featuresPatrick Brady18-171/+295
Including appc-dg-util, appc-dg-shared, and appc-ssh-adapter Change-Id: Ia137a87c560438d23f7858e0f4068717891be076 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1137
2018-07-26added test case to JsonDgutilImplTest.javaSandeep J1-3/+23
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Ib2bb400348ebde7200d46e1f05775be6fbe298cd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-10null ptr checkKrishnajinka1-0/+5
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-10Added seq generator changes for vnf level actionsGeorge, Lina (lg941u)1-0/+7
Issue-ID: APPC-921 Change-Id: I43c2cb044783ce4cd74f9685a333b52e4c7ad1fe Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-06-13Update license header in misc appc xml filesJohn McClung21-42/+21
Modify license header in miscellaneous appc xml files to reflect 2018 changes. Change-Id: Ia62d24370e152c23f3575c755ff88980fccc42d2 Issue-ID: APPC-1001 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13More updates to lic header in appc propertiesJohn McClung1-2/+1
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files. Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008 Issue-ID: APPC-996 Signed-off-by: John McClung <jm1364@att.com>
2018-06-06Update license header in appc-dg filesJohn McClung17-34/+17
Modify license header in various appc-dg-util, appc-dg-shared and appc-directed-graph java files to reflect 2018 changes. Change-Id: I4ae3aed9af5eda808ed908948ca1bdee5ac7bd93 Issue-ID: APPC-976 Signed-off-by: John McClung <jm1364@att.com>
2018-06-06Update license header in appc-dg-shared filesJohn McClung39-78/+39
Modify license header in various appc-dg-shared java files to reflect 2018 changes. Change-Id: Id30661d99a1c908ca4f3b4f03730e20674282c71 Issue-ID: APPC-974 Signed-off-by: John McClung <jm1364@att.com>
2018-06-05Update license header in appc-dg-common filesJohn McClung33-65/+32
Modify license header in appc-dg-common files to reflect 2018 changes. Change-Id: Ibf109e8b3cd68becd7d35f94de71f906c4088ff4 Issue-ID: APPC-964 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Continue removing ECOMP trademark from lic header.John McClung12-25/+13
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady13-14/+14
Change from version 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT and update version file. Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-916
2018-05-15Add missing dependencyPatrick Brady1-1/+1
Add the missing jackson dependency to embed. I was going to remove all embeds and use the versions that are exported by odl, but it would require lowering the jackson versions being used by dg-common, and I don't want to risk breaking something at this point. Change-Id: Ic64fb5acb989ba1b882d06205392ec1de7638612 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-893
2018-04-11ODL Upgrade Method 2Patrick Brady2-17/+4
Changes necessary to support upgrade to ODL Nitrogen, while continuing to use Karaf 3 style features Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-403
2018-03-28Add junit coverage to dg-commonShailendra Borale4-0/+229
Introduced junit-tests for dg-common Removed tabs and extra spaces Added the input.json file, renamed files Change-Id: I89b6ddd70cc83f2eeb1a094977ffbe38463be6c0 Issue-ID: APPC-808 Signed-off-by: Shailendra Borale <sb8915@att.com>
2018-03-23Add junit coverage to Appc-Domain-modelShailendra Borale2-0/+105
Introduce junit-tests for Vnf, Vnfc classses Replaced tabs with spaces. Change-Id: I45baf5aa20391b375fae667ff7fdeed8cfd845b8 Issue-ID: APPC-783 Signed-off-by: Shailendra Borale <sb8915@att.com>
2018-03-21Unit Test Coverageshubhada5-0/+244
Unit Tests for: 1. Constants.java 2. DataReaderException.java 3. DgResolverException.java 4. FlowKey.java 5. VnfExecutionInternalException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-common%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fcommon%2Fimpl Change-Id: Ib3839ce2eb44b6f2e8b530696f4e4354e61df3d4 Issue-ID: APPC-756 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit test for DependencyTypes.javashubhada1-0/+50
Unit test for DependencyTypes.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-dependency-model%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fobjects%2FDependencyTypes.java Change-Id: I163105492a11a8f9e9657562812e829f17fc149e Issue-ID: APPC-758 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit test for DependencyModelNotFound.javashubhada1-0/+36
Unit test for DependencyModelNotFound.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-dependency-model%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fdependencymanager%2Fexception%2FDependencyModelNotFound.java Change-Id: I17f2b9bb34ad161ea0c4b9eb902b0c0437970e37 Issue-ID: APPC-757 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit Test Coverage for Constants.javashubhada1-0/+46
Unit test coverage for Constants.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fimpl%2FConstants.java Change-Id: Ic44430e25c429f420c667e51c5d5eb7b6feb8fe5 Issue-ID: APPC-755 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-19Unit test for:org/onap/appc/dg/aai/objects classesshubhada2-0/+196
Unit test Coverage for: 1.AAIQueryResult.java 2.Relationship.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fobjects Change-Id: Ia4bb63454b5150e99cc38b12f867450da7ceae54 Issue-ID: APPC-754 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-16Unit test for MDSALStoreException.javashubhada1-0/+77
Unit test for MDSALStoreException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-mdsal-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fmdsal%2Fexception Change-Id: Ia8f8a1e35fd8426389b7e036574e0bddd3a17974 Issue-ID: APPC-751 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-16Unit test coverage for domainmodel-lib classesshubhada4-0/+244
Unit test Coverage for: 1.Vnf.java 2.Vnfc.java 3.Vserver.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-domain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel Change-Id: I7a77a992a1957020a066bcd5676c9a63cc7cd328 Issue-ID: APPC-720 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-15Unit test for AAIQueryException.javashubhada1-0/+35
Unit Test for AAIQueryException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fexception Change-Id: Ia1674d459c3c2c1d89de8930ed8a5e749890dd02 Issue-ID: APPC-741 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-12Unit Test Coverage for ConnectionDetails.javaamshegokar1-0/+63
Unit Test Coverage for ConnectionDetails.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-common%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fcommon%2Fobjects%2FConnectionDetails.java Change-Id: Ia253f7cea39d980f966f0afc5ab1b64d1e3f527e Issue-ID: APPC-718 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-12Unit test Coverage for BundleInfo.javaamshegokar1-0/+64
Unit test Coverage for BundleInfo.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-mdsal-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fmdsal%2Fobjects%2FBundleInfo.java Change-Id: I3d0e08b15f362bc00fc8fbbd4d809e88ddc6f792 Issue-ID: APPC-719 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-02Added missed code to appc-dg-common bundleBalaji, Ramya (rb111y)1-1/+2
Issue-ID: APPC-688 Change-Id: I7cfb5a90005f046336bf7858aa94001bdc5b6b32 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-01appc-dg-common sonar fixes part 2Jakub Dudycz19-251/+294
Sonar fixes in whole module Change-Id: I9d2d7f092fc44217c794ea3a4d4b12b1ad641ff0 Issue-ID: APPC-673 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-28appc-dg-common sonar fixes part 1Jakub Dudycz30-332/+377
Initial code refactor and imports rearrangement Change-Id: I4b96f82a4ebc30539872d9678cd5c2badc994256 Issue-ID: APPC-673 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22AAIPluginImpl sonar fixesJakub Dudycz1-114/+154
Change-Id: Ifa07addb19b34a1f1a2f546c5eb21c2ac0bb3e1a Issue-ID: APPC-651 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-21Update license text part 3Skip Wonnell2-89/+134
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell23-48/+253
Update .gitignore with license text Remove IDE generated files from repository Update .gitignore to ignore IDE Generated files Issue-ID: APPC-637 Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .properties and .xml files with licenseSkip Wonnell1-1/+37
Change-Id: I551f9e9033de2f13028f28ad434003d61102d54f Issue-ID: APPC-637 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-18Added @FunctionalInterface annotation where neededJakub Dudycz6-2/+6
Change-Id: Ica7171f6314f10ff51979c2bdd07e293ded695e4 Issue-ID: APPC-644 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-15AbstractResolverDateReader sonar fixesJakub Dudycz2-21/+52
Change-Id: I78c4cf8318e1051cd3ea5850b502677ea8708794 Issue-ID: APPC-638 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-12Update java files with correct license textamshegokar1-0/+19
Adding license text for 1./src/test/java/org/onap/appc/mdsal/operation/TestConfigOperationRequestFormatter.java 2.src/test/java/org/onap/appc/yang/type/TestYangTypes.java Change-Id: I902631c3ea8ea3d7cbffe5c9ac5c0027bf926de2 Issue-ID: APPC-602 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-09NetconfClientPluginImpl sonar fixesJakub Dudycz1-92/+117
Change-Id: I21f15c9c652036d750a22bcd29216e2d3461e402 Issue-ID: APPC-584 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09DependencyModelParser sonar fixesJakub Dudycz1-54/+91
Change-Id: I9be45e4d352e4dbd02916276748b705d7be5062d Issue-ID: APPC-583 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-02Add missing test dependenciesMichal Kabaj1-0/+12
Fix compilation issue for junit tests in appc-data-services/provider appc-dg-mdsal-bundle by adding missing mockito and powermockito dependencies to pom.xml. Change-Id: I21da7648bb59235b384e0e85b3075e1777a7bf36 Issue-ID: APPC-559 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-01Sonar fixes in "appc-netconf-adapter-bundle"wejs4-24/+21
Change-Id: Ib5842a5f43c9437fee464e9a35e3120a11d1c6b1 Issue-ID: APPC-494 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-01-31Unit Tests for appc-dg-mdsal-store classes-Part 1amshegokar1-0/+47
Adding Unit test for org.onap.appc.mdsal.operation package https://sonar.onap.org/drilldown/measures/org.onap.appc:appc?highlight=overall_coverage&metric=overall_uncovered_lines&rids%5B%5D=117465&rids%5B%5D=124943 Change-Id: I8c5b08406b5308dcfef1fd71826f9d8bc908e908 Issue-ID: APPC-501 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-01-25Fix in AbstractResolverburdziak1-1/+1
Change-Id: I645a6d5f3c8165e5b780907f8191b144c6ec8347 Issue-ID: APPC-509 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-17Build FixTomek Kaminski1-5/+69
Fixing build failure due to dependency changes introduced in APPC-377 Change-Id: I3140f12c88427d589f2d110a0f8ad9dee2f3916d Issue-ID: APPC-416 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-01-12Add missing license text to pom files, part 2Skip Wonnell10-0/+210
Change-Id: I47c09b26da03ca7ca10ef632c9880d744df6a7f4 Issue-ID: APPC-398 Signed-off-by: Skip Wonnell <skip@att.com>