summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-15Fix/Add unit tests for appc-rest-adapterMarcus G K Williams3-203/+193
Refactored RestAdapterImpl.java and added RequestFactory.java to enable cleaner unit tests. Added unit tests. Issue-Id: APPC-182 Change-Id: I129a9145ac028eda3257ef8c26f67b87f12c683f Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-15Sonar Blocker fixsanchitap1-2/+2
Redundent if condition removed from DGXMLLoadNActive.java L70 & L102 Change-Id: Ia7c4d115e2fcbd29eb132791958286b077118441 Issue-ID: APPC-202 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2017-09-15Changing to mariadb java clientPatrick Brady16-62/+37
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-14Updated DG and dg loader textfilerb111y2-8/+7
Updated dg_activate.txt to point to correct rpc. Also made updates to Restart DG for invalid action level. Issue-ID : APPC-197 Change-Id: Ia7c4d115e2fcbd29eb132791958286b077115441 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-09-14Update TTL calculation to use millisecondsSkip Wonnell2-1/+765
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-13Updated APPC DocumentationScott Seabolt5-386/+16
Updated APPC Guides and index.rst to reflect docs properly and removed conf.py as it is not needed Issue-ID: [APPC-102] Change-Id: I89bf3bc9fa289d9b15205f8cd5da890ae8b29776 Signed-off-by: Scott Seabolt <js9808@att.com>
2017-09-13Correcting incorrect package importPatrick Brady1-1/+1
Change-Id: I1e8738d321769ca713f32ece2b650487d3fdcfdf Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-91 Issue-id: APPC-158
2017-09-13validate mandatry vnfc vm info is absent in inventmojahidi5-83/+214
when the vnfc SMP is mandatory in the dependency-info block but its corresponding vm details/info is not present in the inventory info validation error should be thrown Issue-ID:APPC-204 Change-Id: I606da8ce086423cf3f23c87ab0166bfb9935875b Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
2017-09-12Correcting maven staging pluginPatrick Brady1-0/+12
Change-Id: I5dd7e431568520fa7d6e65cba435aeadc3444482 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-91 Issue-id: APPC-158
2017-09-12Junit Cases for Artifact Handler.Ramya Balaji14-484/+1483
Issue-ID : APPC-168 Change-Id: Id2b211d5656ffa8d5f326c30d745bc497e76f4d0 Signed-off-by: Ramya Balaji <rb111y@att.com>
2017-09-11Correcting problems related to ccsdk,new odlPatrick Brady6-6/+17
Some imports and dependencies needed to be updated which no longer exist in the new ODl version Change-Id: I57c52b73810d3f9770b764a2afe4147d3120a87b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-id: APPC-91 Issue-id: APPC-158
2017-09-11Add APPC API Guide and APPC Client Library GuideScott Seabolt4-1/+2237
Update index.rst to reflect new docs added Issue-ID: [APPC-102] Change-Id: Id07852a9318cd8168c26f074f9ab3b6b6c441232 Signed-off-by: Scott Seabolt <js9808@att.com>
2017-09-08Cleanup project's name in SonarJessica Wagantall1-1/+1
The name parameter in the root pom.xml should match the project name in gerrit to reflect consistency in Sonar. Change-Id: Iede5b1c1bf5e1459e01048e900cbfb46d5f3ded8 Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-07Fix sonar block in Encryption ToolSkip Wonnell3-178/+118
Fix blockers and other Sonar findings. Update license text Issue-ID: APPC-186 Change-Id: Ib45020d85bde95f79b112ebd85fedfe62469b58f Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-07Fix dblib DBResourceManager instantiationMarcus G K Williams3-3/+3
Fix APPC Build, failing upstream and locally due to change in CCSDK that changes dblib to use service injection via Aries Blueprint. The change causing this in CCSDK is https://gerrit.onap.org/r/#/c/7931/ Issue-Id: APPC-196 Change-Id: I9bcfb6d87b7527fd07cb76a242b272a5bc0ad07c Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady285-778/+768
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-09-01Code clean-up in ChefAdapterImpl.javaSkip Wonnell1-116/+67
Fix multiple issues found in Sonar Analysis Issue-ID: APPC-156 Change-Id: I242c45a2eab7c4e31fb42ff9d17405aa3f210147 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-01Junit Changes for APPC Params BundleChaturvedi, Anand (ac204h)17-550/+566
Issue-ID: APPC-168 Change-Id: Ie0ddf5905f90a409db111a1cfdf728a44737a158 Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
2017-09-01[JunitCases]for config audit and config generator.Chaturvedi, Anand (ac204h)1-134/+141
Change-Id: I7fc00ce3c8efab282954aab87db0b23da336d732 Issue-ID: APPC-189 Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
2017-09-01Junit Cases for Application Controller.Chaturvedi, Anand (ac204h)20-83/+1147
Issue-ID: APPC-168 Change-Id: Iacfc853bef0b641599c60055ac05b1fd090ee3f8 Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
2017-09-01[JunitCases]for config audit and config generator.Chaturvedi, Anand (ac204h)15-346/+460
Issue-ID: APPC-168 Change-Id: Ie6f5e13b63f3162530d71c60cf352a8bfcddf4ff Signed-off-by: Chaturvedi, Anand (ac204h) <ac204h@att.com>
2017-09-01Fix classNotFound issue when executing dg-loaderHao Kuang1-2/+20
Change slf4j from transitive dependency to explicit dependency. Issue-Id: APPC-188 Change-Id: I8054b5c4e0c0023be1fd6ae7a7e89799682f20fd Signed-off-by: Hao Kuang <Hao.Kuang@amdocs.com>
2017-09-01Modify IaaS adapter URL parsing to include pathRY303T5-16/+139
Modified the pattern in IdentityURL and VMURL to include optional path Modified the toString in IdentityURL and VMURL to properly print the full url string Updated tests to include new URL format Issue-ID: APPC-133 Change-Id: Ic7c272b70d4fe18c815d5dd5311f760d8b8953c1 Signed-off-by: RY303T <RY303T@att.com>
2017-08-31Update ASDC References to SDC 1/2mojahidi90-629/+776
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-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>