summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/inbounds
AgeCommit message (Collapse)AuthorFilesLines
2019-09-05Merge "Add Config based blueprint process consumer"Dan Timoney12-448/+329
2019-09-05Merge "Add Kafka message lib consumer services"Dan Timoney1-10/+9
2019-09-05Add Config based blueprint process consumerBrinda Santh12-448/+329
Change-Id: I9e37ecb5032047f835f3b2ea20b2689c76353497 Issue-ID: CCSDK-1668 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-05Do not throw exception when no data exist.Alexis de Talhouët1-2/+3
The first time we're doing a diff, if a store operation has never been done before, we shouldn't throw exception, we should silently succeed and set the diff as empty value. Change-Id: Ie2371737758a1525da6b76ac85bceb7fe1aa4673 Issue-ID: CCSDK-1690 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-09-04Add Kafka message lib consumer servicesBrinda Santh1-10/+9
Change-Id: Iaf1df07a0d8f4fb54d5d06047520010d3bfe5465 Issue-ID: CCSDK-1668 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-04Add draft and publish grpc upload options.Brinda Santh3-19/+53
Change-Id: Id1476f1cb449c4070a7ef53a918b62d26da26391 Issue-ID: CCSDK-1682 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Combine Blueprint entities and repositories.Brinda Santh3-131/+9
Change-Id: I9e8672d6d0252dcf125e27060322ddd2b455aa39 Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Remove controllerbluprints distribution.Brinda Santh5-29/+6
Change-Id: I8c7269f97f2b32a0fe8689baaeddfe1e82e0d075 Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Refactor resource dictionary entity and repositories.Brinda Santh23-28/+392
Change-Id: I156d63df70d04e129e4a753cdc11e119ee97d37a Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Refactor handlers, services to designer api.Brinda Santh37-12/+2695
Change-Id: I3bc56e14fca332c0c0b661bb7e8a501a2dadbe91 Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Refactor catalog service to blueprint processor.Brinda Santh2-5/+1
Change-Id: Ia4bfc7c1b3ffb4020458f18deb71a2cf451ab65e Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Refactor model entity and repository.Brinda Santh4-36/+33
Change-Id: I6f06fc46fcedbe1cbb8a8e6f8c30b131680a5b08 Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Refactor model types load to designer api.Brinda Santh6-2/+534
Change-Id: Icc75c2cac2b9522fc20aa2247aafa8a1f494758e Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Refactor enhancer service to designer api.Brinda Santh14-0/+1354
Change-Id: I63aa56c61f9b97826c2171479dd4d6f238c9d8da Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-29Refactor Blueprint model controller to designer api.Brinda Santh7-6/+775
Change-Id: I6e729aab24262f6bdef4b92febf9f65a4819d142 Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-29Resolve duplicate application property valuesBrinda Santh2-10/+10
Change-Id: I0813ff96388bce77eba9fbc9eff0eccf59a6be6a Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-28Roll versionsTimoney, Dan (dt5972)5-6/+6
Roll versions in master branch Change-Id: I12ac01bc8769303c9d6fe7053306bdaa68f54396 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-27Merge "Fix sonar build"Dan Timoney1-0/+4
2019-08-27Make source-db consistent across samplesOleg Mitsura4-28/+28
Issue-Id: CCSDK-1623 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Iec7c6909c39c34894be11bfdac45f6394010d9cf
2019-08-26Fix sonar buildTimoney, Dan (dt5972)1-0/+4
Set sonar.skip to true in empty module designer-api Change-Id: I9330fb7c8b8adfc53a2284e907cb02376a3640dd Issue-ID: CCSDK-1655 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-15Update to NeonTimoney, Dan (dt5972)5-5/+7
Update to neon versions Change-Id: I095b46cefa264006bea5722b952c789374870370 Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-13Resource Configuration Snapshots Executor and APISerge Simard8-0/+553
Issue-ID: CCSDK-1604 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I349c649e941431b48a309123489d26fb22e0e50a Signed-off-by: Serge Simard <serge@agilitae.com>
2019-08-09Add property definition type DSL.Brinda Santh1-1/+3
Change-Id: I83a3d1391c60cd426236b55d0d399e273e7c15dc Issue-ID: CCSDK-1577 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-09Added service for Edit CBAEzhilarasi4-4/+4
Added service for search result CBA Change-Id: Iba00f048abc59878e6dcda9d1de9f0fc823d9130 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)4-9/+6
Roll versions to 0.5.1 - need to re-release El Alto early release Change-Id: Ifc0d4af8920065ca4ae8f509c63f98dc6e112322 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-01Modify POM, properties and docker distributions.Brinda Santh2-0/+39
Change-Id: I541edfc36c0866fa7669129a46140fb21a63c6ba Issue-ID: CCSDK-1574 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-31Fix compiler cache to hold for next transaction.Brinda Santh1-0/+6
Change-Id: Ibede4a378980717d49708f7665ab295534a092a0 Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-31Fix conflicting catalog service instance names.Brinda Santh3-9/+8
Change-Id: Iec330d87f9609d42c05f8d4c7c8515fa37310a6e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-24Fix missing capability cli models.Brinda Santh1-19/+21
Change-Id: Id5ad2f75cf27b7c09dc95a028997847098cd3d2e Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-23Merge "ExecutionServiceHandler error handler error fix."Brinda Santh Muthuramalingam1-2/+2
2019-07-23ExecutionServiceHandler error handler error fix.Oleg Mitsura1-2/+2
Status was not getting set to failure due to another failure in getting localized message not being set. That caused a silent failure, which cascaded into not being able to set the result of the resolution as the status was null, and JPA didn't allow the insertion due to table RESOURCE_RESOLUTION constraint. Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Iff0528ffab4ae77d0077be2edff6eb421adc68e0
2019-07-23Fixed Kafka consumer behaviour on failed deserializationprathameshmo5-15/+27
-Added ErrorHandlingDeserializer -Updated the integration test. Issue-ID: CCSDK-1514 Change-Id: I69112df850dfae2d4a3bd967b1dcfa541ea1523a Signed-off-by: prathameshmo <prathamesh_morde@yahoo.ca>
2019-07-09SLF4J conflict: exclude logging in where it is redundantSteve Siani2-0/+12
Issue-ID: CCSDK-1461 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I25521090a2ab8e5b9d7a9edef3178ba83b463657
2019-07-09Merge "Re-enabled BluePrintProcessingGRPCHandlerTest"Dan Timoney1-2/+0
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 unit test for resolution repository"Dan Timoney1-3/+1
2019-07-08Merge "Enforce resolutionKey or resourceId/resourceType"Dan Timoney6-46/+78
2019-07-08Merge "Fix swagger definition for blueprint processor"Dan Timoney5-51/+123
2019-07-08Merge "Refactor resolution controllers"Dan Timoney10-444/+307
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-04Add unit test for resolution repositoryAlexis de Talhouët1-3/+1
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ët6-46/+78
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ët5-51/+123
Change-Id: I69ba541b4b301735a988cf01673827a79daf1f8c Issue-ID: CCSDK-1431 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-04Refactor resolution controllersAlexis de Talhouët10-444/+307
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-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-25Kafka Messaging Controller API.prathameshmo10-3/+426
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-25Store resolution and expose with REST APIAlexis de Talhouët5-52/+366
Change-Id: Ie1fe9c02542ccd5fbfa18f1e2d6ddb633f55c214 Issue-ID: CCSDK-1423 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-18Create REST API layer for resource resolution stored configletSerge Simard8-0/+582
Issue-ID: CCSDK-1407 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I18db6b654cbf4f416af54596ee71f56eaa860d32
2019-05-22Fix payload has not been init in aysncAlexis de Talhouët1-1/+1
Change-Id: I6c8c0fca6ffd7f7cc9814a5b88889c5f67cbd52f Issue-ID: SO-1587 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-05-16Merge "Fix: Enrichment fails for processor-db source"Dan Timoney1-1/+1