summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
AgeCommit message (Collapse)AuthorFilesLines
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 Wu16-173/+210
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 Wu6-45/+29
Change-Id: Ib2e06d41d4e1eb6fb40144258067d2c71ac1d620 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-05-01Remove CommandExecutorInputGary Wu11-137/+67
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 Brady4-20/+10
2017-04-20Merge "Refactor Status to be immutable"Patrick Brady11-53/+34
2017-04-20Merge "Parameterize raw generic type CommandTask<M>"Patrick Brady4-8/+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 Wu4-20/+10
Change-Id: Iebaf1f35d4229426086c2f2f1a41da2511f8110b Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-19Refactor Status to be immutableGary Wu11-53/+34
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 QueueMessage<M>Gary Wu2-9/+6
Change-Id: Ib6de8d2f0c62bf7a5564b4e104c9384b7b6debce 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-03-10Updating master to 1.1.0-SNAPSHOTPatrick Brady34-35/+35
Change-Id: I4f2bf794f5ce8b60c4fc35817e69c9cbd337cc47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-03-03Revert "Removing resolution optional"Patrick Brady2-2/+2
This reverts commit c0b99426c3b8eff26830bccb6e54010b4bbfbfba. Change-Id: Ic4a61188a88f5feabf7c76af4fff3a6fc1e5c3d0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-03-02Removing resolution optional bundle statementsPatrick Brady2-2/+2
Statements were added a few commits ago, across several commits. Removing all of them. Change-Id: I7891e85be4e890ff52b887c0463615c731eccc75 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-27Adding more resolution optional to import-packagePatrick Brady1-1/+1
Change-Id: I36abc9429f1ce21fb75e73b3dd7dc1067c49be63 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-27Adding more scope constaints to import-packagePatrick Brady1-1/+1
Constaining scope of import-package to only runtime or compile dependencies. Change-Id: I507593cd1f446310525945385f7c7c23d6fc1a38 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-27Adding resolution optional to import-packagePatrick Brady1-1/+1
Change-Id: I47bbd5c8954c0805cf1ccc74e2a32f6d4a1dd369 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-27Adding scope constaint to import-packagePatrick Brady1-1/+1
Constaining scope of import-package to only runtime or compile dependencies. Change-Id: I5fe2123a140895a29de0f3c36e5487c789986a48 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-24Changing to snapshot versionPatrick Brady34-35/+35
Changing version from 1.0.0 to 1.0.0-SNAPSHOT Change-Id: If11d37d83348e5c4db298414e627622a62480d3f Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-21Ignoring tests temporarilyPatrick Brady1-0/+2
Ignoring tests so that docker images can be built. Problems will be fixed and tests re-enabled. Change-Id: Iba214f02df61b463a7bb5ca5a23be678933fa03b Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-15Moving all files to root directoryPatrick Brady275-0/+17895
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>