summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-21Revert "Revert "Update docker plugin to use dcaepoMichael Hwang7-33/+27
This reverts commit aa2922da3cf8b83306a49a09bd85114817ae1eba. Issue-ID: DCAEGEN2-408 Change-Id: Ib622645d2f41d68b3652cbac19c98239bd60a18a Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-03-20Add pushing wagon as archiveLusheng Ji1-60/+17
This is the fix needed for using mvn-phase-lib new feature as submitted at https://gerrit.onap.org/r/#/c/36395/, uploading Cloudify Manager plugins as zip and tgz files. Also this change cleans up the mvn-phase-script.sh by removing code that is redendunt (already in mvn-script-lib). Issue-ID: DCAEGEN2-206 Change-Id: I922dd10f5423e19535d6f24506585b398028a2eb Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-03-16Upgrade to latest oparentGildas Lanilis1-1/+1
Update pom.xml file to latest version release of oparent, 1.1.0 Change-Id: Iaf77cff8825106354554dd6e497318270cebe6cf Issue-ID: INT-443 Signed-off-by: Gildas Lanilis <gildas.lanilis@huawei.com>
2018-03-08Switch to R2 mvn-phase-libLusheng Ji1-1/+2
Change-Id: I47b786da6c0275bb888ff3e2578961efe3af2943 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-206
2018-03-05Use the mvn-phase-lib under dcaegen2/utilsLusheng Ji2-430/+6
Review along with change https://gerrit.onap.org/r/34057 Issue-ID: DCAEGEN2-206 Change-Id: I2b6d400a7879a2fc3276faadbadb16100a85c4af Signed-off-by: Lusheng Ji <lji@research.att.com>
2018-03-02Bound the dcaepolicylib abstract requirementMichael Hwang2-2/+2
This is needed because of a potential bug in wagon where instead of just taking dependencies from requirements.txt. Wagon meets the requirements of both requirements.txt and the abstract requirements in setup.py. This is when running wagon with the "-r". Change-Id: If6aebb5b4d98c34e379bdfaa5ff0f7af4fa3504b Issue-ID: DCAEGEN2-377 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-03-01Revert "Update docker plugin to use dcaepolicy .."Michael Hwang7-27/+33
This reverts commit d2ce7db538f97bc7f86b87e15fe6fcda2b089294. Change-Id: Ia1eb2a55b9c92253ed5f2d85b87455c4fb2683c7 Issue-ID: DCAEGEN2-377 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-03-01Add -r in wagon buildLusheng Ji1-2/+2
Change-Id: I79657464a302af3836d098100fd75777348e7abe Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-206
2018-02-26Update docker plugin to use dcaepolicy 2.1.0Michael Hwang7-32/+27
This involved all sorts of updates in how policy is expected to work for the component where the updates are not backwards friendly. Change-Id: I08707229b97755d560152fa14affd0bd7b37a3f8 Issue-ID: DCAEGEN2-349 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2018-02-23Merge "fixed dcaegen2-363"Tony Hansen1-0/+2
2018-02-23fixed dcaegen2-363Schmalzried, Terry1-0/+2
Change-Id: I3446be1a8c1240659baaa2de924ac295e19d3de5 Signed-off-by: Schmalzried, Terry <ts862m@att.com> Issue-ID: DCAEGEN2-363 Signed-off-by: Schmalzried, Terry <ts862m@att.com>
2018-02-23fixed a bug in policy-get pluginAlex Shatov1-1/+0
- do not raise an exception on not being able to bring policies Change-Id: I39dda5492903c5b25f4a8b46d96d27a5b8ee1547 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-347
2018-02-22Make cdap plugin SONAR code cov workAndrew Gauld1-5/+6
Change-Id: Ib2a3bb760c3906885256d53f1de14d360b53bbd1 Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-02-22Make SONAR code coverage workAndrew Gauld13-63/+43
Change-Id: I8a61f287d439a5bf0b2cb203e31b514a2cae0a5e Issue-ID: DCAEGEN2-355 Signed-off-by: Andrew Gauld <ag1282@att.com>
2018-02-19Increase unit test coverageMichael Hwang5-4/+145
Update licenses for the files touched Change-Id: Ia8616d37d34ca57246c285eead1378131c5fb8dc Signed-off-by: Michael Hwang <mhwang@research.att.com> Issue-ID: DCAEGEN2-291
2018-02-12Update license textLusheng Ji25-11/+287
Change-Id: I352c41a5150925327fc9f9b71eaa8f72f575a8b9 Signed-off-by: Lusheng Ji <lji@research.att.com> Issue-ID: DCAEGEN2-325
2018-02-05fix copyright from 2018 to 2017-2018Alex Shatov3-3/+3
Change-Id: I30bf8646d4f1b2c833e39fa2cc7e1b9b5e06b72a Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-02-01improved message structure for latest policiesAlex Shatov3-4/+9
* unit test coverage 77% Change-Id: Iebe582bb20173a3f4689239f3a2d822edb48ccc1 Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-01-25do not raise the Nonrecoverable on 404Alex Shatov1-12/+20
* when policy is not required on not finding the policy + better logging Change-Id: I80875b6e2d08ef2cbb8d46e5797a0c3bd2d1197c Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2018-01-11variable collection of policies per componentAlex Shatov11-60/+266
* new feature variable collection of policies per component in DCAE * Unit Test coverage 78% * moved module docstring below the license text Change-Id: Iefe6d4c31e2e125194781edc79e69af2c11e96ef Issue-ID: DCAEGEN2-249 Signed-off-by: Alex Shatov <alexs@att.com>
2017-11-25update versioning1.0.0-ONAP1.0.0-Amsterdamamsterdamvagrant5-9/+9
Change-Id: Ic527095239790de9f94cb03956402a8309cdfe1a Issue-ID: DCAEGEN2-211 Signed-off-by: vagrant <vv770d@att.com>
2017-11-01Use 1.4.0 dockering libMichael Hwang1-1/+1
Change-Id: Iedca16eeb45ac978dfcc18bbee27c1c6e6e916c9 Issue-Id: DCAEGEN2-189 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-10-10Fix push pathLusheng Ji1-3/+10
Issue-Id: DCAEGEN2-128 Change-Id: I51d0cbd6a3d844ac773167e5eacf0e2966bf437e Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-10-10Push plugin wgn and type filesLusheng Ji1-3/+3
Issue-Id: DCAEGEN2-128 Change-Id: If93a71e8cac73d805918210bf15977ad3f332eb6 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-10-10Remove cd to module directoryLusheng Ji1-3/+2
Issue-Id: DCAEGEN2-128 Change-Id: Ic1ea79d772469547dc2e0370e87941303e893ad9 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-10-10Change artifact deployment locationsLusheng Ji7-508/+738
Issue-Id: DCAEGEN2-128 Change-Id: I55f533c0fa1a2a51e6a11b1e8e1dbb221b992fbe Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-09-26UT 78% dcaepolicy pluginAlex Shatov7-15/+583
* unit test withcoverage of 78 % * minor refactoring for lazy init for discovery - useful for UT Change-Id: I7bee1d5dc5c66477c6e8f19484b0179d5f726fe0 Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-25Merge "Toxify for docker and relationship"Lusheng Ji8-27/+44
2017-09-25Toxify for docker and relationshipMichael Hwang8-27/+44
Issue-Id: DCAEGEN2-60 Change-Id: Idaacf7239a54a21d45d77731cae13e5115b68f02 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-25Update sonar section of pomTommy Carpenter1-16/+11
Issue-ID: DCAEGEN2-74 Change-Id: I3da21783ea44099892b23673bfdc8479d3a3591f Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-21Upgrade to public PyPi policy-libTommy Carpenter9-11/+13
Issue-ID: DCAEGEN2-74 Change-Id: I85f43a73da58497c5677bffcb2de79015febfa7c Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-21Add back .coveragerc, removed by mistakeTommy Carpenter2-1/+29
Issue-ID: DCAEGEN2-74 Change-Id: I18a2c7e54550f10f87bbb97cd150965acd95bb96 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-14DRY up code with decoratorsTommy Carpenter10-118/+151
Issue-ID: DCAEGEN2-74 Change-Id: Iefdfe3fa60879161ebc6ba3224f342a9af575d94 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-14Unit test discoveryTommy Carpenter14-61/+218
Issue-ID: DCAEGEN2-74 Change-Id: Ibc676f118e9e85db306e38c3e40265d1b1d71ff0 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-12Combine all task inputs for create and startMichael Hwang3-17/+57
Change-Id: Ia86d3b26b5ecccd636fb171b3967f924b0cb1250 Issue-Id: DCAEGEN2-91 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-12Use latest dcaepolicyMichael Hwang4-2/+22
Issue-Id: DCAEGEN2-97 Change-Id: I6e5e701f5a64575c9280b1bea3b17e50023e599d Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-12Update to policy 1.0.0Tommy Carpenter4-5/+5
Issue-ID: DCAEGEN2-97 Change-Id: Idf54f589c71b7e032b21f5d48c88f0128bb50b56 Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-12Merge "Cleanup after Policy update"Lusheng Ji6-55/+20
2017-09-12dcaepolicy plugin and dcae.node.typeAlex Shatov9-0/+293
* new plugin and node type file to be used by blueprints that use policy Change-Id: I79dc24f3bf6f8471457544f6bb8562cbcd448d00 Issue-Id: DCAEGEN2-62 Signed-off-by: Alex Shatov <alexs@att.com>
2017-09-11Make components policy reconfigurable and moreMichael Hwang9-17/+255
* Add in dcae policy dependencies and policy decorators into tasks * Fetch docker logins dynamically * Add in policy example blueprint * Add in policy update operation for components Issue-Id: DCAEGEN2-97 Change-Id: Ib58adfbd7070999c7b8e59ab008f5ff90d4984a7 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-09-11Cleanup after Policy updateTommy Carpenter6-55/+20
Issue-ID: DCAEGEN2-96 Change-Id: Iebc195340211faea6d0bcc834015117ba9ded09d Signed-off-by: Tommy Carpenter <tommy@research.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: I0c77715893304a55cafe5c7768b841108b08fccc Issue-id: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-08Merge "Fix pom and mvn script"Vijay Venkatesh Kumar5-275/+346
2017-09-07Integrate with policy handlerTommy Carpenter6-29/+121
Issue-ID: DCAEGEN2-96 Change-Id: I2adbce7fafd5b84dd53a3deef4a53c253100bd9d Signed-off-by: Tommy Carpenter <tommy@research.att.com>
2017-09-07Fix pom and mvn scriptLusheng Ji5-275/+346
Issue-Id: DCAEGEN2-60 Change-Id: I18134f2e2b2af7a40789ebec0379c4ee8e58370f Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-09-06Enhance to query Consul for target docker hostMichael Hwang8-40/+150
* `SelectedDockerHost` actually queries by a name stem and location * Shorten name * Tag components with deployment id Change-Id: I715f1de25fa047ce70eb26a5cc7615cfd3b408e7 Issue-ID: DCAEGEN2-91 Signed-off-by: Michael Hwang <mhwang@research.att.com>
2017-08-30Add version.propertiesLusheng Ji1-0/+6
Issue-Id: DCAEGEN2-60 Change-Id: Ie564d864eb6eeeeb3bc53e33e2c28157a59a5b94 Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-08-30Fix pom.xml'sLusheng Ji4-130/+771
Issue-Id: DCAEGEN2-60 Change-Id: I7c6adeba2578a66af634cd5197ca8308e89c34ee Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-08-29Update LICENSE.txtLusheng Ji1-0/+40
Issue-Id: DCAEGEN2-86 Change-Id: Id5116e4789431007ae31637265113101a7ad5c2b Signed-off-by: Lusheng Ji <lji@research.att.com>
2017-08-23Add docker and relationships pluginMichael Hwang31-0/+2986
Change-Id: I323599ae2965f081f2061b6791635bbeddb09811 Issue-Id: DCAEGEN2-79 Signed-off-by: Michael Hwang <mhwang@research.att.com>