aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-command-executor/appc-command-executor-core/src
AgeCommit message (Collapse)AuthorFilesLines
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-02Merging in bug fixesPatrick Brady7-52/+125
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady12-36/+60
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady12-36/+48
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady6-73/+93
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 Wu7-102/+62
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 Wu7-80/+64
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 Brady2-7/+3
2017-04-20Merge "Refactor Status to be immutable"Patrick Brady4-20/+8
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 Wu2-7/+3
Change-Id: Iebaf1f35d4229426086c2f2f1a41da2511f8110b Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-19Refactor Status to be immutableGary Wu4-20/+8
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-04-19Parameterize raw generic type CommandTask<M>Gary Wu4-8/+8
Change-Id: I935d39537b83d1daaa63cee86d6fb83c49a5011f Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-02-15Moving all files to root directoryPatrick Brady15-0/+1627
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>