summaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-bundle/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-12Add new LCM actions DownloadNESw and ActivateNESw, etcEnbo Wang8-2/+624
1. Add LCM actions DownloadNESw and ActivateNESw; 2. Add payload field in the output of Rollback action. Issue-ID: APPC-1811 Change-Id: I2e05522909a45d03927035fe35e9168751b5de0d Signed-off-by: Enbo Wang <wangenbo@huawei.com>
2020-01-29add new action ConfigScaleInyongqiangliu3124-1/+300
Change-Id: Iae4bb797c4e86f66e5e3101fc6715fc2c2be470f Issue-ID: APPC-1760 Signed-off-by: Taka Cho <takamune.cho@att.com> Signed-off-by: Patrick Brady <patrick.brady@att.com>
2019-12-09VNFC Support for Ansible actionsLukasz Rajewski1-2/+96
Introduced AutoNodeList parameter for ansible request template which allows to generate NodeList section from infromation about VMs and VNFC in the AAI. List is being filtered by vnfc-name,vserver-id, vnfc-type and vf-module-id parameters which can be specified in the request-parameters of payload section. Change-Id: I3d5b79ab6ff778116856b513612721a9637363df Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: APPC-1729
2019-11-26Add new LCM actions GetConfig, StartTraffic, StopTraffic, etcKeighron, Lori (lk2924)27-0/+3995
New LCM actions Change-Id: Ic59607f2a7fc515bdd01be162018aaf695668f82 Issue-ID: APPC-1790 Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
2019-11-14Update provider blueprint mdsal namingPatrick Brady1-2/+2
The blueprint file should be updated to the new package naming that opendaylight is using. This change matches the changes made to appc provider java files. Change-Id: Ibf9f7c5abbe8ca1037194a7c89497555890b840f Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1764
2019-10-21move to org.opendaylight.mdsal.binding.apiTaka Cho4-8/+8
reduce deprecated warning Issue-ID: APPC-1764 Change-Id: Ie833c20222567f38f240cf3922430b43db32c149 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-19added test cases to TestAppcProvider.javaSandeep J1-2/+21
to increase code coverage Issue-ID: APPC-1086 Change-Id: Iff273f586c3d6ac9fa3809ef605013f11d3d2178 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-13Adding DistributeTrafficCheck LCM APIosinstom4-1/+294
Issue-ID: APPC-1444 Change-Id: I26163c216184eb49daeea01cbb54f0b9803e1f95 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2019-02-28Test coverage in AppcProviderLcmJoss Armstrong2-30/+345
Increased coverage from 74% to 100% Fixed Sonar major issue for branch coverage Issue-ID: APPC-1509 Change-Id: I8d487b295af7930dfcf917970f9806ac37023853 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-28Test coverage in TopologyServiceJoss Armstrong2-7/+118
Increased coverage from 80% to 97% Fix Sonar major issue for branch coverage Issue-ID: APPC-1509 Change-Id: I2f5af194b44e5871fc00c9cc12123fa6d6c1fd5d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
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 Brady2-51/+51
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-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>
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-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-09-17Adding DistributeTraffic LCM APITomek Osinski3-0/+315
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-10Fix for provider rpc errorPatrick Brady19-2362/+125
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-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 McClung3-6/+3
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 manadatoryvidhyasree2-11/+21
Issue-ID: APPC-929 Change-Id: Ifd0b8f303dd77acbf37774f749b9063dc67e7620 Signed-off-by: vidhyasree <sn141y@att.com>
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.vidhyasree3-65/+112
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-14TopologyService sonar fixesJakub Dudycz1-190/+181
Change-Id: I6839fada1f1acb31927eec4050dbefad5d84aca5 Issue-ID: APPC-630 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
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 trafficvidhyasree2-23/+67
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-08Include impacted changes for APPC-346,APPC-348Anand36-490/+5756
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>
2017-12-21enahance Sonar coverage rateTaka1-1/+0
Change-Id: I08fbb09495a400cdfb85489ed2f964d6c63aa737 Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-13Fourth part of onap renamePatrick Brady1-1/+1
Some paths within the docker image need to be updated from opt/openecomp to opt/onap Change-Id: I74b32ba6906a0b7c44764485dccef6140c21afa3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13Third part of onap renamePatrick Brady19-0/+0
This part of the commit changes the folder structure on all other folders of appc. Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady23-317/+317
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-11-20Actionlevel used to identify valid requestHandlerprashank1-12/+21
Change-Id: I7fbcf10321a5f2c169ebf018a60be1a44b719bf8 Issue-Id: APPC-312 Signed-off-by: prashank <prashant.kumar1@amdocs.com>
2017-11-20Fixed null payload issue for Stop ApplicationLina George1-1/+1
Issue-Id: APPC-316 Change-Id: I572f1c62f340a26de1900ee5367b0d913376ee16 Signed-off-by: Lina George <lg941u@att.com>
2017-09-27Add Junit test for appc-provider bundleHao Kuang8-184/+1718
1. add junite test for appc-provider bundle to increase sonar test converage. 2. move test files of appc-dg-util under java folder. Issue-Id: APPC-229 Change-Id: I37620a820eb99aecb7fe91974826b4ef2e5d428a Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady1-2/+2
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-22Rename action Block/UnBlock and Update Orchmojahidi1-1/+69
StopApplication : Renamed block traffic action to StopApplication. Transition of status in AAI will be stopping on accepting request followed by Stopped for Success and Error for error scenario’s StartApplicaiton: Renamed unblock traffic action to StartApplication. Transition of status in AAI will be starting on accepting request followed by Running for Success and Error for error scenario’s. Refactored to handle actions on basis of ReadOnly,OrchestrationStatus, BuiltIn and OperationalStatus instead of individual actions. Change-Id: Ia7c6b233ac9a0aabeb9a1f7d715629917f6b7b86 Issue-ID:APPC-55 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-08-15Action-Identifier to support vf-module-idKalpesh Chaniyara1-0/+1
As of now LCM Request Identifier supports vnf-id, vnfc-name and vserver-id. This change supports vf-module-id as action identifier and its value is set in DG context with key input.action-identifiers.vf-module-id when invoking DG Issue-Id : APPC-142 Change-Id: I65d44b073d32e39eaba183b8ce47584441921f3c Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>