summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-31Fix sonar blocker in ChefAdpaterSkip Wonnell1-15/+5
Issue-ID: APPC-156 Change-Id: Ic2cbb76bb639094386c14bd06e068c9d5ad7bd0d Signed-off-by: Skip Wonnell <skip@att.com>
2017-08-30Add appc directory and indexScott Seabolt1-0/+8
Adding docs index directory Issue-ID: [APPC-102] Signed-off-by: Scott Seabolt <js9808@att.com> Change-Id: I4882dc6ae042010edf6c999fc1ceb415c350beb0
2017-08-30removed att reference from pom fileKalpesh Chaniyara1-2/+25
Removed att reference from the feature repository in pom file Issue-Id : APPC-177 Change-Id: Id2f7df836e3a0bd1204bdb93b72e9ac76d38fbba Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
2017-08-30Remove catch throwable and errorbeili.zhou26-774/+682
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-30 Increase unit test coverage of appc-metric moduleAbhai Singh1-3/+129
Updated test class TestMetricServiceImpl with unit test cases Change-Id: I4290f426259b837ad4db63efd8d64ba9989843cd Issue-ID:APPC-176 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-08-30Added domain model package as bundle dependencyKalpesh Chaniyara1-0/+24
Added org.openecomp.appc.domainmodel.lcm package as the dependency for bundle appc-provider-bundle Change-Id: I9130c36204dd595dceb5e04689014f40774b4f2c Issue-Id:APPC-169 Signed-off-by: Kalpesh Chaniyara <kalpeshkumar.chaniyara@amdocs.com>
2017-08-30Initial add of APPC client librariesSkip Wonnell163-0/+13841
Issue-ID: APPC-180 Change-Id: Ie0be2b518b90bb7f9996e9260c43fef75d1a5821 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-30ChefAdapter code clean-upSkip Wonnell20-1513/+1359
Issue-ID: APPC-90 Change-Id: I582d6b0c81d5a89938fff6038dfcc221ccaf19c1 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-30Truncate Service_Description fieldAbhai Singh1-1/+10
Updated ArtifactStorageService to truncate if length exceeds 255 Change-Id: If456802c3370553d9ed3a8942ff16b407f896ed2 Issue-ID:APPC-184 Signed-off-by: Abhai Singh <Abhai.Singh@amdocs.com>
2017-08-29Remove duplicate codebeili.zhou13-1007/+701
Create a method for duplicated code to reduce code duplication in IAAS adapter provider operation. Issue-Id: APPC-175 Change-Id: Idfbfc7ffad433d0e7469b214e5b09d0dfd5dd7d2 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-29Fix local build failurebeili.zhou1-84/+113
Fix local build is failing in appc-network-inventory-client-provider due to missing dependency definition for PowerMockito. Issue-Id: APPC-175 Change-Id: I47695277d6d635707cfd23246951ae22f02698f2 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-29RestAdapter code clean-upSkip Wonnell2-453/+249
Issue-ID: APPC-90 Change-Id: I34b07327c82fb080d94d0fa6c70ae5cdfd8c5eb0 Signed-off-by: Skip Wonnell <kw5258@att.com>
2017-08-28Clean up directed graph java codeSkip Wonnell17-905/+740
Issue-ID: APPC-90 Change-Id: I3ea4912523eed1fed85aa2e5909ec897bb13b72b Signed-off-by: Skip Wonnell <kw5258@att.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-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>