aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-request-handler
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11In progress trxns criteria fixBalaji, Ramya (rb111y)2-17/+99
Changed the criteria for inprogress transactions to the last X hours. This will eliminate stale transactions causing an incorrect scope overlap error. Issue-ID: APPC-1194 Change-Id: I2f3147503f4202e8e8931b2615e626e3b9af8261 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-09-10Fix for provider rpc errorPatrick Brady1-5/+0
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 Young2-1/+5
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-23Fix request handler class errorPatrick Brady2-0/+8
Change-Id: I8e46de98f1a319452a9133835d0fe0b1430303ca Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-13Upgrade appc-dispatcher features to karaf4Patrick Brady6-136/+212
Change-Id: I9d2ea6e968a214f0b141d7a3fad7e09dd07eb6d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1136
2018-07-29added test case to TestResponseHandlerOutput.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I7cb23c2e389a8c0d8d153cb241b726360a759f03 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-29updatd test in RequestValidationExceptionTest.javaSandeep J1-0/+11
to increase code coverage Issue-ID: APPC-1086 Change-Id: Id2a2f7f2476f4a6d2f917c713af374cd0d02f682 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-27added test case to TestRequestHandlerInput.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ie0a570c7b20d236d8203d57f1351f34e0b7466d1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-10null ptr checkKrishnajinka1-0/+7
rework based on review comments Issue-ID: APPC-1047 Change-Id: Ia87707535dc5825d18a6c35fdae416064dcb8c14 Signed-off-by: Krishnajinka <kris.jinka@samsung.com>
2018-07-02Adding responses to payload in LCM APIvidhyasree2-4/+105
For HealthCheck, UpgradePrecheck and UpgradePostcheck Issue-ID: APPC-920 Change-Id: I7e7b681d98c5dc3eeac6f7ea2b070f614bf51a7c Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-26Fix for invalid locking approachvidhyasree1-4/+5
Issue-ID: APPC-1019 Change-Id: I738c4ad72c29f494488a3fe3657243927797e2b5 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-25new action Reboot to the LCM APIvidhyasree2-0/+25
Issue-ID: APPC-920 Change-Id: Iba1e40f5bc4319f99f6cdfa3a9409faa191ec649 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-18Unit tests APPC-443root7-86/+991
Unit test for request-handler Change-Id: Ida894d4c9ba920a6b8b7e105caab7952bd3be420 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com> Issue-ID: APPC-443
2018-06-14Update license header in appc-dispatcher xml filesJohn McClung4-8/+4
Modify license header in appc-dispatcher xml files to reflect 2018 changes. Change-Id: If9df0812b1205c1edbfbdf6529d64032385cd2a4 Issue-ID: APPC-1002 Signed-off-by: John McClung <jm1364@att.com>
2018-06-13Update lic header in misc appc properties filesJohn McClung2-4/+2
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 McClung4-4/+0
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-07Third lic header update for appc-dispatcher filesJohn McClung24-43/+19
Continuation of license header modifications for various appc-dispatcher java files to reflect 2018 changes. Change-Id: I944ba3902c1ed582528238d7a7514a9d2bd7d5df Issue-ID: APPC-981 Signed-off-by: John McClung <jm1364@att.com>
2018-06-07More license header updates in appc-dispatcherJohn McClung36-72/+36
Modify license header in various appc-dispatcher java files to reflect 2018 changes. Change-Id: If6589f30441e0d0e7211a9f987b61118b5e72916 Issue-ID: APPC-980 Signed-off-by: John McClung <jm1364@att.com>
2018-05-25Fix License Header IssuesJohn McClung1-0/+20
Add License Header to files without licenses. Change-Id: Iab51b7cb82ff4415deb9b06ef38f297b7cf28b3d Issue-ID: APPC-925 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady4-4/+4
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-16update bundle import/export causing linkage errorsRyan Young2-6/+7
Change-Id: Ifb161f411cc8b39be8576ff6c0a982260b4f218b Issue-ID: APPC-900 Signed-off-by: Ryan Young <ry303t@att.com>
2018-04-16Add junit coverage to Request classMei Su1-0/+80
Introduce junit-tests for Request class Issue-ID: APPC-852 Change-Id: I6ee0919565e0de9fba79604dac653e7634277f39 Signed-off-by: Mei Su <ms6523@att.com>
2018-04-12Add junit tests to LocalRequestValidatorImpl classIrwin Dunietz1-11/+38
Introduce additional junit tests for LocalRequestValidatorImpl class Change-Id: Iea8cabafab55d6b948303b8d4fa3c427efad44c2 Issue-ID: APPC-850 Signed-off-by: Irwin Dunietz <id1681@att.com>
2018-04-11ODL Upgrade Method 2Patrick Brady1-2/+2
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-04-09Add junit coverage to ActionIdentifierModel classIrwin Dunietz1-0/+77
Introduce junit-tests for ActionIdentifierModel class Change-Id: I792c6787e94b4aeaec992720c359c0f740b44485 Issue-ID: APPC-839 Signed-off-by: Irwin Dunietz <id1681@att.com>
2018-03-22Bugfixes for error handling while attaching volumeModaboina, Kusumakumari (km583p)1-1/+10
Change-Id: I103709186eff4fc9e42038b2e1113b010b822528 Issue-ID: APPC-761 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-03-21Add junit coverage to request handler exceptionsLori Keighron7-0/+263
Introduce 7 more junit-test files: DGWorkflowNotFoundExceptionTest.java LCMOperationsDisabledExceptionTest.java MultipleRecordsRetrievedExceptionTest.java NoRecordsRetrievedExceptionTest.java RequestValidationExceptionTest.java VNFNotFoundExceptionTest.java WorkflowNotFoundExceptionTest.java Issue-ID: APPC-773 Change-Id: I2e962a9614e3b17d77d2685e1055322531d832a1 Signed-off-by: Lori Keighron <lk2924@att.com>
2018-03-21Unit Test Coverageshubhada2-0/+95
Unit Test Coverage for: 1.RequestHandlerInput.java 2.RequestHandlerOutput.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-request-handler-api Change-Id: I07e6be04fbe4958cd98cb0313e672e2a0098856e Issue-ID: APPC-771 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-03-20Add junits to request-handler-exception classesLori Keighron3-0/+119
Introduce junit-tests for 3 request-handler-excetion classses Issue-ID: APPC-769 Change-Id: I49f45ba50adccbfcc9725a7e458054e19f0c5efd Signed-off-by: Lori Keighron <lk2924@att.com>
2018-02-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree1-5/+5
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-20Update .gitignore with license textSkip Wonnell7-12/+92
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-07Fixed issues in MSO and StopApplication payloadvidhyasree1-1/+35
Issue-ID: APPC-567 Change-Id: I7729322aea93eea6b83cf88b0e9d7600a41535e0 Signed-off-by: vidhyasree <sn141y@att.com>
2018-01-30quick fix and make constant publicTaka1-1/+1
Change-Id: I8fb290ec7d0ef6f04478cb10e43a24b9a5ef7b27 Issue-ID: APPC-487 Signed-off-by: Taka <tc012c@att.com>
2018-01-29enhance test coverage under appc-request-handlerTaka1-0/+41
Change-Id: Ifa491d78dd2a65e3e3cbd25d09d8eda7a983a398 Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-487
2018-01-25fixed critical issues from sonar reportTaka1-3/+6
Change-Id: I443db1a8104bdfbfb20ec604978d758edfe7fb44 Issue-ID: APPC-429 Signed-off-by: Taka <tc012c@att.com>
2018-01-22fixed for defect APPC-315 bundle dependency addedprashank1-0/+1
Change-Id: I32a703c5f0598fef6237b1069f7864e096a5a56b Issue-ID: APPC-315 Signed-off-by: prashank <prashant.kumar1@amdocs.com>
2018-01-08Include impacted changes for APPC-346,APPC-348Anand66-3134/+4568
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>
2018-01-02fix some minor issues for SonarTaka2-2/+0
Issue-ID: APPC-363 Change-Id: I3761ea2f235e6b182f04d5ccdb104df295441c05 Signed-off-by: Taka <tc012c@att.com>
2017-12-21enahance Sonar coverage rateTaka2-3/+0
Change-Id: I08fbb09495a400cdfb85489ed2f964d6c63aa737 Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-19Update bundle names from openecomp to onapTakamune Cho2-21/+21
Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e Issue-ID: APPC-13 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-13Fourth part of onap renamePatrick Brady2-2/+2
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 Brady40-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 Brady46-339/+339
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-17Bump minor versionJessica Wagantall4-4/+4
Bump minor version in preparation for Amsterdam branching. Change-Id: I83e13547f583db020d6f756ddb8918360c38903b Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org> Signed-off-by: Patrick Brady <pb071s@att.com>
2017-11-07Changing to Amsterdam release versionv1.2.01.0.0-ONAP1.0.0-AmsterdamPatrick Brady4-4/+4
Appc will be realeased as version 1.2.0 since version 1.1.0 already was created spring 2017. Change-Id: I177931e892c2556c11a261f018fd835d62a14d54 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-314
2017-09-14Update TTL calculation to use millisecondsSkip Wonnell1-1/+1
Code used mix of seconds and milliseconds calculate TTL. Updated to use consistent units. Also added a new test file to increase code coverage. Issue-ID: APPC-207 Issue-ID: APPC-181 Change-Id: I07687ac30fa2e75cedb027ec2bb71f6914d42075 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady5-10/+10
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-30Remove catch throwable and errorbeili.zhou1-211/+145
Fix the following sonar blocker issue: - Catch Exception instead of Throwable - Catch Exception instead of Error Issue-Id: APPC-175 Change-Id: I16a1018001b067216740ec11e5a97e52d714db69 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-22Rename action Block/UnBlock and Update Orchmojahidi1-0/+10
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-15[APPC-127] NPE on execution of LCM action LockKalpesh Chaniyara4-5/+4
2 Constants classes were present under same package in appc-dispatcher sub modules, Moved one class under appc-request-handler-core to different package Issue-Id :APPC-127 Change-Id: I9bb9000b90862d245c2c8465495690a2635a741d Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>