summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/inbounds
AgeCommit message (Collapse)AuthorFilesLines
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
2019-05-16Bugfix: Blueprints Processor always return 200 OKottero5-9/+88
Currently the Blueprints Processor mS replies with a 200 OK HTTP status code even if an exception occurs in the server side while executing the request. Thus, the only way for a REST client to determine if the request was successful or not is by analysing the response and evaluate the content of the element status.code This bugfix modifies the HTTP status code of the response to match the one inside the response. Issue-ID: CCSDK-1327 Change-Id: I05a58cb3ab9359319172f2d8f1a665fdcdc1230b Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-05-15Fix: Enrichment fails for processor-db sourceSteve Siani1-1/+1
Change-Id: I7a426323dc22cb19a1c3eb77f7f4f30cf7da32e0 Issue-ID: CCSDK-1324 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)3-3/+3
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-03BluePrintManagmentGRPC handler should send failure message back to the client.prathamesh morde1-2/+2
-Added StreamObserver.onError so the client would be aware of failure if any. Change-Id: Iecd019ef4ff4b4b4c522e0eb6e242770afdcdfcd Issue-ID: CCSDK-1197 Signed-off-by: prathamesh morde <prathamesh.morde@bell.ca>
2019-04-02Handle expection in REST handlerAlexis de Talhouët1-19/+20
Change-Id: Iacd46791b276266e19898b187d1ffbe8afa9156c Issue-ID: CCSDK-1120 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-01Improve save and delete cbaMuthuramalingam, Brinda Santh2-0/+13
Change-Id: I1dbfb6d8155e5a58663d7061de468c6d70bb29df Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-01Improve function interfacesMuthuramalingam, Brinda Santh1-2/+3
Change-Id: I24f45d39ac05491a4217101e00bcbf8d122e4e1a Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-29Merge "Add Restconf Kotlin script sample"Dan Timoney1-1/+1
2019-03-29Merge "Improve blueprint save"Dan Timoney6-115/+177
2019-03-27Add Restconf Kotlin script sampleMuthuramalingam, Brinda Santh1-1/+1
Change-Id: Ia6196c7e45b1f3d8a3598f858f0d8380a3463ae9 Issue-ID: CCSDK-1080 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-27Improve blueprint saveMuthuramalingam, Brinda Santh6-115/+177
Change-Id: Ibac2ef9cd7e217db809a6a695ea0ee39a6bd2e21 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>