summaryrefslogtreecommitdiffstats
path: root/appc-provider/appc-provider-bundle/src/main
AgeCommit message (Collapse)AuthorFilesLines
2019-11-26Add new LCM actions GetConfig, StartTraffic, StopTraffic, etcKeighron, Lori (lk2924)14-0/+1743
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 Cho2-4/+4
reduce deprecated warning Issue-ID: APPC-1764 Change-Id: Ie833c20222567f38f240cf3922430b43db32c149 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-13Adding DistributeTrafficCheck LCM APIosinstom2-1/+115
Issue-ID: APPC-1444 Change-Id: I26163c216184eb49daeea01cbb54f0b9803e1f95 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2019-02-28Test coverage in AppcProviderLcmJoss Armstrong1-1/+2
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 Armstrong1-6/+0
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 Armstrong1-1/+3
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-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-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-09Test coverage for appc-provider-topologyJoss Armstrong1-4/+3
Increased line coverage from 0% to 86% Issue-ID: APPC-1317 Change-Id: I2297634d50a389c8c250981656e00a9bb2741ea3 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 Osinski1-8/+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 Osinski2-0/+126
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 Brady14-615/+120
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 APIvidhyasree2-35/+62
Issue-ID: APPC-920 Change-Id: Iba1e40f5bc4319f99f6cdfa3a9409faa191ec649 Signed-off-by: vidhyasree <sn141y@att.com>
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 McClung1-2/+1
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 McClung30-58/+28
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 manadatoryvidhyasree1-8/+11
Issue-ID: APPC-929 Change-Id: Ifd0b8f303dd77acbf37774f749b9063dc67e7620 Signed-off-by: vidhyasree <sn141y@att.com>
2018-03-06Adding ConfigScaleOut To APP-C Client Libraryvidhyasree1-4/+6
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 actionvidhyasree1-8/+4
Junit testcases for ONAP scaleout feature Issue-ID: APPC-544 Change-Id: I43e211f00e7568cb98e564b1cbf60f96b27c5dfa Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree2-29/+111
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-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 trafficvidhyasree1-18/+38
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-348Anand24-485/+2900
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 Brady14-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 Brady18-220/+220
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 Kuang2-97/+81
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>
2017-08-14OAM operations 1 - miscellaneousbeili.zhou1-97/+228
OAM operations changes are large, need to break down to multiple submissions based on size and compilability. This is the first set which covers: feature installation, audit log message, listener instantiation and etc. Includes these user stories: APPC-39/41/43/44/45/46/52/77. Issue Id: APPC-38 Change-Id: Ifc0f5bd2468732d04ae462be09a6ad720aefba2b Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-02Merging in bug fixesPatrick Brady3-154/+30
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady18-48/+128
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady16-48/+64
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady6-89/+382
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams2-5/+1
Taking a stab at removing numerous commented out methods and fields. Almost all of what is removed is commented code with no explanation. Change-Id: I61cb1d7100ae6c75f6d42f500ade0504c97b760c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-05-16Migrate to Java 8 Time APIGary Wu1-1/+1
Migrate the uses of the old Date class in CommonHeader, RuntimeContext, QueueMessage, and TransactionRecord to Java 8 Time API. Change-Id: I3b0c18b2e63cdab06e37587d2010cb7f626a0396 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-05-02Remove commented out logger in APPCMarcus G K Williams2-2/+0
Change-Id: Ib1b9bb1797180118ee1e5c0de18aafa2089c514b Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-05-01Make Flags immutableGary Wu1-8/+11
Change-Id: Ib2e06d41d4e1eb6fb40144258067d2c71ac1d620 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-19Refactor Status to be immutableGary Wu1-6/+2
Change Status class to be immutable. Add convenience method to convert from a LCMCommandStatus to a Status object. Change-Id: I9e47750d15b5ee0f5649b2fabf6387aa12ff9c9d Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-03-03Add log statementPatrick Brady1-0/+3
Add log statement to check if rpcRegistry was up when the rpc is registered for appc-provider Change-Id: Ic0939490a04bf4cf61feb7d030a66c4bf8e9353e Signed-off-by: Patrick Brady <pb071s@att.com>