summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-25Junit for APPC for Network ClientAnand Chaturvedi9-6/+293
Issue-ID: APPC-168 Change-Id: I0654a0d6123b5827458cd3e15e12a1b5b254f918 Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-25Junit Cases for APPC dataServicesAnand Chaturvedi4-290/+467
Issue-ID: APPC-168 Change-Id: Ia5ae825f1c7919d93afb460cde7ae0fa2bcd0c6c Author: Anand Chaturvedi <ac204h@att.com> Date: Fri Aug 25 15:41:42 2017 -0400 Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-25Enhance ASDC listener bundler start and stopbeili.zhou4-210/+459
Store ASDC listner start up initialization thread, to provide reference for ASDC listener stop to terminate the thread if it is still running at stopping time. Add thread interrupt checking in initialization thread, to allow earlier termination of the thread during stopping process. Issue-Id: APPC-166 Change-Id: Ibc13afce251ce9344a4ad807d3927fc277bcbe6c Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-25Added New Junit Cases for APPC Design ServicesAnand Chaturvedi6-244/+510
Change-Id: Icc55aaadc1df1b8c368afaeb092a6c64a71202b7 Issue-ID: APPC-168 Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-24Added New Junit Cases for APPC Design ServicesAnand Chaturvedi27-201/+2181
Issue-ID: APPC-168 Change-Id: Ib321bb77af3cb47abfce80d96f50a6b75b34b34e Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-23Remove license plugin and filesSkip Wonnell5-106/+0
Change-Id: I5b7a1bf89bdecf480aa6e2defed497915c77e643 Issue-ID: APPC-96 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-23Add testing dependencies to dgraph pomSkip Wonnell1-0/+16
Insert missing junit, mockito, and powermock dependencies in pom. Change-Id: I74d19f9ec49edddf6f7c3a1608ee69dd698850a1 Issue-ID: APPC-165 Signed-off-by: Skip Wonnell <kw5258@att.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 Orchmojahidi6-43/+192
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-19Update license configuration to exclude Json filesSkip Wonnell1-1/+1
Fix the wildcard in the exclusion of files during the process-sources phase. Change-Id: If4b579ddd288655236e6d5cee14309a9d66acced Issue-ID: APPC-161 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-18Set sonar plugin version to 3.2Marcus G K Williams1-0/+5
Sonar plugin errors when using newest version of plugin specificied by oparent pom.xml. Issue-Id: APPC-156 Change-Id: Iad830be0fc8ecac6bb1a515512f5c32a6f899996 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-18Fix ExecutionQueue cannot be cleanedHao Kuang7-186/+220
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-18Initial commit for Sequence GeneratorKalpesh Chaniyara63-0/+6788
Added sequence generator for start and stop action with dependency model Removed java check style from json files from license maven plugin JIRA Issues : APPC-33,APPC-106 Issue-Id : APPC-106 Change-Id: I7f12d39b705d77d559790a10b914b8108f5faa5e Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
2017-08-18Fix sonar blocker in DefaultConfigurationSkip Wonnell1-23/+32
Update the equals() method with checks for null and for class equality. Issue-ID: APPC-156 Change-Id: I7ee2ded5d18be560ee1d7bc63b936f22602ca0b4 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-18Initial add of appc-directed-graph bundlesSkip Wonnell235-0/+27188
Directed Graph library Additional JIRA Issues: APPC-66, APPC-71, APPC-74 Issue-ID: APPC-65 Change-Id: I1bd643f7675dec19e562e99db65bafa0dcda6ef4 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-18Initial adds artifact handler and design servicesSkip Wonnell113-251/+6989
asdc-artifact-handler: an interface to receive artifacts distributed by SDC and persist them into the local database. appc-design-services: an interface to manage VNF configuration artifacts, primarily those generated by the configuration design tool. Includes these user stories: APPC-28/85 Change-Id: Ib207070d4593554fa424fc69d9c77a6cd5349fec Signed-off-by: Skip Wonnell <kw5258@att.com> Issue-Id: APPC-9
2017-08-17Initial commit for appc-config-audit bundleSkip Wonnell33-8/+1768
This Bundle is used for Auditing against a running configurition Signed-off-by: Skip Wonnell <kw5258@att.com> Issue-Id: APPC-22 Signed-off-by: Patrick Brady <pb071s@att.com> Change-Id: Id19c65e351cc377d32d6533d3fa73415019652f0
2017-08-17Initial commit for appc-config-adaptorSkip Wonnell26-0/+3809
This bundle contains utilities used by config-generator. Change-Id: I04877ebe90536fd57368d00c033189c280e77c90 Signed-off-by: Skip Wonnell <kw5258@att.com> Issue-ID: APPC-67
2017-08-17Initial commit for config-generator bundleSkip Wonnell53-0/+2965
This bundle contains logic for creating the configuration, reading templates, and merging the data together Issue-ID: APPC-59 Change-Id: Ifd745964f659f075250d6acaf1b5f033da28e1c4 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-17Initial commit for appc-flow-controller bundleSkip Wonnell57-80/+5979
This bundle contains the APPC orchestration control for the directed graph for model driven transactions Issue-ID: APPC-73 Change-Id: Ia812fe14b2d6aa46c3acd5b2bfab0c004507c628 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-17Initial commit for appc-data-services bundleSkip Wonnell24-1/+2325
This bundle contains the generic execute nodes that interact with the database. Issue-ID: APPC-58 Change-Id: Ib1447443ed259f4133cd33d554a5ac43f2c3dd1b Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-16Fix APPC sonar coverageMarcus G K Williams1-7/+1
Issue-Id: APPC-156 Change-Id: Idccbf97538d05d173ebe74cef1442392c6a91486 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-08-16[APPC-144] OAM operation abort messagesbeili.zhou10-53/+289
Provide abort audit log as well as notification when OAM operation is interrupted by a new OAM operation request. Fix missing ID in audit log for reject message. Issue-Id: APPC-144 Change-Id: Ie87e19949be85c085444c753fdf061f4fc45e48f Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-16Initial commit for appc-encryption-tool bundleSkip Wonnell21-1/+1267
appc-encryption-tool: module to retrieve and store encryped credentials Change-Id: I3d45c662c9d58dbeec2ab7fffb51658c9ee0d5d3 Signed-off-by: Skip Wonnell <kw5258@att.com> Issue-Id: APPC-67
2017-08-16Create and store Dependency model from ToscaMasal, Sushil (sm588m)13-104/+645
Updated asdc listerner bundle to create dependency model from tosca artifact reveived from SDC.This dependency model will be in JSON format and will be stored to ASDC_ARTIFACT table as new artifact. Also ASDC_REFERENCE table will be updated to with new artifact details. This commit also include bug fix for MDSALStore to handle all http code for successful rest calls Issue ID: APPC-32 Change-Id: Iaef6cdee67475917968a4bcdec131cd1bc4c4f41 Signed-off-by: Masal, Sushil (sm588m) <sushil.masal@amdocs.com>
2017-08-16Merge "Action-Identifier to support vf-module-id"Marcus Williams4-1/+18
2017-08-15Merge "[APPC-127] NPE on execution of LCM action Lock"Marcus Williams4-5/+4
2017-08-15[APPC-143] OAM restart operation with stop errorbeili.zhou7-134/+92
Fix OAM restart operation does not report stop failure. And also remove unused LCM OperationStatus and related comments. Issue-Id: APPC-143 Change-Id: Ia2580717ef515856725e3e50c63b17404f123325 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-15Added review commentAnand Chaturvedi51-0/+3918
Initial commit for Network-Inv and AAI client commit 61419e46211f1f1e763d4a84214c62a5e699bdf2 Author: Anand Chaturvedi <ac204h@att.com> Date: Mon Aug 14 19:54:11 2017 -0400 Issue-Id: APPC-21 [OnapMigration] OnapMigration for APPC OutBound Services.. Change-Id: I7db4bcb52b050988b601f3abac544c43f34c677b Signed-off-by: Anand Chaturvedi <ac204h@att.com>
2017-08-15Action-Identifier to support vf-module-idKalpesh Chaniyara4-1/+18
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-14Initial commit for appc-config-paramsAnand Chaturvedi45-0/+3370
Change-Id: I5805591892184b4456dd30639417d783d353a6a3 Signed-off-by: Anand Chaturvedi <ac204h@att.com> Issue-Id:APPC-9
2017-08-14Update license plugin to exclude json filesSkip Wonnell1-0/+4
Change-Id: I843185af796729c71ccc9aa822844436d4804c3f Signed-off-by: Skip Wonnell <kw5258@att.com> Issue-ID: APPC-87
2017-08-14OAM operations 3 - JUnit testsbeili.zhou10-0/+1693
OAM operations changes are large, need to be broken down to multiple submission based on size and compilability. This is the third (last) set which covers JUnit test cases. Includes these user stories: APPC-39/41/43/44/45/46/52/77. Issue Id: APPC-38 Change-Id: I2df5e6b371d05030fb18bdd48155e4bb23034997 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-14OAM operations 2 - oambeili.zhou19-557/+2687
OAM operations changes are large, need to break down to multiple submissions based on size and compilability. This is the second set which covers the following OAM operations: start, stop, restart, maintenance-mode, and timeout of the operation along with error OAM state. Includes these user stories: APPC-39/41/43/44/45/46/52/77. Issue Id: APPC-38 Change-Id: Iafad643c5ba2d2af24482b03db8f7a40397fa46e Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-14OAM operations 1 - miscellaneousbeili.zhou9-277/+410
OAM operations changes are large, need to break down to multiple submissions based on size and compilability. This is the first set which covers: feature installation, audit log message, listener instantiation and etc. Includes these user stories: APPC-39/41/43/44/45/46/52/77. Issue Id: APPC-38 Change-Id: Ifc0f5bd2468732d04ae462be09a6ad720aefba2b Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-11Merge "[APPC-44] revert license line ending changes"Marcus Williams30-1987/+1987
2017-08-11[APPC-45] appc-dg-common startbeili.zhou3-62/+76
Fix appc-dg-common bundle start issue (does not occur at the APPC start up) by using blueprint for its instantiation. Issue-Id: APPC-45 Change-Id: I40887701269a44ba711a00aa12a551e672b34532 Signed-off-by: beili.zhou <beili.zhou@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-11Fixing dmaap authentication exceptionPatrick Brady1-10/+6
Dmaap http client was incorrectly throwing an exception if no authetication was present. This should not be since dmaap does not require authentication. Change-Id: If90ce1e52bf226bacc5a6c57bfe8aaa98e583bc5 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: APPC-135
2017-08-11[APPC-44] revert license line ending changesJoey Sullivan30-1987/+1987
Issue-Id: APPC-44 Change-Id: Id9350fb7e19512ee380d6ca480d5ca9569fe3bd4 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-08-11[APPC-44] APPC Lifecycle Management refactorbeili.zhou56-1710/+2402
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-08[APPC-126] rename license diretory for windowsbeili.zhou4-1/+1
Change-Id: Ic93af88532864ca4f4e9d3024719c9f4fbd651a6 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-04[APPC-121]Fix VNF NumberFormatExceptionbeili.zhou1-44/+62
Change-Id: I14464adc0b11b909131232cdcb9d46cb0a01b000 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 Brady88-1563/+4464
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-31Avoid possible NPEs in EventHandlerImpl.javaSkip Wonnell1-8/+12
Change-Id: Id2c5fe1b07ecf1c6e7b70261daae8fa3955400e7 Signed-off-by: Skip Wonnell <kw5258@att.com> Issue: APPC-98
2017-07-27Fix resource leak in ChefAdapterImpl.javaSkip Wonnell1-5/+4
Convert to Closeable versions of HttpClient and HttpResponse and instantiate both inside a TWR. Change-Id: I37ac34bab545592f51fb054068065fa1c00f7224 Signed-off-by: Skip Wonnell <kw5258@att.com> Issue: APPC-94
2017-07-20[APPC-93] Resource leak in appc.adapter.chef.chefclient.UtilsSkip Wonnell1-8/+2
Place instantiation of FileReader and BufferedReader inside a TWR Change-Id: Ibc0fffa76e536bdccca92731dc7ebc878faf67a1 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-07-20Applying license changes to all filesPatrick Brady760-2245/+3948
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>