summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/inbounds/selfservice-api/src
AgeCommit message (Collapse)AuthorFilesLines
2019-11-14Rolling upgrade support for in-flight requestsSebastien Premont-Tendland3-0/+42
Three entry points are being handled : 1 - REST endpoint 2 - gRPC endpoint 3 - Kafka consumer We make use of Phaser object to make sure the PreDestroy callback wait for all requests to be executed before stopping the process. The docker image was also modified to make sure the java process becomes PID 1 in the container in order to catch the SIGTERM signal which triggers the PreDestroy callback of Spring. This was done by using the "exec" command in bash. Issue-ID: CCSDK-1885 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I64611e569ddb78499aed2375e6186f028d1d8fa0
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-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 Santh1-3/+3
Change-Id: I9e8672d6d0252dcf125e27060322ddd2b455aa39 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-27Make source-db consistent across samplesOleg Mitsura2-10/+10
Issue-Id: CCSDK-1623 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Iec7c6909c39c34894be11bfdac45f6394010d9cf
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-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-09Merge "Re-enabled BluePrintProcessingGRPCHandlerTest"Dan Timoney1-2/+0
2019-07-08Merge "Fix swagger definition for blueprint processor"Dan Timoney1-18/+36
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-04Fix swagger definition for blueprint processorAlexis de Talhouët1-18/+36
Change-Id: I69ba541b4b301735a988cf01673827a79daf1f8c Issue-ID: CCSDK-1431 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-06-25Kafka Messaging Controller API.prathameshmo9-3/+401
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-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-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>
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>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët14-105/+105
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-18Propagate exceptions correctlyAlexis de Talhouët1-9/+27
Change-Id: Idaf66eeaa6e57d27c576099fd6ffdeb8b6d8d6c6 Issue-ID: CCSDK-1120 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-13Add node template workflow service.Muthuramalingam, Brinda Santh3-37/+32
Change-Id: I3a9167fe58b697f8fb9c7f5fd09768950afe1ff4 Issue-ID: CCSDK-1154 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-11Add blueprint runtime validatorMuthuramalingam, Brinda Santh3-15/+62
Change-Id: I9e2aa1aec392fc4191d547115fa90e8811f0f9e9 Issue-ID: CCSDK-1110 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-05Add gRPC & REST basic auth supportAlexis de Talhouët4-4/+13
Change-Id: Iaa187a8288a9c84aa80b596a14e66de10a9b7501 Issue-ID: CCSDK-1055 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-05Define EventType contract for gRPC messageAlexis de Talhouët3-5/+8
Change-Id: Ic8bde56d13f774120c8d64a56993ade71e7b4612 Issue-ID: CCSDK-1118 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-04Use protobuf JsonFormatAlexis de Talhouët4-90/+3
Instead of manually parsing Struct to ObjectNode, uses JsonFormat Change-Id: I5a457f10e3d106f189f9636fbcc166b12e3915fd Issue-ID: CCSDK-947 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-25Add extension validation frameworkMuthuramalingam, Brinda Santh2-0/+38
Change-Id: I5674e8da70cc4d20899f6fe2163a595b28861036 Issue-ID: CCSDK-1103 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-02-22Provide correct output to #process requestAlexis de Talhouët2-7/+12
Change-Id: I7e5ceb6fc46b8b8e6289db9b4efe2f27e3f9ce91 Issue-ID: CCSDK-947 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-22Properly handle async gRPC requestAlexis de Talhouët4-22/+43
Change-Id: Ia5016759466c57f749c146a004374c2cbff60f9d Issue-ID: CCSDK-947 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-12Jython execution component and serviceSteve Alphonse Siani1-2/+6
Change-Id: I2610e73a9c7ba073b5fa9d148dcd6fb5b9ad9ae3 Issue-ID: CCSDK-696 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-01-28Controller Design Studio: Blueprint ManagerSingal, Kapil (ks220y)2-8/+7
Blueprint Manager JUnit Test Case Enhacements Change-Id: I6d98436f13ee58450ba9459266ec657ca30a2d99 Issue-ID: CCSDK-1005 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-24Controller Design Studio: Blueprint ManagerSingal, Kapil (ks220y)3-12/+24
Blueprint Manager JUnit Test Case Enhacements Change-Id: Icb59df8435585ac6b9725fbd6e9e74d93ce829ff Issue-ID: CCSDK-1005 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-01-21Map proto to pojo. implement blueprint processingAlexis de Talhouët7-23/+410
Change-Id: I16b06b4700a42d4a7066eb8c0779677fa28cd94b Issue-ID: CCSDK-951 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-01-18Make BluePrintProcessingService#process streamAlexis de Talhouët2-12/+26
Change-Id: I4aed859365a9c7251d8b29c0c68726d53b0f9d0f Issue-ID: CCSDK-662 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-01-18Add support for async RESTAlexis de Talhouët2-4/+44
Change-Id: Ieb53cbd75c2e21355b153611f6490c1b2af6053b Issue-ID: CCSDK-662 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-01-18Implement CBA upload through RESTAlexis de Talhouët6-21/+161
Change-Id: I417254c5107f8b0031932e6a7cf0599561ee9a3c Issue-ID: CCSDK-910 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-01-18Implement BluePrintManagementServiceGrpcAlexis de Talhouët7-116/+166
Change-Id: I66a6a3c23b5a3c24ce8d61178f00f053cb8bbbdc Issue-ID: CCSDK-909 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>