summaryrefslogtreecommitdiffstats
path: root/appc-provider
AgeCommit message (Collapse)AuthorFilesLines
2019-02-28Test coverage in MockQueryHelperJoss Armstrong3-1/+134
Increased coverage from 17% to 91% Fixed Sonar major issue for branch coverage Issue-ID: APPC-1509 Change-Id: I822053c74db8f16875448206a22048032d30ad45 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-26Added test case for Appc ProviderLathishbabu Ganesan1-0/+124
Increased the coverage from 0% to 96% Issue-ID: APPC-1454 Change-Id: I5bfb97101dd7ef5e9c138694b783be8cdd511f0e Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-02-25Changes for new odl versionPatrick Brady4-79/+60
Changes required to update to latest opendaylight version. Some powermock tests have been temporarily removed due to an powermock incompatibility. They will be fixed and re-added. Change-Id: I418d44913fcd42423d2d9bd37b189f6301eaab81 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1370
2019-02-20Added test case for Appc Provider clientLathishbabu Ganesan1-0/+54
Increased the coverage from 0% to 100% Issue-ID: APPC-1455 Change-Id: I0e719bd084a985b63110f15681b6a87ec4affb4d Signed-off-by: Lathishbabu Ganesan <lathishbabu.ganesan@ericsson.com>
2019-01-18Update install-feature for pre-installPatrick Brady1-3/+1
Since the feature zip files will be extracted during docker build, the install-features scripts need to be modified so that the script will not fail when the zip file does not exist, since the zip file will have already been unzipped. Change-Id: I441064226db956addae5c2f238114ce3965c13ef Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1337
2019-01-16Remove deprecated mock implementations of LCMJoss Armstrong10-631/+10
Removal of deprecated code Issue-ID: APPC-1328 Change-Id: I075ed20b648b78c51cbfcb123958340ab379ac09 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-14Fix unit tests in provider-lcm-serviceJoss Armstrong7-912/+92
Increased line coverage from 69% to 87% Removed PrepareForTest annotations for classes under test Issue-ID: APPC-1326 Change-Id: I75be7235f4c13b0f395843907958d7391a333a32 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-09Test coverage for appc-provider-topologyJoss Armstrong2-20/+14
Increased line coverage from 0% to 86% Issue-ID: APPC-1317 Change-Id: I2297634d50a389c8c250981656e00a9bb2741ea3 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Change parent version to appc snapshotPatrick Brady7-7/+7
Changing to the current release snapshot version of the appc parents instead of the previous release version. This allows updated changes to parents to be in builds. Change-Id: I6cec484012c2cb48ee1ea7f10fd058d017f00947 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2019-01-07Update parent pom versionPatrick Brady7-7/+7
Update the parent version to appc parent 1.4.1 Change-Id: I185d086595bed6410f7fd6b8c139cc6300e4467e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1304
2018-12-05Unit tests for APPC-1268Joss Armstrong1-0/+426
Added unit tests for AppcProviderLcm class and increase line coverage from 0% to 80% Issue-ID: APPC-1268 Change-Id: Ic0657a5c1b90daff9507d6f7b4e9ea2fbc7c67b5 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-11-19Fix for Class dependency errorsBalaji, Ramya (rb111y)1-2/+1
Issue-ID: APPC-1231 Change-Id: I0edce5fad720a5a6326ea7d0845e61db69665289 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-16More code changes for importingBalaji, Ramya (rb111y)1-0/+1
Adding explicit import/exports to pom, to see if issue the issue will resolve. Issue-ID: APPC-1231 Change-Id: I2138d9a8b8ddea151a97562663236061fef60275 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-12Increment version numberPatrick Brady7-7/+7
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-31Fixed Mock code issue for Reboot actionBalaji, Ramya (rb111y)1-3/+0
Removed code that mocked backend execution for Reboot since backend implementation is available Issue-ID: APPC-1226 Change-Id: Ie12603b9c7ffe80628fd0f46fa15fdc86d652d96 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-10-17Make validation of DistributeTraffic less strict.Tomek Osinski2-21/+1
In order to pass configuration-parameters we need to make validation less strict. Issue-ID: APPC-1173 Change-Id: I62e3f0acce8d4b577705dd5fe3b7e6ea7740cae1 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2018-10-11Roll to next version after releasePatrick Brady7-7/+7
Change to version 1.4.1-SNAPSHOT Change-Id: Ie6238743cbe2bebeb122ce3985fb2488d9a6c62e Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-09Change to released parent pomsPatrick Brady7-7/+7
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-26Add versions to pom filesPatrick Brady3-0/+3
Adding version tags that were left out of the last version tag commit Change-Id: I4a0d82b33571794664be215303ddc953203a253a Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-17Adding DistributeTraffic LCM APITomek Osinski4-0/+341
This commit contains code modifications for APPC to support DistributeTraffic LCM API. Tests has been implemented for new service. Change-Id: I853120eced93928268074cf89dd62fb89fea9ff8 Issue-ID: APPC-1169 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel1-2/+2
patch description: Restore of valid shebang lines and exec flags Change-Id: Id44c9d4ac9f2243f478213b34f61a30576ca2235 Issue-ID: APPC-1203 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
2018-09-10Fix for provider rpc errorPatrick Brady25-2481/+126
Change over to using blueprint for rpc registration Tests cases will need to be modified and uncommented Change-Id: I6535c2d9d141406ac29dc8bb2b769fea3bdbf53f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1185
2018-08-24Remove old appc-commonRyan Young1-1/+1
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-15Fix incorrect groupidPatrick Brady1-2/+2
Change-Id: If87d33a94f96f82ddb07d7afc23798b39e3753d9 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1028
2018-08-14Karaf 4 for appc-providerRyan Young8-189/+159
Change-Id: Id0f8f51426a5595f51943e8b9d1bb62ed8ee1c8d Issue-ID: APPC-1028 Signed-off-by: Ryan Young <ry303t@att.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-07-02Adding responses to payload in LCM APIvidhyasree1-0/+13
For HealthCheck, UpgradePrecheck and UpgradePostcheck Issue-ID: APPC-920 Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-29Shore up Logging Score on DGsvidhyasree2-211/+209
Modify TopologyService and DG calls to have all logging fields Issue-ID: APPC-1020 Change-Id: I6c610bc59a09dfd07453c0cfdaa38dcff700c07a Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-25new action Reboot to the LCM APIvidhyasree4-134/+214
Issue-ID: APPC-920 Change-Id: Iba1e40f5bc4319f99f6cdfa3a9409faa191ec649 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-20APPC-1009J Armstrong1-28/+34
Regex in appc-provider-model yang causes intermittent unit test failures Change-Id: I5aefd746498737c10de4bd40a30d6aad2c629293 Signed-off-by: J Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-1009
2018-06-14Update license header in appc xml filesJohn McClung9-18/+9
More license header changes to miscellaneous appc xml files to reflect the 2018 changes. Change-Id: Ia71a0711235ab56bf2cd83719964bc12d7aa420b Issue-ID: APPC-1004 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13Update lic header in misc appc properties filesJohn McClung1-2/+1
Modify license header in miscellaneous appc properties files to reflect 2018 changes. Change-Id: I21eb99f680ab4cbddbd7f8abe65720c87e2dbb33 Issue-ID: APPC-998 Signed-off-by: John McClung <jm1364@att.com>
2018-06-11Update license header in misc appc filesJohn McClung5-8/+3
More license header updates to miscellaneous appc files to reflect 2018 changes. Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1 Issue-ID: APPC-994 Signed-off-by: John McClung <jm1364@att.com>
2018-06-08Update license header in appc-provider filesJohn McClung43-82/+39
Modify license header in appc-provider java files to reflect 2018 changes. Change-Id: I753488510fef3a095ddbda2cacc600bbddc9a815 Issue-ID: APPC-989 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01ConfigScaleOut-Payload parameter to manadatoryvidhyasree3-12/+22
Issue-ID: APPC-929 Change-Id: Ifd0b8f303dd77acbf37774f749b9063dc67e7620 Signed-off-by: vidhyasree <sn141y@att.com>
2018-05-22Increment version for new branchPatrick Brady5-5/+5
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-04-11ODL Upgrade Method 2Patrick Brady3-21/+12
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-06Adding ConfigScaleOut To APP-C Client Libraryvidhyasree2-10/+9
Updating the client library for new action configscaleout based on the updated LCM API Yang model Issue-ID: APPC-478 Change-Id: Ic32f433658be5442e1a5d238a317de85e54fb425 Signed-off-by: vidhyasree <sn141y@att.com>
2018-03-01 Testcases for Configscaleout actionvidhyasree3-8/+191
Junit testcases for ONAP scaleout feature Issue-ID: APPC-544 Change-Id: I43e211f00e7568cb98e564b1cbf60f96b27c5dfa Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-23Migrate powermock to mockito for providerlcmTaka Cho1-252/+354
Change-Id: I66f70a1dcb4ea1d4f6f8ca6149c1291a76f84e32 Issue-ID: APPC-649 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree4-87/+134
A new action ConfigScaleOut is added to LCM API and Yang model. Removed old action item configscaleout supporting VM action level which is no longer needed. Issue-ID: APPC-479 Change-Id: Ie5452f4d5625fc3be6b66c0f403d12baa64fa096 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-21migrate powermock to mockito appc providerTakamune Cho2-14/+87
Change-Id: I15bd86d2d96ecf4070f1b6eafaf8b9ba9612b9cf Issue-ID: APPC-647 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-21Update license text part 3Skip Wonnell1-1/+23
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell7-3/+152
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-14TopologyService sonar fixesJakub Dudycz1-190/+181
Change-Id: I6839fada1f1acb31927eec4050dbefad5d84aca5 Issue-ID: APPC-630 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-07Removing old name referencesPatrick Brady1-3/+0
Removing references to bvc, att Change-Id: I794861fe40b96c922f6e5c011b2fe5d2c4bc515b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-292
2018-02-07Fixed issues in MSO and StopApplication payloadvidhyasree1-397/+363
Issue-ID: APPC-567 Change-Id: I7729322aea93eea6b83cf88b0e9d7600a41535e0 Signed-off-by: vidhyasree <sn141y@att.com>
2018-01-17Fix for resumetraffic to allow trafficvidhyasree6-32/+83
ResumeTraffic action is added to LCM actions prior. In this ticket payload structure is added to resumetraffic in yang file. In ResumeTrafficService.java and ResumeTrafficServiceTest.java added payload parameters. Issue-ID: APPC-346 Signed-off-by: vidhyasree <sn141y@att.com> Change-Id: I9a3ca163bbd520e599416d03edc921a6cafb3059
2018-01-17Add/update license text part 3Skip Wonnell8-5/+92
Convert some file formats from dos to unix Change-Id: Iab31d84016c84bf03df7fdc8cf0c163c23091a88 Issue-ID: APPC-398 Issue-ID: APPC-305 Signed-off-by: Skip Wonnell <skip@att.com>
2018-01-08Include impacted changes for APPC-346,APPC-348Anand38-859/+6463
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>