summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src
AgeCommit message (Collapse)AuthorFilesLines
2019-11-07Merge "Refractor rest log tracing filter for reuse."Dan Timoney1-18/+2
2019-11-05Rolling upgrade support for in-flight requestsSebastien Premont-Tendland3-15/+13
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: I3e2a72e26a4c8b7768ebc374ea40aa8d55fb6761
2019-11-01Refractor rest log tracing filter for reuse.Brinda Santh1-18/+2
Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I0ef0627851041b80f63c907c165c9eff5972a973
2019-10-31Merge "Py executor grpc TLS server authentication."Dan Timoney1-1/+5
2019-10-31Merge "Add GRPC log tracing service."Dan Timoney2-2/+4
2019-10-30Removed all http_proxy reference from build.Sebastien Premont-Tendland1-4/+1
http_proxy is an environment configuration and should not be defined in in the build script. If you need to use a proxy to build docker images then add it to the mvn command like this : -Ddocker.buildArg.http_proxy=$PROXY -Ddocker.buildArg.https_proxy=$PROXY Also adding http_proxy in the Dockerfile directly will add the environment variable in the POD statically using the proxy the was built with at runtime. If a proxy is needed at runtime then the environment variables should be injecting using helm charts and overrides. Issue-ID: CCSDK-1877 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I2b99b277b594408c974cf29a5804384293776a22
2019-10-24Merge "Implemented UAT runtime services"Brinda Santh Muthuramalingam21-290/+1196
2019-10-22Py executor grpc TLS server authentication.Brinda Santh1-1/+5
Issue-ID: CCSDK-1854 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I72b3deb7976e7d3e44478c497a46b9b4ac428623
2019-10-22Add GRPC log tracing service.Brinda Santh2-2/+4
Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I4ba6ed11d8fb63c21b9c49774ed733cca05c5646
2019-10-14Merge "Add reactive log tracing service."Dan Timoney3-2/+46
2019-10-07Implemented UAT runtime servicesebo21-290/+1196
Issue-ID: CCSDK-1759 Change-Id: I9e3df315074bfcfa5e341feefdabd00671194dc3 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-10-03Add bi-directional python executor testsBrinda Santh1-0/+19
Issue-ID: CCSDK-1747 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: I2e2b974d35d6878418eafe8ece9fcb1d69622a61
2019-10-02Add reactive log tracing service.Brinda Santh3-2/+46
Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh <bs2796@att.com> Change-Id: Ic20013045dd5d2681243c03f9e4cdfe557b630be
2019-09-30Health Check API RevertSingal, Kapil (ks220y)1-2/+2
Commenting out Duplicate Security Properties and related uses as It is not according to design and needs rework. Issue-ID: CCSDK-1767 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I90ec44af9fba6152d20728a38cfada0440ca2a87
2019-09-26Fixing distribution and propertiesSingal, Kapil (ks220y)5-31/+22
Excluding to embedd Target path, and renaming blueprint to blueprints in properties Issue-ID: CCSDK-1758 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ie6f0ff177e0945fb252710a425a16afade1b01a3
2019-09-19Bug-fix - CDS Processor-DB & Default Dictionary not workingSteve Siani1-1/+1
Issue-ID: CCSDK-1718 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: Ia15f36d7732058161aa2addc9268dd647330f069 Issue-ID: CCSDK-1717 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: Ia15f36d7732058161aa2addc9268dd647330f069
2019-09-19Merge "Refactor distribution module to application."Dan Timoney22-480/+596
2019-09-19Merge "Updated application.properties to match OOM"Brinda Santh Muthuramalingam2-18/+44
2019-09-18Updated application.properties to match OOMOleg Mitsura2-18/+44
Issue-ID: CCSDK-1720 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Id4de210cc011f4c8c8bd7b55320640b4fed2ed1d
2019-09-18Refactor distribution module to application.Brinda Santh22-480/+596
Change-Id: If6451215e1d1c3b1b5963bbe5c6cda1532f01ac5 Issue-ID: CCSDK-1697 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-18Optimizing Imports and Formatting codeSingal, Kapil (ks220y)3-13/+6
No Business logic change, no code change.. just optimizing imports and reformatting code Issue-ID: CCSDK-1744 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I1fb2ed10525a6f392f3c0d963c2ed03cfe8dec7e
2019-09-17Merge "Vault Client Rest API implementation for sensitive data"Dan Timoney2-2/+2
2019-09-17Merge "Fix spring fox swagger snapshot version."Dan Timoney1-2/+1
2019-09-16Merge "add health-api project"Brinda Santh Muthuramalingam1-0/+4
2019-09-16Changing line separator type to LFSINGAL, KAPIL (ks220y)2-77/+77
Changed Line Separator for all files using find . -type f -not -name .* -exec dos2unix {} \; Issue-ID: CCSDK-1733 Signed-off-by: SINGAL, KAPIL (ks220y) <ks220y@att.com> Change-Id: I2efa3276c35c0a0159c6d4debe21c0bd0b4a7b85
2019-09-16Fix spring fox swagger snapshot version.Brinda Santh1-2/+1
Change-Id: I62ce444d77fa0aa8d6d6adb3ceca0cc83040bbe9 Issue-ID: CCSDK-1724 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com> (cherry picked from commit 0597d0d0eb3ec6a84a11555383e7d019ba8f005c)
2019-09-16add health-api projectShaaban Ebrahim1-0/+4
Issue-ID: CCSDK-1669 Signed-off-by: Shaaban Ebrahim <shaaban.eltanany.ext@orange.com> Change-Id: I8a05db50e4f896ecc2e040a113d1fc676f139121
2019-09-12Blueprintprocessor Table change.Brinda Santh2-22/+22
Change-Id: I42942ce06a65e994b67e6611ad93167a56c8fd7b Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-11Vault Client Rest API implementation for sensitive dataSteve Siani2-2/+2
Issue-ID: CCSDK-1597 Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com> Change-Id: I81bf24d0dd0a12b0bb3a038647773900ad80e7fd
2019-09-11Merge "Add source-rest mapping"Dan Timoney1-1/+1
2019-09-06Add source-rest mappingAlexis de Talhouët1-1/+1
Change-Id: I700a6fb6dbf97f87ea00460a1cf9f00948379128 Issue-ID: CCSDK-1623 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-09-05Move GRPC management api to designer api.Brinda Santh2-2/+2
Change-Id: I58ee303d361cf4f1996c966c094ec66886587b52 Issue-ID: CCSDK-1682 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-09-05Add Config based blueprint process consumerBrinda Santh2-14/+24
Change-Id: I9e37ecb5032047f835f3b2ea20b2689c76353497 Issue-ID: CCSDK-1668 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-30Remove controllerbluprints distribution.Brinda Santh3-0/+161
Change-Id: I8c7269f97f2b32a0fe8689baaeddfe1e82e0d075 Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-29Resolve duplicate application property valuesBrinda Santh3-43/+32
Change-Id: I0813ff96388bce77eba9fbc9eff0eccf59a6be6a Issue-ID: CCSDK-1663 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-08-28rename config-data=>sdncOleg Mitsura3-7/+7
Issue-ID: CCSDK-1623 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Id203a2c9673e732cba5425f8e301f84711fe3705
2019-08-27Make source-db consistent across samplesOleg Mitsura4-44/+44
Issue-Id: CCSDK-1623 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: Iec7c6909c39c34894be11bfdac45f6394010d9cf
2019-08-24UAT: fix validation of request headersebo3-19/+46
Change-Id: I9725be21b421f2890cce2ef76bbe5c371ab5b46e Issue-ID: CCSDK-1639 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-08-23Prevent obscure NPE when mocks aren't properly configuredebo1-2/+4
Change-Id: Ibccc712e9ff6b022a55b1ffaaf284d203c8b0dfb Issue-ID: CCSDK-1638 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-08-16Fixed validation of resource-assignment-params.config-assignebo5-89/+267
- In order to preserve the validation of the whole BPP response, I added a normalization step that will convert any non-JSON part of the response into a JSON-equivalent representation. This normalization is carried out by the JSLT library that provides many JSON manipulations using a JSON-like specification. See https://github.com/schibsted/jslt for more details. - Fix UAT not being run by maven The Surefire plugin does accept '*Tests.java' but DOESN'T '*Tests.kt'! The UAT test class was renamed to use the 'Test' suffix only. - Improved maintainability of UAT-Engine by switching from explicitly field handling to POJO-based parsing using Jackson along with SnakeYaml. UAT-related POJOs created on new module UatDefinition.kt - Added a Protobuf-like description of an UAT YAML document. Change-Id: Id1178489caa4e97808747a99bc9324fc84e9b96e Issue-ID: CCSDK-1620 Signed-off-by: ebo <eliezio.oliveira@est.tech>
2019-08-15application-dev.properties missing python modulesOleg Mitsura1-1/+5
paths resulting in failure to execute Jython netconf calls. Issue-Id: CCSDK-1622 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I9c255e2c5ca8dca85f3b2fbd34c4c823c6f6bf69
2019-08-13Resource Configuration Snapshots Executor and APISerge Simard1-2/+2
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 declarative acceptance testsEliezio Oliveira7-7/+507
First two UATs are for blueprints Echo and "PNF Configuration". The body of the ODL mount request was changed from XML to JSON, so it can be represented in a YAML file. Initial documentation about the UATs can be found at components/model-catalog/blueprint-model/uat-blueprints/README.md BluePrintArchiveUtils.recurseFiles() replaced by compressFolder() that uses native Java 7. Removed commons-compress as dependency since is no longer used. Change-Id: I96a584ae12ca009f90fe8fe9485eb57ce05e8add Issue-ID: CCSDK-1569 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-09Unified Http server configurationEliezio Oliveira3-61/+1
To allow UA tests with both servers listening on random TCP ports. Change-Id: I9f125b8f2568797b8f7a747b7d8b7bd9a163d30e Issue-ID: CCSDK-1568 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-09Removed redundant BlueprintProcessorApplicationTestEliezio Oliveira1-55/+0
Change-Id: I9d3fa66e7185938f30447884753c3e9c2644c0cc Issue-ID: CCSDK-1567 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-08-01Modify POM, properties and docker distributions.Brinda Santh4-4/+74
Change-Id: I541edfc36c0866fa7669129a46140fb21a63c6ba Issue-ID: CCSDK-1574 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-07-13Fixed bugs/vulnerabilities reported by SonarQubeEliezio Oliveira1-1/+1
Change-Id: Idc4be0d050d27fd419915210167b044b90fa2f0a Issue-ID: CCSDK-1483 Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
2019-07-08Merge "Fix swagger definition for blueprint processor"Dan Timoney2-22/+23
2019-07-08Merge "Refactor resolution controllers"Dan Timoney1-1/+1
2019-07-04Fix swagger definition for blueprint processorAlexis de Talhouët2-22/+23
Change-Id: I69ba541b4b301735a988cf01673827a79daf1f8c Issue-ID: CCSDK-1431 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>