summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules
AgeCommit message (Collapse)AuthorFilesLines
2018-11-19Roll to next snapshotTimoney, Dan (dt5972)2-2/+2
Roll to snapshot 0.3.3-SNAPSHOT Change-Id: I76bcbcf6a55c1d7bf774d35d898a2bf17eb899d9 Issue-ID: CCSDK-679 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-13Deterministic startup for resourceSourceMappingsAlexis de Talhouët1-4/+1
also fix a typo in property name resourceSourceMappings is required for loading the resources (templates, DDs, blueprint), but the bean initializing its values was getting instantiated after the resources loading process, ending up failing loading the resources. Mkaing DataBaseInitService dependent on the ApplicationRegistrationService bean will force SpringBoot to have the dependsOn bean loaded before the one declaring the dependency. Change-Id: Id9781057132ddab51ed5a79143d92436304e6b55 Issue-ID: CCSDK-650 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-11-08Deterministic startup for resourceSourceMappingsAlexis de Talhouët2-65/+69
also fix a typo in property name resourceSourceMappings is required for loading the resources (templates, DDs, blueprint), but the bean initializing its values was getting instantiated after the resources loading process, ending up failing loading the resources. Mkaing DataBaseInitService dependent on the ApplicationRegistrationService bean will force SpringBoot to have the dependsOn bean loaded before the one declaring the dependency. Change-Id: I573a7706212dd411a284ec7b57c9373d7d6ff376 Issue-ID: CCSDK-650 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-10-23Roll to next Casablanca snapshotTimoney, Dan (dt5972)2-2/+2
Roll to next Casablanca snapshot Change-Id: I432cd05ecbafa27462a30ae1f325919d2aed0204 Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-04Merge "Added test file for ConfigModelService"Dan Timoney1-0/+36
2018-10-04Merge "Added test file to ModelTypeValidator"Dan Timoney1-0/+58
2018-10-04Merge "SDN Controller Blueprints Processor"Dan Timoney1-1/+1
2018-09-27Roll to next snapshot versionTimoney, Dan (dt5972)2-2/+2
Roll to next snapshot version Change-Id: Ifbbe4c890c47001d60117f09a67daa278d57dcd4 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-27Added test file for ConfigModelServiceArundathi Patil1-0/+36
Added test file for class ConfigModelService Issue-ID: CCSDK-552 Change-Id: Ie175d141b70494961118f249c48d00d42677d654 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-27Prepare for release0.3.0Timoney, Dan (dt5972)1-924/+924
Updated ccsdk/apps to prepare for release build: (a) Removed -STAGING tag from release version in version.properties (b) Updated parents to use released versions Change-Id: Id02db0fa514734abbf65bc39ccfa8ad26e9d43e8 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-27Added test file to ModelTypeValidatorezhil1-0/+58
Added test class file for ModelTypeValidator Issue-ID: CCSDK-594 Change-Id: I11de4b3a62db499399b2051a4096d3f098d1e135 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-09-24SDN Controller Blueprints ProcessorSingal, Kapil (ks220y)1-1/+1
Changing Date Format to consume Blueprints Model Artifact Change-Id: I07a48e4781c27aeff6cec4d1cdeb3539e768f4e9 Issue-ID: CCSDK-596 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2018-09-13Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)3-13/+10
Optimise dictionary dummy data creation reusability and property usage optimisation. Change-Id: Ibbd56d514f437f29943cebc0e607becb6798e4b6 Issue-ID: CCSDK-491 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-13Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)16-177/+672
Add resource assignment enhancement and validation to blueprint validation and enhancement. Change-Id: I547760012e7014cfbb7a1e3a1d8ffb77edc9b6a2 Issue-ID: CCSDK-562 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-12Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)8-6/+228
Add dynamic resource source mapping rest service. Change-Id: I59274a4c0162bc6718c4248788c0e7f36830a129 Issue-ID: CCSDK-556 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-11Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)1-2/+2
Add Controllerbluprint microservice to ccsdk/apps maven build. Change-Id: Ie7a28695df21c2aa63b1005f7df43157c98ce8a4 Issue-ID: CCSDK-547 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-11Controller Blueprints MicroserviceBrinda Santh1-9/+4
Changes to MariaDB from MySql in Pom.xml Issue-ID: CCSDK-532 Change-Id: I6b231f503448a3a0134da8cfc360989b60a9b2b2 Signed-off-by: Dilip kumar Pampana <dilip.kumar.pampana@ibm.com>
2018-09-09Controller Blueprints MicroserviceBrinda Santh7-78/+367
Add ModelType and Resource Dictionary reactor repository service and junit test cases for reactor repositories. Change-Id: Id358082739f81d18b534c224dc7472355e21f026 Issue-ID: CCSDK-491 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-09-09Controller Blueprints MicroserviceBrinda Santh3-75/+19
Add Common Error Handling for ModelType, ServiceTemplate and ResourceDictionary Rest Services. Change-Id: I8fa78bc4b1c38fd6149238da566e0867f64ffcc5 Issue-ID: CCSDK-522 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-09-07Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)4-107/+164
Modify get_input, get_attribute, get_property and get_artifact functions string implementation to Json Implementation. Change-Id: I6d4aadd370dc23127a176964f84fc9bb5e7ab5ee Issue-ID: CCSDK-432 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-07Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)13-199/+18
Remove Resource Dictionary resource_type, resource_path, sample_values and valid_values parameters. Change-Id: I7ec899e30aaef64130f35eb754a79f9dfc54f71f Issue-ID: CCSDK-488 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-07Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)4-95/+19
Add Capability Definition validations and add custom capabilities Types for content, mapping, netconf, ssh and sftp Change-Id: I6a89d20280852034ce6ee56d2a9e97d3aab9c2db Issue-ID: CCSDK-484 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-07Controller Blueprints MicroserviceBrinda Santh1-1/+1
Add Controller Blueprint Capabily Assignment and their properies validation. Change-Id: I845fec3d307414b2caeb1d577308a17656ff194a Issue-ID: CCSDK-484 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-09-06Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)11-504/+46
Add Blueprint Dervied from NodeType, Requirement Definitions and Assignments validations. Change-Id: I1cc643b5a83c5a707c8e3ae1342a439f122da55e Issue-ID: CCSDK-484 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-05Controller Blueprints MicroserviceBrinda Santh30-1075/+55
Add configuration property to load model types and Remove duplicate model type test case files Change-Id: I6a34539cae7377bd133727fde77ff8fefaadf023 Issue-ID: CCSDK-484 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-09-05Controller Blueprints MicroserviceBrinda Santh2-4/+4
Add Controller Blueprint NodeTemplate Interface, Operation, Input and Output validation Change-Id: I6fae38cc8a4a36ddacc93bcea4b0061f846c6aba Issue-ID: CCSDK-484 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-09-05Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)9-58/+19
Add Property Assign validation and Data Type Entry schema validation. Change-Id: Ifa40f62f848d06381ab83d7f1c9e7c6526f5edf0 Issue-ID: CCSDK-484 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-05Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)12-37/+120
Modify Model Type and Resource Defintions persistance and access from String to JSON type for easy handling. Change-Id: Icfe7e95abad715b0ccad16c681ed057d289a6229 Issue-ID: CCSDK-431 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-05Controller Blueprints MicroserviceBrinda Santh7-6/+166
Add Resource Dictionary reactive repository service for dictionary validation and automap functions. Change-Id: I7cc6d7d976cfe9370f9a74cd8f2e4256de8e8995 Issue-ID: CCSDK-484 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-09-04Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)118-8599/+0
Refactor controller blueprint core and resource dictionary modules to components module. Change-Id: If5ba5e35e9c95bc19bc78fb10bd62d6551ba7aca Issue-ID: CCSDK-514 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-04Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)5-92/+76
Add Logger MDC using ONAP LoggerAdaptor and change swagger configuration to return the transactions information, version, etc Change-Id: Ie1dccecce0c08e7ae02c0e55c1cc5be75d5fc686 Issue-ID: CCSDK-510 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-31Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)41-192/+625
Add resource assignment enhancer, resource definition repo functions and code improvements. Change-Id: I751bf8149a36f80c20d48b86344cd6bd3054ed21 Issue-ID: CCSDK-431 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-30Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)23-119/+122
Change to EELF Logger and Code quality improvement for if blocks and collections types. Change-Id: I419c6f8604648671624ef399fb36987f724016fb Issue-ID: CCSDK-410 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-30Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)14-246/+337
Add Resource Seuencing validation and Optimise resource assignment validation logics Change-Id: I6f31ca5dbeb6f6aa89959b7d96fbfad25468b3a4 Issue-ID: CCSDK-416 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-29Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)24-194/+159
Improve code quality for Performance, JavaDoc, Imports, Probably Bug etc Change-Id: Ib71b62f14e8e8bd212e671a135025258fd9927b4 Issue-ID: CCSDK-491 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-28Controller Blueprints MicroserviceBrinda Santh10-158/+187
Add resource assignment json data to input property convertor utlity and their test cases. Change-Id: Ie4557048e85df38c75ac3d31ff62d4fce0662d9f Issue-ID: CCSDK-488 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-28Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)11-33/+583
Add Resource Assignment Validation Service and their Test cases. Change-Id: I106be2bfc03115867041ca341947a4662cf126c4 Issue-ID: CCSDK-487 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-27Controller Blueprints MicroserviceBrinda Santh10-57/+166
Add resource dictionary node template property assignments validation for primitive and complex types. Change-Id: Ic6f3a521310c8e15ebb5b5b5d6ad3edb0ede9ecb Issue-ID: CCSDK-488 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-27Controller Blueprints MicroserviceBrinda Santh5-96/+2
Remove hard coded decrypt rule definition in resource definition and sample JSON. Change-Id: Iaea93ae34fdd6c440c074f001b80a94578086b1a Issue-ID: CCSDK-488 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-27Controller Blueprints MicroserviceBrinda Santh10-603/+3
Remove hard coded resource sources definitions such as Input, DB, MDSAL and Default and their dependencies. Change-Id: I6e00df176415560aa5bbbbf066e5a046878f3c58 Issue-ID: CCSDK-488 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-27Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)11-121/+140
Optimise model type repository search for DB and file in blueprint repo service. Change-Id: If5458e218b723d3fff451789a73a667dd75bc91c Issue-ID: CCSDK-487 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-27Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)4-9/+22
Add junit test case for input, default and rest resource definition validation. Change-Id: I5ee37891768e5985bc7a4df6f6b917396f439bf2 Issue-ID: CCSDK-487 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-26Controller Blueprints MicroserviceBrinda Santh15-86/+209
Add resource dictionary validation implementation services, validation repository services and Junit Test cases. Change-Id: Ia746b86b7d9098eabe5e643dcba558ef9aa7160f Issue-ID: CCSDK-487 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-26Controller Blueprints MicroserviceBrinda Santh24-408/+409
Add Standardized resource definition in Initial data loading and Dictionary management services. Change-Id: Ib33ba2ecf3cb1e1fb9b5dea71532e6bc8280bcbb Issue-ID: CCSDK-487 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-26Controller Blueprints MicroserviceBrinda Santh24-251/+421
Create resource definition and Create Source Node Type definitions for Input, default, db, mdsal and component sources. Change-Id: Icc49cb4be2e8700b61c281ff2d01c365321bb311 Issue-ID: CCSDK-487 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-24Controller Blueprints MicroserviceBrinda Santh3-0/+35
Add Powermock compatable version in OpenJDK Ubuntu Machine for Spring boot 2 Junit testcase and clean maven dependencies Change-Id: Icac038b0d68fdd0edbb1aac9bc2bccb77d627289 Issue-ID: CCSDK-483 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
2018-08-23Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)8-87/+81
Implement Controller Blueprint Meta File format and Meta names such as template_name, template_version, template_author Change-Id: Id221bb9cb0f9e382e3d59d4e309002de1ceb112b Issue-ID: CCSDK-458 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-23Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)4-16/+16
Add Docker Build and Deploy Maven Implementations for Controller Blueprint MS and their dependencies Change-Id: I9eee9fff535bcc9ca0b855150892ce53af126d1c Issue-ID: CCSDK-483 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-21Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)35-94/+478
Define Controllerblueprint API DataType and Error definitions for Config model, Service Template, Model Type and Resource Dictionary Services Change-Id: I12d8d87292ec101601b0cfb7ba9670730973e318 Issue-ID: CCSDK-469 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-08-20Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)19-1062/+290
Restcontroller Swagger Implementation with Embeded jar for Controller Bluprints MS Change-Id: I0c0a33f0e29dad0d4aa703e3e381068b510e57d4 Issue-ID: CCSDK-468 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>