summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-request-handler/appc-request-handler-core
AgeCommit message (Collapse)AuthorFilesLines
2019-03-13Adding DistributeTrafficCheck LCM APIosinstom2-4/+21
Issue-ID: APPC-1444 Change-Id: I26163c216184eb49daeea01cbb54f0b9803e1f95 Signed-off-by: Tomek Osinski <tomasz.osinski2@orange.com>
2019-03-07Update appc-dispatcher for >1 ansible serversDunietz, Irwin2-11/+16
Change Transaction record update logic to handle null instance entry. Issue-ID: APPC-1516 Change-Id: Ia87e08fbb61d4d0be38802e3e81b45773b1d9498 Signed-off-by: Dunietz, Irwin <irwin.dunietz@att.com>
2019-02-25Changes for new odl versionPatrick Brady1-1/+6
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-25Test coverage in RequestValidatorImplJoss Armstrong2-26/+51
Increased coverage from 78% to 89% Issue-ID: APPC-1485 Change-Id: I2b4e87d0ae9b344ef59005bc19cd2600e4e041e8 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-22Test coverage in MessageAdapterImplJoss Armstrong2-11/+113
Added test cases for untested portions of code Issue-ID: APPC-1481 Change-Id: Id61ec5c5824c3d9fecbfb83d47bfa0164ae96759 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-22Test coverage in AbstractRequestHandlerImplJoss Armstrong1-8/+64
Increased coverage from 72% to 95% Issue-ID: APPC-1484 Change-Id: I1bbb8aaf1b7ca33b20d8768cacd14c7bdabe5caa Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-22Test coverage for RequestValidationPolicyJoss Armstrong2-7/+90
Added test cases for untested parts of code Issue-ID: APPC-1482 Change-Id: I3dfa64b4eb1f69a08ca3346d75ae362affd55e0d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Change parent version to appc snapshotPatrick Brady1-1/+1
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 Brady1-1/+1
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-11-16More code changes for importingBalaji, Ramya (rb111y)1-0/+2
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 Brady1-1/+1
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-11-08Code modification attempts to fix issue1.4.1Balaji, Ramya (rb111y)1-2/+3
Issue-ID: APPC-1231 Change-Id: I710487b70624b1f4736de29f84f627a8f7a2ccf7 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-07More logging added to debugBalaji, Ramya (rb111y)2-3/+14
Issue-ID: APPC-1231 Change-Id: I45790aff545c566fbf62ea1908143b15f3920122 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-11-07Added more logging to narrrow down issueBalaji, Ramya (rb111y)3-3/+18
Issue-ID: APPC-1231 Change-Id: I145c1309cb80b46477eca665ace5ce2358fac819 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-10-11Roll to next version after releasePatrick Brady1-1/+1
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 Brady1-1/+1
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady1-0/+1
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-09-18scopeOverlap errorfix actionrequest fr force=falseModaboina, Kusumakumari (km583p)2-2/+11
Issue-ID: APPC-1188 Change-Id: Ife6666e80025a595c5a8f840a00d0882ac80ed71 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-09-17Adding DistributeTraffic LCM APITomek Osinski2-0/+29
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-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-08-24Remove old appc-commonRyan Young1-0/+4
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-23Fix request handler class errorPatrick Brady1-0/+1
Change-Id: I8e46de98f1a319452a9133835d0fe0b1430303ca Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1158
2018-08-13Upgrade appc-dispatcher features to karaf4Patrick Brady1-6/+10
Change-Id: I9d2ea6e968a214f0b141d7a3fad7e09dd07eb6d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1136
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-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 McClung1-2/+1
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 McClung31-62/+31
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 Brady1-1/+1
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 Young1-1/+4
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-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 Wonnell2-4/+23
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>