aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-command-executor
AgeCommit message (Collapse)AuthorFilesLines
2019-01-17Fix unit tests for appc-command-executor-coreJoss Armstrong5-99/+187
Increase line coverage of package from 43% to 93% Issue-ID: APPC-1329 Change-Id: I0a4e2a0a85f6761becde4a74609358267530d92d Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-01-08Change parent version to appc snapshotPatrick Brady6-6/+6
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 Brady6-6/+6
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-12Increment version numberPatrick Brady6-6/+6
Changing to version 1.5.0-SNAPSHOT Change-Id: I1e0773d16cb058ac2fb96718581cfbf8d716a2e0 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-10-11Roll to next version after releasePatrick Brady6-6/+6
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 Brady6-6/+6
Change-Id: I298b1ac52c849320b67c649017b3604490a5063b Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1212
2018-09-24Add version to pom filesPatrick Brady3-0/+3
Change-Id: Ia7eaffdb1391b0b836a2911395c2b768b4926ef3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1208
2018-08-24Remove old appc-commonRyan Young1-1/+1
Issue-ID: APPC-1159 Change-Id: I65f1bc07fe0088df0624266e6158296ac73884a6 Signed-off-by: Ryan Young <ry303t@att.com>
2018-08-13Upgrade appc-dispatcher features to karaf4Patrick Brady6-132/+176
Change-Id: I9d2ea6e968a214f0b141d7a3fad7e09dd07eb6d3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-1136
2018-07-27added test case to TestLCMCommandStatus.javaSandeep J1-0/+18
addes test case to increase code-coverage Issue-ID: APPC-1086 Change-Id: Ie36b332e947900990d62a11723070a5ae8e53a99 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-07-26added test case to TestCommandExecuterInput.javaSandeep J1-0/+9
added test case to increase code coverage Issue-ID: APPC-1086 Change-Id: Iad87297e2f52c7a14bfa178ab6be4a841604715d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-06-26Fix for invalid locking approachvidhyasree1-2/+0
Issue-ID: APPC-1019 Change-Id: I738c4ad72c29f494488a3fe3657243927797e2b5 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-22Shore up Logging Score on DGsvidhyasree1-1/+12
Modify TopologyService and DG calls to have all logging fields Issue-ID: APPC-1020 Change-Id: I60078960ed0cfa8c70d0f4673c6d4a5026afc673 Signed-off-by: vidhyasree <sn141y@att.com>
2018-06-14Update license header in appc-dispatcher xml filesJohn McClung6-12/+6
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-07Update license header in appc-dispatcher filesJohn McClung8-16/+8
Modify license header in various appc-dispatcher java files to reflect 2018 changes. Change-Id: Id522869bf1343c90222b16fc3a9173f24d1b583e Issue-ID: APPC-978 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-04-11ODL Upgrade Method 2Patrick Brady1-2/+18
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-03-15Unit Test Coverageamshegokar4-0/+184
Unit test Coverage for: org/onap/appc/executor/objects classes Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-command-executor-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fexecutor%2Fobjects Change-Id: I692ed8e4fc6d3789fdcff24a4fc231320f5a23e3 Issue-ID: APPC-746 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-20Update .gitignore with license textSkip Wonnell7-12/+91
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-01-08Include impacted changes for APPC-346,APPC-348Anand29-1894/+900
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>
2017-12-21enahance Sonar coverage rateTaka3-5/+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 Brady18-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 Brady25-154/+154
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 Wagantall5-5/+5
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 Brady5-5/+5
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-07Change to CCSDK and ODL CarbonPatrick Brady3-9/+9
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.zhou2-300/+295
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-22Fix appc-command-exectuor bundle fails to startHao Kuang1-5/+4
Fix that appc-command-executor-core bundle fails to load in karaf Issue-Id: APPC-163 Change-Id: Ib3099a34e60ca59e7790ffe04f8a02869d995559 Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-08-22Rename action Block/UnBlock and Update Orchmojahidi1-9/+7
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-18Fix ExecutionQueue cannot be cleanedHao Kuang2-35/+49
Fix that LCM Requests in Execution Queue continue after Stop OAM request sent. Fix that Appc-Ansible bundle cannot be fully stopped because of NPE. Issue-Id: APPC-159 Change-Id: I8f0a3a79a5c572ad84e66f71b4ddb47118704302 Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-08-11[APPC-44] command executor feature installerbeili.zhou6-20/+334
ONAP used karaf plugin installation which required each feature has installer, this one is adding the feature installer for command executor. Pre-change for APPC OAM operations. Issue-Id: APPC-44 Change-Id: I02080f4ee52ee0e9794237e11ef86f4c330de420 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-02Merging in bug fixesPatrick Brady8-55/+128
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady20-60/+100
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady20-60/+80
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady9-80/+118
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams1-4/+0
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-16Fix compilation errors in EclipseGary Wu1-1/+1
Change-Id: Ic5aa1977199237e006376231ae3970ece7f2cd26 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-05-16Refactor CommandTask classes to be immutableGary Wu8-107/+68
Refactor CommandTask and its subclasses to be immutable. Also made CommandResponse immutable. Change-Id: I9ea1b57fdff677b163c0fe9ad5d48f24b781a08f Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-05-16Migrate to Java 8 Time APIGary Wu3-23/+24
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-01Make Flags immutableGary Wu2-11/+9
Change-Id: Ib2e06d41d4e1eb6fb40144258067d2c71ac1d620 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-05-01Remove CommandExecutorInputGary Wu9-132/+66
CommandExecutorInput.getTtl() was never called. Once that is removed, CommandExecutorInput only contains a single RuntimeContext object. This change removes CommandExecutorInput and replaces its uses with RuntimeContext directly. Change-Id: Ib8145b7f844d4b9ea294622e7cf4bdfc3aefcd0a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-21Remove CommandRequest and subclassesGary Wu10-208/+58
From the last refactoring, CommandRequest ended up containing only a single CommandExecutorInput value. This change removes CommandRequest and subclasses and replaces their use with CommandExecutorInput directly The type parameter on CommandTask is also removed accordingly. Change-Id: I867df65f344fa58698a44c4b20815dbce382ad55 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-21Merge "Remove unused methods from CommandRequest"Patrick Brady1-46/+1
2017-04-21Merge "Refactor CommandExecutorInput to be immutable"Patrick Brady3-17/+9
2017-04-20Merge "Refactor Status to be immutable"Patrick Brady5-20/+13
2017-04-19Remove unused methods from CommandRequestGary Wu1-46/+1
Remove unused methods/fields from CommandRequest and make CommandRequest immutable. Change-Id: Ie7c43da6a1025ce98dedbff2f68f6f2356882b5b Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-19Refactor CommandExecutorInput to be immutableGary Wu3-17/+9
Change-Id: Iebaf1f35d4229426086c2f2f1a41da2511f8110b Signed-off-by: Gary Wu <gary.i.wu@huawei.com>