summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/service/src
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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)3-70/+103
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)10-135/+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)3-62/+14
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-06Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)2-7/+26
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 Santh7-20/+82
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 Santh1-2/+2
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)3-50/+11
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 Santh5-3/+163
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)4-91/+70
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)17-101/+100
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)7-46/+117
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)19-182/+146
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 Santh2-45/+30
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)2-18/+29
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 Santh5-15/+17
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 Santh1-2/+0
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 Santh2-31/+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)3-89/+74
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-26Controller Blueprints MicroserviceBrinda Santh5-67/+56
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 Santh5-55/+57
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-23Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)6-68/+56
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-21Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)11-45/+125
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)16-975/+288
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>
2018-08-10Controller Blueprints MSSingal, Kapil (ks220y)58-0/+8606
Creating the base directory structure for Controller Blueprints MicroService Change-Id: I1ccf7fc76446048af3b2822f9155bb634657aee3 Issue-ID: CCSDK-410 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>