aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dispatcher
AgeCommit message (Collapse)AuthorFilesLines
2018-02-07Unit Tests for APPC Dispatcher LicenseModel classamshegokar1-0/+48
Adding Unit test for org.onap.appc.licmgr.objects class https://sonar.onap.org/drilldown/measures/org.onap.appc:appc?highlight=overall_coverage&metric=overall_uncovered_lines&rids%5B%5D=116663&rids%5B%5D=117093 Change-Id: I9e49f42bb4cfc9756a0c26b71413216003adc9e3 Issue-ID: APPC-576 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-07Fixed issues in MSO and StopApplication payloadvidhyasree1-1/+35
Issue-ID: APPC-567 Change-Id: I7729322aea93eea6b83cf88b0e9d7600a41535e0 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-05Sonar fixes in "appc-ranking-framework-lib"wejs9-53/+62
Change-Id: Ib9c490a8bcb5107fda4be1baf12d776b30777be1 Issue-ID: APPC-477 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-01-30quick fix and make constant publicTaka1-1/+1
Change-Id: I8fb290ec7d0ef6f04478cb10e43a24b9a5ef7b27 Issue-ID: APPC-487 Signed-off-by: Taka <tc012c@att.com>
2018-01-30add junit cases in AppcDatabaseConnectionPoolTaka3-21/+82
Change-Id: I978d9db8aa5f459c578d4080bee5365af187a7cd Issue-ID: APPC-531 Signed-off-by: Taka <tc012c@att.com>
2018-01-29enhance test coverage under appc-request-handlerTaka1-0/+41
Change-Id: Ifa491d78dd2a65e3e3cbd25d09d8eda7a983a398 Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-487
2018-01-26Fix in DBUtilsburdziak1-2/+5
Changed to EELF Change-Id: I6e78aaa9c350e89b68fed597313580dd3b167a61 Issue-ID: APPC-503 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-25fixed critical issues from sonar reportTaka2-9/+11
Change-Id: I443db1a8104bdfbfb20ec604978d758edfe7fb44 Issue-ID: APPC-429 Signed-off-by: Taka <tc012c@att.com>
2018-01-25Fix in WorkflowResolverburdziak1-1/+1
Change-Id: If415f893a521ad3c3caf7951b0f8d97cd5158cc6 Issue-ID: APPC-516 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2018-01-22fixed for defect APPC-315 bundle dependency addedprashank1-0/+1
Change-Id: I32a703c5f0598fef6237b1069f7864e096a5a56b Issue-ID: APPC-315 Signed-off-by: prashank <prashant.kumar1@amdocs.com>
2018-01-19Fixing the dblib import packagePatrick Brady1-1/+1
The import was incorrectly set to org.onap.ccsdk.sli.resource.dblib. It should be org.onap.ccsdk.sli.core.dblib Change-Id: I4ad2b78c49f81d23fd12496aa8b31c18ff3bb27c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-434
2018-01-08Include impacted changes for APPC-346,APPC-348Anand194-7885/+11420
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>
2018-01-03Fix sonar blockersTomek Kaminski1-12/+10
Fix two blockers with possible NPE in accessing parentNode Fix major related to using diamond operator with generics Fix major related to nesting more than 3 if statements. Change-Id: Ic3e5271bc599120ff6a3d1f74c97e614866c44ad Issue-ID: APPC-367 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-01-02fix some minor issues for SonarTaka3-3/+0
Issue-ID: APPC-363 Change-Id: I3761ea2f235e6b182f04d5ccdb104df295441c05 Signed-off-by: Taka <tc012c@att.com>
2017-12-21enahance Sonar coverage rateTaka5-8/+0
Change-Id: I08fbb09495a400cdfb85489ed2f964d6c63aa737 Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-21Fix sonar issues for APPCTaka2-2/+0
Change-Id: I386f6794215eb69b8547fa06193ad78f951b327b Issue-ID: APPC-323 Signed-off-by: Taka <tc012c@att.com>
2017-12-19Update bundle names from openecomp to onapTakamune Cho5-62/+62
Change-Id: Ib0cf4edbab87a32c9d83cc9473412feb77b27a0e Issue-ID: APPC-13 Signed-off-by: Takamune Cho <tc012c@att.com>
2017-12-13Fourth part of onap renamePatrick Brady7-7/+7
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 Brady154-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 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>