summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
AgeCommit message (Collapse)AuthorFilesLines
2017-12-13First part of onap renamePatrick Brady197-855/+855
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 Wagantall30-30/+30
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 Brady30-30/+30
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-10-07Fix for the LCM Restart Request date issueRahul Sharma (153216)1-1/+2
Issue-Id: APPC-262 Change-Id: I34455f902d55ff0c97ca1dc81e7388da388d735e Signed-off-by: Rahul Sharma <Rahul.Sharma2@amdocs.com>
2017-09-28Sonar Critical Fixsanchitap1-1/+1
WorkflowResolver.java: L47 Sonar link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|rules=squid%3AS2184 Change-Id: Id73e2153b13716706b0dce4204d8c7519885afe5 Issue-Id :APPC-238 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2017-09-15Changing to mariadb java clientPatrick Brady4-9/+10
Changing from the mysql java connector to the mariadb java client. Change-Id: I2f9b1f5da37424d529e196f9b6b8d0bf4f1f9d2f Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-198
2017-09-14Update TTL calculation to use millisecondsSkip Wonnell1-1/+1
Code used mix of seconds and milliseconds calculate TTL. Updated to use consistent units. Also added a new test file to increase code coverage. Issue-ID: APPC-207 Issue-ID: APPC-181 Change-Id: I07687ac30fa2e75cedb027ec2bb71f6914d42075 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady18-44/+38
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-31Update ASDC References to SDC 1/2mojahidi3-10/+10
This patch changes ASDC to SDC in APPC code, bundle names and other pertinent places. This change sanitizes SDC for Open Source. It is the first in a two part change, the first updates code mentions and artifacts. The second will update database references. Change-Id: Iffd73480cc325172b5d8969fe839728f1c88ef78 Issue-ID:APPC-179 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-08-30Remove catch throwable and errorbeili.zhou3-511/+440
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-28Fix that APP-C LCM Command Running After OAM StopHao Kuang1-1/+18
The fix code does that waiting for threads in the queue completely interrupted than let bundle:stop() method return. Issue-Id: APPC-162 Change-Id: I8b34fc48fd2ae5ae1ad67d11ee3ad5f349171b47 Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-08-22Fix appc-command-exectuor bundle fails to startHao Kuang2-5/+51
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 Orchmojahidi4-40/+81
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 Kuang6-162/+204
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-16Merge "Action-Identifier to support vf-module-id"Marcus Williams2-1/+12
2017-08-15Action-Identifier to support vf-module-idKalpesh Chaniyara2-1/+12
As of now LCM Request Identifier supports vnf-id, vnfc-name and vserver-id. This change supports vf-module-id as action identifier and its value is set in DG context with key input.action-identifiers.vf-module-id when invoking DG Issue-Id : APPC-142 Change-Id: I65d44b073d32e39eaba183b8ce47584441921f3c Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
2017-08-15[APPC-127] NPE on execution of LCM action LockKalpesh Chaniyara4-5/+4
2 Constants classes were present under same package in appc-dispatcher sub modules, Moved one class under appc-request-handler-core to different package Issue-Id :APPC-127 Change-Id: I9bb9000b90862d245c2c8465495690a2635a741d Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@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-11[APPC-44] APPC Lifecycle Management refactorbeili.zhou39-2040/+71
Pull APPC lifecycle Management out of APPC dispatcher, so that it can be used by both APPC dispatcher and APPC OAM. This is the pre-step of introducing APPC OAM operations. Issue-Id: APPC-44 Change-Id: Icbde399b5121fae9e1919cfdd5c77bbe55d61188 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-03Avoid possible NEP in WorkingStateManagerImpl.javaSkip Wonnell1-1/+2
Squashed commit of the following: commit 7f62d9a1fa166aa55579795b7a592e22a6df3772 Author: Skip Wonnell <kw5258@att.com> Date: Thu Aug 3 13:22:22 2017 -0500 [APPC-92] Fix sonar blocker issue Check vnfWorkingStateDto for null before dereference. Change-Id: I4630df4bcd3d696041123e1fc0267c46a756425b Signed-off-by: Skip Wonnell <kw5258@att.com> Issue: APPC-92
2017-08-02Merging in bug fixesPatrick Brady31-1158/+1417
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady187-561/+935
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady187-561/+748
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady64-447/+1673
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams6-59/+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 Wu2-2/+2
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 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>