aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src
AgeCommit message (Collapse)AuthorFilesLines
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>
2019-07-04Refactor resolution controllersAlexis de Talhouët1-1/+1
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-06-25Kafka Messaging Controller API.prathameshmo5-4/+29
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-21Added notes on remote python executor in dev env.Oleg Mitsura1-57/+75
Issue-ID: CCSDK-1415 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I0c3892f6df398b2d4f87661f62a6125eedc4bca3
2019-06-18Create REST API layer for resource resolution stored configletSerge Simard1-0/+5
Issue-ID: CCSDK-1407 Signed-off-by: Serge Simard <serge@agilitae.com> Change-Id: I18db6b654cbf4f416af54596ee71f56eaa860d32
2019-06-02add SDNC MD-SAL Restconf URL settingsAbdelmuhaimen Seaudi1-1/+15
Issue-ID: CCSDK-1376 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I2817e6282e982f07d60169b99adf4cb1c07d2541
2019-05-23Add cli executor componentBrinda Santh3-6/+9
Change-Id: I0997e9bc71b74bdff57bd2405a9b1ec962130715 Issue-ID: CCSDK-1335 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-16Integration Test - Component ExecutorAlexis de Talhouët1-6/+8
Change-Id: Icbe745b30c7bbb973bc9bb29bf547340b32f1b0f Issue-ID: CCSDK-1164 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-16Add grpc execution serviceBrinda Santh3-3/+21
Change-Id: Icfbd9cef8775f2f72329ec726309d14377b9188a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2019-04-15Do start netty server when grpc server enabledAlexis de Talhouët2-1/+60
Change-Id: I7a4154f752bedd32c6c5789c21da82917336c7a6 Issue-ID: CCSDK-1182 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-08Changed CBA download with name and versionEzhilarasi1-2/+2
Change-Id: I6121e6248138569b2bb0908bb99d9059a1115784 Issue-ID: CCSDK-1068 Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
2019-04-05Retrieving PNF IP address from payloadottero1-1/+1
PNF IP is now retrieved from the payload Issue-ID: CCSDK-926 Change-Id: I6942fc0000564553ae16bd1067351f00ca254d10 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-04-01Improve bulk processingMuthuramalingam, Brinda Santh2-2/+2
Change-Id: Ia8bd447563072284aa71e00eab0ef9b93e1776b1 Issue-ID: CCSDK-1127 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-04-01Improve save and delete cbaMuthuramalingam, Brinda Santh1-1/+1
Change-Id: I1dbfb6d8155e5a58663d7061de468c6d70bb29df Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-29Merge "Add Restconf Kotlin script sample"Dan Timoney3-5/+7
2019-03-29Merge "Improve blueprint save"Dan Timoney1-0/+1
2019-03-27Merge "Creating a reusable Restconf client"Dan Timoney1-1/+1
2019-03-27Creating a reusable Restconf clientottero1-1/+1
The code in RestconfConfigDeploy.py that was responsible for making the Restconf connections was extracted to another script, making it reusa- ble by other blueprints Change-Id: Ib7d8870f29c76b120ccd3e3e5ba7e13765414269 Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-27Add Restconf Kotlin script sampleMuthuramalingam, Brinda Santh3-5/+7
Change-Id: Ia6196c7e45b1f3d8a3598f858f0d8380a3463ae9 Issue-ID: CCSDK-1080 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-27Improve blueprint saveMuthuramalingam, Brinda Santh1-0/+1
Change-Id: Ibac2ef9cd7e217db809a6a695ea0ee39a6bd2e21 Issue-ID: CCSDK-1137 Signed-off-by: Muthuramalingam, Brinda Santh <brindasanth@in.ibm.com>
2019-03-26Do not start 2 netty serverAlexis de Talhouët1-27/+6
As webflux is enable through maven dependency, just configure the netty server provided rather than created a new one. Change-Id: I9aff7848b08b219f9f453a522fbc5608e6e5714c Issue-ID: CCSDK-1182 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-25Migrate ccsdk/apps to ccsdk/cdsAlexis de Talhouët12-248/+248
Issue-ID: CCSDK-1177 Issue-ID: CCSDK-1178 Change-Id: I0c02702fbec52211ca367abbba72aebecee8cbaa Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-03-17Adding custom headers capability to REST clientottero2-3/+4
For YANG PATCH requests to ODL to work, they need to have a Content- type header of application/yang.patch+json and should not have Accept as application/json Current REST client inserts a default header to the requests with this content: Content-Type: application/json Accept: application/json The solution was to add the possibility of sending custom headers alon- gside the other parameters. Change-Id: I2cf0cd2ef7b87f4f5a246d427dffafe266cb33f7 Issue-ID: CCSDK-926 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-13Python lib for RA and component executorSteve Alphonse Siani1-2/+2
Change-Id: Iacec0dbbd3e7c1dc955ac913f346365732248f05 Issue-ID: CCSDK-1091 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-03-11Blueprint for configuring a PNFottero2-2/+18
This is the first version of a blueprint, intended to be used to configure PNFs. The design considers that a blueprint will be created for each possible PNF. Change-Id: I4994149441257eb417b6d5f611e12cd81595177f Issue-ID: CCSDK-1107 Signed-off-by: ottero <rodrigo.ottero@est.tech>
2019-03-05Add gRPC & REST basic auth supportAlexis de Talhouët10-21/+332
Change-Id: Iaa187a8288a9c84aa80b596a14e66de10a9b7501 Issue-ID: CCSDK-1055 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-16Rework netconf-executorAlexis de Talhouët1-4/+3
- rework connection logic - rework rpc service - rework netconf session handling - rework netconf device communicator - rework python netconf bindings - rework python netconf client - add python script showcasing netconf functions Change-Id: Ibb9bf811e7d96e993aa866371d56c172de83be2c Issue-ID: CCSDK-790:x Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-12Fixes: manual integration test of CDSAlexis de Talhouët2-5/+3
- support to overwrite cba - fix map to json - finish meshing - fix python context not having the bluePrintRuntimeService injected - load all properties in the properties store Issue-ID: CCSDK-414 Change-Id: I6b65201529d0ffd9c3e18023a33e0081236b01de Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-12Multiple fixes & enhancementAlexis de Talhouët1-40/+39
- Rework docker image build - Fix compress function - Fix node type name for source-primary-db Change-Id: Ide38e17036e76047d9f850b714ba0da4add5cd9d Issue-ID: CCSDK-414 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-12Jython execution component and serviceSteve Alphonse Siani3-3/+19
Change-Id: I2610e73a9c7ba073b5fa9d148dcd6fb5b9ad9ae3 Issue-ID: CCSDK-696 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-01-23ControllerBlueprint blueprintsProcessor containerSteve Alphonse Siani3-1/+44
Change-Id: I77df77757c276fca705091c1566c386f842269c4 Issue-ID: CCSDK-949 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
2019-01-09Add support for blueprintprocessor runtime DBAlexis de Talhouët1-1/+2
- created db-resources module to store controller blueprint related controller blueprint repository and entities. Also create an abstract BlueprintCatalogServiceImpl so it can be used both by controllerblueprint and blueprintprocessor - created blueprint-validation to store the implementation of the validation interface. - change controllerblueprint service to levrage db-resources - implement CatalogService for blueprintprocessor db-lib by using db-resources. Change-Id: I0539e414e4ff3b7a6edf0f6304d6cbc5e6eac404 Issue-ID: CCSDK-664 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-12-11Merge "Add GRPC Blueprint Processing API"Dan Timoney3-0/+125
2018-12-11Merge "Add Primary Data Source Configuration"Dan Timoney2-3/+22
2018-12-11Merge "Add Generic Rest Configuration"Dan Timoney2-4/+7
2018-12-11Merge "Add Blueprint Runtime Input/Output logic"Dan Timoney2-3/+21
2018-12-07Add GRPC Blueprint Processing APIMuthuramalingam, Brinda Santh(bs2796)3-0/+125
Change-Id: Id2c31e8db2b5ede6a992d923f695ce1e0e14b450 Issue-ID: CCSDK-799 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>