summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-dispatcher-common
AgeCommit message (Collapse)AuthorFilesLines
2018-06-07Update license header in appc-dispatcher filesJohn McClung36-71/+35
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-06-07Update license header in appc-dispatcher-commonJohn McClung45-90/+45
Modify license header in appc-dispatcher-common java files to reflect 2018 changes. Change-Id: I69359d95bda11f060c67196b85fdc5e0fbf0296f Issue-ID: APPC-979 Signed-off-by: John McClung <jm1364@att.com>
2018-05-22Increment version for new branchPatrick Brady10-10/+10
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-3/+2
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-28Restore removed license text linesamshegokar2-0/+8
Restored below license text: * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * Copyright (C) 2017 Amdocs Change-Id: If79dbea73111552773092fda8dcd62d9569c70e3 Issue-ID: APPC-801 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Coverage for:org/onap/appc/dao/util/exceptionamshegokar3-74/+156
Unit Tests for: 1) DataAccessException.java 2)DBConnectionPoolException.java 3) JdbcRuntimeException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc-netconf-adapter-bundle&selected=org.onap.appc%3Aappc-data-access-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdao%2Futil%2Fexception Change-Id: Ie5c44417ca33c73de5577052a01ca5f019adeb1b Issue-ID: APPC-781 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Unit test for Messages.javaamshegokar1-0/+48
Unit test for Messages.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc-netconf-adapter-bundle&selected=org.onap.appc%3Aappc-data-access-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdao%2Futil%2Fmessage Change-Id: I2204f296d3d2200eb4aa4f809e0c0dd841b0b93e Issue-ID: APPC-782 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-19Unit Test Coverageamshegokar6-1/+248
Unit Tests for APPC Dispatcher Common - Domain Model Lib classes Part:2 1.ActionLevel.java 2.RequestModes.java 3.RequestStatus.java 4.ExternalActionStatus.java 5.VNFOperation.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm Change-Id: I8f870e43d6f847cd9800a6178e1020ba26f0e211 Issue-ID: APPC-749 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Unit tests for Dispatcher:lockmanager-api classesshubhada3-1/+101
Unit Test Coverage for: 1)LockException.java 2)LockRuntimeException Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Alock-manager-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flockmanager%2Fapi Change-Id: Ic8407e10bbe49c868963bc4fb5c0125d4c8f29a2 Issue-ID: APPC-732 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-22Task to add ConfigScaleOut to LCM API, Yang Model.vidhyasree1-1/+1
A new action ConfigScaleOut is added to LCM API and Yang model. Removed old action item configscaleout supporting VM action level which is no longer needed. Issue-ID: APPC-479 Change-Id: Ie5452f4d5625fc3be6b66c0f403d12baa64fa096 Signed-off-by: vidhyasree <sn141y@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell19-36/+230
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-02-16Unit test coverageshubhada5-0/+369
Unit test coverage for 1.CommonHeader.java 2.Flags.java 3.RequestContext.java 4.ResponseContext.java 5.RuntimeContext.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm Change-Id: I275495faa8c34f4b2174e93a56071298450c354b Issue-ID: APPC-640 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-14Unit test coverageshubhada3-0/+265
Unit test coverage for 1.Status.java, 2.TransactionRecord.java 3.VNFContext.java Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm Change-Id: I38421c753d215ddab49431a2124c6a74056b3bf1 Issue-ID: APPC-617 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-12Unit test coverage for ActionIdentifiers.javaamshegokar1-0/+81
Sonar Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm%2FActionIdentifiers.java Change-Id: I5ae2e24811e32b7c8c19780e9eb64f083aadd6ce Issue-ID: APPC-606 Signed-off-by: amshegokar <AS00500801@techmahindra.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-30add junit cases in AppcDatabaseConnectionPoolTaka3-21/+82
Change-Id: I978d9db8aa5f459c578d4080bee5365af187a7cd Issue-ID: APPC-531 Signed-off-by: Taka <tc012c@att.com>
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 reportTaka1-6/+5
Change-Id: I443db1a8104bdfbfb20ec604978d758edfe7fb44 Issue-ID: APPC-429 Signed-off-by: Taka <tc012c@att.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-348Anand69-1766/+4226
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>
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-13Third part of onap renamePatrick Brady71-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 Brady86-202/+202
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 Wagantall10-10/+10
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 Brady10-10/+10
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-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-07Change to CCSDK and ODL CarbonPatrick Brady2-3/+3
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
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 Kuang1-0/+47
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 Orchmojahidi2-31/+64
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 Kuang4-127/+155
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-15Action-Identifier to support vf-module-idKalpesh Chaniyara1-0/+10
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-11[APPC-44] APPC Lifecycle Management refactorbeili.zhou15-704/+8
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-02Merging in bug fixesPatrick Brady4-8/+40
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady85-255/+425
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady85-255/+340
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady13-24/+711
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-16Remove commented methods/fields in APPCMarcus G K Williams1-17/+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-16Migrate to Java 8 Time APIGary Wu7-44/+42
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 Wu1-19/+10
Change-Id: Ib2e06d41d4e1eb6fb40144258067d2c71ac1d620 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-04-20Merge "Refactor Status to be immutable"Patrick Brady1-10/+7
2017-04-19Refactor Status to be immutableGary Wu1-10/+7
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-03-10Updating master to 1.1.0-SNAPSHOTPatrick Brady11-11/+11
Change-Id: I4f2bf794f5ce8b60c4fc35817e69c9cbd337cc47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-24Changing to snapshot versionPatrick Brady11-11/+11
Changing version from 1.0.0 to 1.0.0-SNAPSHOT Change-Id: If11d37d83348e5c4db298414e627622a62480d3f Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-15Moving all files to root directoryPatrick Brady112-0/+5756
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>