aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/commons
AgeCommit message (Collapse)AuthorFilesLines
2019-08-02Release ccsdk/cds0.5.0jenkins-releng8-8/+8
2019-07-31Fix conflicting catalog service instance names.Brinda Santh4-24/+31
Change-Id: Iec330d87f9609d42c05f8d4c7c8515fa37310a6e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-30Add rest client DSL propertiesBrinda Santh4-0/+199
Change-Id: Ibb52f1c6581b532aff49e7410d29e19c645f7d23 Issue-ID: CCSDK-1380 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-24Fix attribute validation for complex type.Brinda Santh1-1/+2
Change-Id: I7a3365c4c26fd44ed0b54bff115b64c52ee7b81e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-23Clean restconf duplicate models and Implementation.Brinda Santh1-42/+45
Change-Id: Id439ac5ded631aac0ee7fc69846ebe9bca650bb2 Issue-ID: CCSDK-1499 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-19Improve script file accessing through cache.Brinda Santh1-3/+10
Change-Id: If94e837975701dc7b2235c38acb46b3b883a424b Issue-ID: CCSDK-1503 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-17Added npmVersion to install NPMTimoney, Dan (dt5972)2-10/+4
To install local copy of npm, needed to make 2 changes to frontend-maven-plugin configuration: 1) Add tag <npmVersion>6.4.1</npmVersion> 2) Removed tag <npmDownloadRoot> Confirmed in local build that those changes result in npm being installed in local 'node' directory (which it was not before these changes). Also, changed parent version to 1.3.1-SNAPSHOT - this will be needed to prevent builds from breaking when new SAN certs are installed for ONAP gerrit. Change-Id: I576d8737eccfaa3024a36608edc1102535a55d26 Issue-ID: CCSDK-1491 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-09SLF4J conflict: exclude logging in where it is redundantSteve Siani3-0/+18
Issue-ID: CCSDK-1461 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I25521090a2ab8e5b9d7a9edef3178ba83b463657
2019-07-09Merge "Re-enabled RestClientServiceTest"Dan Timoney2-58/+59
2019-07-08Merge "Enforce resolutionKey or resourceId/resourceType"Dan Timoney1-5/+0
2019-07-08Merge "Fix swagger definition for blueprint processor"Dan Timoney1-24/+35
2019-07-08Merge "Kafka Messaging Controller API."Dan Timoney1-3/+2
2019-07-08Re-enabled RestClientServiceTestEliezio Oliveira2-58/+59
Secondary HTTP server switched from blocking Tomcat to reactive Netty Change-Id: I44ae3e4d1f4f1af1335a94032f236a1023dbdea0 Issue-ID: CCSDK-1447 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-04Enforce resolutionKey or resourceId/resourceTypeAlexis de Talhouët1-5/+0
There are three existing ways to perform the resolution: either we don't store the results at all, whether for resource or template either we store using the resolution key. The combination of blueprintName, blueprintVersion, artifactName and resolutionKey has to be unique. If it is re-used, it is considered as a new attempt for that specific resolution request, and process will only try to resolve resources not marked at SUCCESS in the database. either we store using the resourceId and resourceType. As previous point, the combination of blueprintName, blueprintVersion, artifactName and resolutionKey has to be unique. If it is re-used, it is considered as a new attempt for that specific resolution request, and process will only try to resolve resources not marked at SUCCESS in the database. TBD: add uni tests Issue-ID: CCSDK-1423 Change-Id: I6b7198453cf0002edfa7a0c9ea3179555211b5dc Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-04Fix swagger definition for blueprint processorAlexis de Talhouët1-24/+35
Change-Id: I69ba541b4b301735a988cf01673827a79daf1f8c Issue-ID: CCSDK-1431 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-04Share RR context within node templateAlexis de Talhouët0-0/+0
Also, mark resolution as failed for capability when failure. Change-Id: I3c1704b5b99ace7096f1d9e1cd9bb7f5b595db13 Issue-ID: CCSDK-1422 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25Refractor blueprint script dependencyBrinda Santh4-1/+68
Change-Id: I2e6b4dd278c1a4a3069a44f648129599365909d4 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-25Kafka Messaging Controller API.prathameshmo1-3/+2
Things done- Addressed review comments. Logic to consume events and process it. Added integration testing. Change-Id: If574a363f9fb8581018cc5a7ba106251a9d8caf1 Issue-ID:CCSDK-1356 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca> Signed-off-by: prathameshmo <prathamesh.morde@bell.ca>
2019-06-25python-executor will provide output line-by-lineOleg Mitsura1-2/+2
* python-executor STDOUT contains cleaner logs * return status has been reworked to return a list of lines Issue-ID: CCSDK-1404 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Ib17495e92a136ff4f950bb6e049246a9e100eb7d
2019-05-30Merge "Remote AWX ansible playbook executor"Dan Timoney1-0/+9
2019-05-27Remote AWX ansible playbook executorSerge Simard1-0/+9
Issue-ID: CCSDK-1357 Change-Id: I794ce5450b341606829a1a37d9efed48abab32cc Signed-off-by: Serge Simard <serge@agilitae.com>
2019-05-23Add cli test blueprintsBrinda Santh2-19/+38
Change-Id: Ieab385f5e4ae60cca3d86f22c4304e4867e6fa96 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add cli executor componentBrinda Santh1-10/+10
Change-Id: I0997e9bc71b74bdff57bd2405a9b1ec962130715 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add ssh client configuration serviceBrinda Santh10-0/+513
Change-Id: I88515b430311e7937ea45516cc0fb07b4dab3c2f Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-23Add Kafka client servicesBrinda Santh9-0/+439
Change-Id: I76cf52f6df10e114539c4d65620f431e0f747644 Issue-ID: CCSDK-1349 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-05-15BlueprintWebClientService: added return statusOleg Mitsura2-137/+119
Issue-ID: CCSDK-1331 Change-Id: I8dab8ad4eaebf1863f11c4d38c52cf7f64b0a4d5 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-05-02Merge "UT for Rest lib"Dan Timoney1-2/+20
2019-05-02UT for Rest libjanani b1-2/+20
Added the lib test cases which will not cause jenkins delay Issue-ID: CCSDK-1229 Change-Id: I1aff85ec3956fdcef806a9657ee3472a35b27f74 Signed-off-by: janani b <janani.b@huawei.com>
2019-05-02UT for GRPC libjanani b1-6/+82
GRPC code UT Issue-ID: CCSDK-1229 Change-Id: Ia49647abcfcd24038736932c434929216f562f32 Signed-off-by: janani b <janani.b@huawei.com>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)6-6/+6
Roll master version to El Alto versions Change-Id: I75400c5d7dda6b306b0b2e3aa5cd583380dab461 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-25Update to use released 1.2.2 parentTimoney, Dan (dt5972)1-5/+2
Update to use released 1.2.2 version of parent poms. Change-Id: I76012b413e289f39e6a8fc412a19d5b4cd3b5a2a Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-24Multiples fixesAlexis de Talhouët3-3/+12
Change-Id: I83782006dc47a224e546b6877070d5e7e56dd2e6 Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Delete the deployed blueprint if overriten Change-Id: I7e4f3a5c98388a965ef756467497ed31d23bc047 Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Fix enhancement of workflow step for component Change-Id: I62c7904265495edb2b0a5bec0d64cfecd7573f97 Issue-ID: CCSDK-1168 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Update golden package Change-Id: I969fe9cf9b563911ebe4500fe8f3211aedb84593 Issue-ID: CCSDK-1231 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Do not fail to get execution property When prepareEnv fail, we should not fail by saying to property is not set. So set it as N/A until is get sets further done in the processing Change-Id: I06b9fcb9b1cf9e1605cef77864da9dbd18243800 Issue-ID: CCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-18Add support for Ansible packagesAlexis de Talhouët1-9/+2
- rework how to provide packages - support proxy as parameters Change-Id: I1d10d921ead0837aa0f74b965cadf985424ceedc Issue-ID: CCCSDK-1215 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Add grpc execution serviceBrinda Santh7-4/+175
Change-Id: Icfbd9cef8775f2f72329ec726309d14377b9188a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add grpc property serviceBrinda Santh7-0/+259
Change-Id: Ifa1975235433ef3e84b0ed1261375108809946f4 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Add remote python executorBrinda Santh1-0/+45
Change-Id: I288e182847f250c8e26e9bc10b8f3124afc2f583 Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-04Improve step data access.Muthuramalingam, Brinda Santh1-22/+6
Change-Id: I3917905b1e38cebcb26e4422784a5553e2dbac9f Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-02Merge "Complementary Junit test coverage"Dan Timoney2-1/+89
2019-04-02Merge "Handle expection in REST handler"Dan Timoney1-1/+1
2019-04-02Handle expection in REST handlerAlexis de Talhouët1-1/+1
Change-Id: Iacd46791b276266e19898b187d1ffbe8afa9156c Issue-ID: CCSDK-1120 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-02Updating Rest code for AAI resolutionjanani b12-181/+825
This commit includes, i) Updated the SSL based rest connection for different auth support ii) Checked the co-routines based rest connection Issue-ID: CCSDK-692 Change-Id: Ic2fe5e5292c9190670d2a573598d78e94f59efb0 Signed-off-by: janani b <janani.b@huawei.com>
2019-04-01Complementary Junit test coverageSteve Siani2-1/+89
Change-Id: I5eec76918c63d1fa248a9fc353f8dc02ae925364 Issue-ID: CCSDK-1187 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-01Improve save and delete cbaMuthuramalingam, Brinda Santh1-16/+34
Change-Id: I1dbfb6d8155e5a58663d7061de468c6d70bb29df Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-29Fix logging dependency conflictAlexis de Talhouët1-2/+2
- use spring logging framework - get rid of EELF - do not get sl4fj transitivly Change-Id: I1d47749b53dca2f3a815a2d9898b7a0388725655 Issue-ID: SDNC-710 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-03-29Merge "Improve Rest Service API"Dan Timoney1-3/+136
2019-03-29Merge "Improve blueprint save"Dan Timoney4-29/+72
2019-03-27Merge "Update starter-type"Dan Timoney1-0/+0
2019-03-27Improve Rest Service APIMuthuramalingam, Brinda Santh1-3/+136
Change-Id: I4addb046f5e20f36f0c5d810bc547b02a70d4c17 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-27Improve blueprint saveMuthuramalingam, Brinda Santh4-29/+72
Change-Id: Ibac2ef9cd7e217db809a6a695ea0ee39a6bd2e21 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-27Update starter-typeAlexis de Talhouët1-0/+0
Change-Id: Ib9ed9aaa75896ad7870778420cd09e997dbbf592 Issue-ID: CCSDK-1181 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>