aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-request-handler/appc-request-handler-core/src
AgeCommit message (Collapse)AuthorFilesLines
2020-06-04lower code smellsRupinder1-5/+5
Issue-ID: APPC-1859 Change-Id: I6d0a7563199355a446345f568415a78856c0cfa6 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-14lower code smellsRupinder2-2/+1
Issue-ID: APPC-1859 Change-Id: If95047a9f6b568c8ef4796d48572c23a36ac36fc Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-05-14lowered code smellsRupinder3-6/+2
Removed some unused imports and reorder the modifiers according to java standards. Issue-ID: APPC-1859 Change-Id: Icb7d6129f583140949d5aef7a20199cc4a03425f Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-08removed code smellsRupinder1-1/+0
Removed unused imports Issue-ID: APPC-1859 Change-Id: I43556cc2ef71b6adef3f62f7ab229592a5db2a7d Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-02-12Add new LCM actions DownloadNESw and ActivateNESw, etcEnbo Wang4-18/+68
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 ConfigScaleInyongqiangliu3121-0/+6
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>
2020-01-29Change code in appc dispatcher for new LCMs in R6Dunietz, Irwin8-262/+286
Also introduce some minor improvements to robustness, efficiency, & formatting. Issue-ID: APPC-1789 Signed-off-by: Dunietz, Irwin <id1681@att.com> Change-Id: I82d970c2f7cde6c8dab1222af86ea70ce93b7e50
2019-11-26Add new LCM actions GetConfig, StartTraffic, StopTraffic, etcKeighron, Lori (lk2924)2-97/+476
New LCM actions Change-Id: Ic59607f2a7fc515bdd01be162018aaf695668f82 Issue-ID: APPC-1790 Signed-off-by: Keighron, Lori (lk2924) <lk2924@att.com>
2019-11-08Change code to use dmaap microservicePatrick Brady4-141/+37
Change method calls that used to go to the dmaap adapter, to now go to the appc service communicator, which connects to the dmaap micro service. Change-Id: I619fcb408e14fa0b926950192463d9c92ab7dbba Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1744
2019-11-08Cleanup of dmaap adapterPatrick Brady1-1/+1
Remvoing the part of the appc-dmaap-adapter that uses the dmaapClient library. This part of the code was not being used and the dmaap client library has not been updated for a long time. Also removed several un-used dependencies. Change-Id: I690afaecbfe53d88576c43aa8d114fde54c0fe48 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1744
2019-10-16replace deprecated addMixInAnnotationsTaka Cho1-12/+12
addMixInAnnotations(Class<?>, Class<?>) was deprecated use addMixIn instead Issue-ID: APPC-1764 Change-Id: Ic65e1f18a8d427f641a8d36003f29bdbf1b3b58b Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-10-10replace deprecated JsonSerialize.InclusionTaka Cho2-4/+5
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL) was deprecated use @JsonInclude(Include.NON_NULL) instead to suppress when property is NULL Issue-ID: APPC-1764 Change-Id: I1bbe10a156166bc37a167122ff68d1dc183fcd2f Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-04-04added test case to DmaapOutgoingMessageTestSandeep J1-0/+8
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia441f83ad6602a89d81e5c66b0120a6c857672c4 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-02added file to test DmaapOutgoingMessage.javaSandeep J1-0/+60
to increase code coverage Issue-ID: APPC-1086 Change-Id: I81df38037a182db5135f8d6c7b462a42891f9d36 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-01added test case to RequestModelTest.javaSandeep J1-0/+6
to increase code coverage Issue-ID: APPC-1086 Change-Id: I56c2e94a888f0f01f0bed36fbc966dce0cb69b84 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-04-01added test case to RequestDataTest.javaSandeep J1-0/+10
to increase code coverage Issue-ID: APPC-1086 Change-Id: I646694445953c690fb4c8e336346deb3f5e3b4df Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test Input.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I79d0fc71d512b440232ec31cb195c6728d11f5dc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test RequestData.javaSandeep J1-0/+51
to increase code coverage Issue-ID: APPC-1086 Change-Id: If2270ea76a0a15ae7c6f5d1d580574937be186fd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test RequestModel.javaSandeep J1-0/+51
to increase code coverage Issue-ID: APPC-1086 Change-Id: If2270ea76a0a15ae7c6f5d1d580512456be198fd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-03-28added file to test ScopeOverlapModel.javaSandeep J1-0/+45
to increase code coverage Issue-ID: APPC-1086 Change-Id: I293349c249082e176b211d0ffa8bee04cc7660b5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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, Irwin1-5/+5
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-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>
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-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-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-443root6-86/+986
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-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-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>