summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor
AgeCommit message (Collapse)AuthorFilesLines
2019-07-12Merge "Refractor duplicate cli script function"Dan Timoney4-36/+11
2019-07-11Merge "Handle blank reponse body for PUT capability"Dan Timoney1-1/+5
2019-07-10Handle blank reponse body for PUT capabilityAbdelmuhaimen Seaudi1-1/+5
Issue-Id: CCSDK-1467 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Ibc50be0bf9986c49d2c7546f895c85c6851447bb
2019-07-10Refractor duplicate cli script functionBrinda Santh4-36/+11
Change-Id: Ida75e839668eeeabd4577629f2bc6ec3240d7734 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-10Check null instead of "null" JSON node.prathameshmo1-3/+3
ISSUE-ID: CCSDK-1463 Signed-off-by: prathameshmo <prathamesh.morde@bell.ca> Change-Id: Id4e9827d94999a585b79460f147562bdd655ccfb
2019-07-09SLF4J conflict: exclude logging in where it is redundantSteve Siani8-0/+60
Issue-ID: CCSDK-1461 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I25521090a2ab8e5b9d7a9edef3178ba83b463657
2019-07-09Merge "Velocity template engine implement a separate instance"Dan Timoney1-2/+3
2019-07-09Merge "Adding tests to NetconfMessageUtilsTest.kt"Dan Timoney18-0/+293
2019-07-09Merge "Fix ComponentRemoteAnsibleExecutorTest"Dan Timoney5-189/+1381
2019-07-09Merge "Removed redundant Jython interpreter instantiation test"Dan Timoney1-48/+0
2019-07-09Merge "Re-enabled @Ignored tests on NetconfSessionImplTest"Dan Timoney1-13/+13
2019-07-09Merge "Re-enabled test for happy-path case on NetconfDeviceCommunicatorTest"Dan Timoney1-10/+9
2019-07-09Merge "Re-enabled BluePrintProcessingGRPCHandlerTest"Dan Timoney1-2/+0
2019-07-09Merge "Re-enabled RestClientServiceTest"Dan Timoney2-58/+59
2019-07-09Merge "Fix interrupt state left ON on NetconfSessionImpl.syncRpc()"Dan Timoney1-1/+0
2019-07-09Velocity template engine implement a separate instanceSteve Siani1-2/+3
Issue-ID: CCSDK-1457 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I8fd9918df5e03e1f7c0cdcf4bc63ddc5846195b8
2019-07-09Remove slf4j-log4j12 dependency which apache-kafka is bringing.prathameshmo1-1/+6
Issue-ID: CCSDK-1459 Signed-off-by: prathameshmo <prathamesh.morde@bell.ca> Change-Id: I318384ebe93cacb2b7436d3e796a8cac345724bb
2019-07-08Merge "Add UT for ResourceResolutionService/Component"Dan Timoney11-139/+223
2019-07-08Merge "Add unit test for resolution repository"Dan Timoney4-4/+353
2019-07-08Merge "Enforce resolutionKey or resourceId/resourceType"Dan Timoney16-211/+512
2019-07-08Merge "Share RR context within node template"Dan Timoney5-21/+43
2019-07-08Merge "Fix swagger definition for blueprint processor"Dan Timoney14-105/+236
2019-07-08Merge "Refactor resolution controllers"Dan Timoney16-532/+405
2019-07-08Merge "Kafka Messaging Controller API."Dan Timoney17-10/+464
2019-07-08Merge "Remote Python executor unescapes script parameter values"Dan Timoney1-2/+14
2019-07-08Adding tests to NetconfMessageUtilsTest.ktRodrigo Ottero18-0/+293
Change-Id: If7a0d90ce264e7362e7118132303653eaaef9e69 Issue-ID: CCSDK-1046 Signed-off-by: Rodrigo Ottero <rodrigo.ottero@est.tech>
2019-07-08Fix ComponentRemoteAnsibleExecutorTestEliezio Oliveira5-189/+1381
Change-Id: I0031e354c61ba84fb280f9b50e93c8bdc772627b Issue-ID: CCSDK-1452 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Removed redundant Jython interpreter instantiation testEliezio Oliveira1-48/+0
Change-Id: I5f446dcff85d0c2b0395e32bbbdcbb7b8ebe9708 Issue-ID: CCSDK-1454 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Re-enabled @Ignored tests on NetconfSessionImplTestEliezio Oliveira1-13/+13
Change-Id: I7d223956c95d4effc6a6d6c4cc3bf6648ada28be Issue-ID: CCSDK-1451 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Re-enabled test for happy-path case on NetconfDeviceCommunicatorTestEliezio Oliveira1-10/+9
Change-Id: I741e87f889b346ab63c29ce17231815a87a4e94d Issue-ID: CCSDK-1450 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Re-enabled BluePrintProcessingGRPCHandlerTestEliezio Oliveira1-2/+0
Change-Id: I0ffd89526c355aa768ac53c1a1f201ab6d0317de Issue-ID: CCSDK-1449 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
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-08Fix interrupt state left ON on NetconfSessionImpl.syncRpc()Eliezio Oliveira1-1/+0
Change-Id: Ib1a58ff94f88f352636b5f0af7a6fe5244a8fe7e Issue-ID: CCSDK-1455 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Removed empty ResourceResolutionControllerTestEliezio Oliveira1-22/+0
Change-Id: I75d7cf7171b284f26fba8b0623e9be964b924b35 Issue-ID: CCSDK-1454 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-04Add UT for ResourceResolutionService/ComponentAlexis de Talhouët11-139/+223
Change-Id: I460b3747ffdf5f4cfcb486803097939d1ae1fec0 Issue-ID: CCSDK-1046 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-04Add unit test for resolution repositoryAlexis de Talhouët4-4/+353
Change-Id: If66670cc5397b0bcce340092ec6ff9ec008677bc Issue-ID: CCSDK-1423 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-04Enforce resolutionKey or resourceId/resourceTypeAlexis de Talhouët16-211/+512
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-04Share RR context within node templateAlexis de Talhouët5-21/+43
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-07-04Fix swagger definition for blueprint processorAlexis de Talhouët14-105/+236
Change-Id: I69ba541b4b301735a988cf01673827a79daf1f8c Issue-ID: CCSDK-1431 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-04Refactor resolution controllersAlexis de Talhouët16-532/+405
tempalte and resources for get/put API Change-Id: Ia00bdb08f5f52231481edc6de232f850c66874e9 Issue-ID: CCSDK-1423 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-04Error: Could not find or load main classAlexis de Talhouët3-15/+4
Use oparent as root project pom Change-Id: Ibacb94a08051c2d3f48125a66c0579fa4da94e2d Issue-ID: CCSDK-1443 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25Refractor blueprint script dependencyBrinda Santh18-140/+421
Change-Id: I2e6b4dd278c1a4a3069a44f648129599365909d4 Issue-ID: CCSDK-1428 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-06-25Kafka Messaging Controller API.prathameshmo17-10/+464
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-25Merge "Store resolution and expose with REST API"Dan Timoney17-151/+706
2019-06-25Merge "Allow multiple resolution for same node template"Dan Timoney3-30/+42
2019-06-25Merge "Added notes on remote python executor in dev env."Dan Timoney1-57/+75
2019-06-25Merge "python-executor will provide output line-by-line"Dan Timoney4-10/+11
2019-06-25Merge "InputResourceResolutionProcessorTest re-enabled"Dan Timoney1-13/+16
2019-06-25Store resolution and expose with REST APIAlexis de Talhouët17-151/+706
Change-Id: Ie1fe9c02542ccd5fbfa18f1e2d6ddb633f55c214 Issue-ID: CCSDK-1423 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25Allow multiple resolution for same node templateAlexis de Talhouët3-30/+42
- also fixing default mechanism - fixes rest resolution when NullNode is returned as input value - fixes rest resolution when data type specified so raw json isn't returned, only the parsed json based on the data type Change-Id: I1f4a35c6c97000b52620c9b0cc911f15016c4e80 Issue-ID: CCSDK-1422 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>