summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints
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-09Add support for aai nodeAlexis de Talhouët5-1/+110
Change-Id: I6c4d70f270d605dd4d49e89580849c9100ec4928 Issue-ID: SDNC-123 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-11-02Build/deploy ControllerBlueprint DockerimageAlexis de Talhouët1-8/+15
Change-Id: Iba3217fe6080f4a1430095ef4c184fe7e9286459 Issue-ID: CCSDK-646 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-10-25Assign image keyname and pubkey at vnf levelAlexis de Talhouët9-48/+462
Change-Id: I7eb4b47a9440e277a510864f2bb52323e464da5a Issue-ID: CCSDK-621 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-10-23Roll to next Casablanca snapshotTimoney, Dan (dt5972)6-8/+8
Roll to next Casablanca snapshot Change-Id: I432cd05ecbafa27462a30ae1f325919d2aed0204 Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-16Merge "Fix DDs, blueprint and template for vFW CDS"Dan Timoney11-451/+496
2018-10-15Fix DDs, blueprint and template for vFW CDSAlexis de Talhouët11-451/+496
Change-Id: Ia52b9717df2ef67dd5bf667515c55816b750a199 Issue-ID: CCSDK-601 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-10-09Merge "Add DD, blueprint and template for self-serve vFW"Dan Timoney65-470/+6027
2018-10-09Add DD, blueprint and template for self-serve vFWAlexis de Talhouët65-470/+6027
Change-Id: If818d768a471156d02db357c83b005f7dae761ff Issue-ID: CCSDK-601 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Signed-off-by: Singal, Kapil (ks220y) <ks220y@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)6-7/+7
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-21Merge "added version no to google guava plugin dependency"Dan Timoney1-2/+2
2018-09-21added version no to google guava plugin dependencySandeep J1-2/+2
to increase code coverage Issue-ID: CCSDK-591 Change-Id: I0599d001c5433ac1c63c160099090eab09bdaffa Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-21Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)10-25/+170
Add basic authentication for Controllerblueprint MS. Change-Id: I145e26d6feba873e8d3ed82e4169cbaa425a277e Issue-ID: CCSDK-590 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-17Merge "Controller Blueprints Microservice"Dan Timoney2-4/+4
2018-09-17naming micro-service updates.BT29831-2/+18
More tests, changes for maria DB, support for UUID and timestamp etc. Change-Id: I17bdf3acbe970ef4104f2ec0d59d5777c0a9928e Issue-ID: CCSDK-342 Signed-off-by: BT2983 <BT2983@att.com>
2018-09-17Controller Blueprints MicroserviceMuthuramalingam, Brinda Santh(bs2796)2-4/+4
Change database to mariadb in docker compose and spring boot version upgrade Change-Id: Icd73b8110aea2a1b90ab29217b9c5e30817e6c06 Issue-ID: CCSDK-574 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
2018-09-17Remove invalid testTimoney, Dan (dt5972)1-6/+2
Test case expects 404 Not Found, but URL used is actually same as one used in 200 OK case. Change-Id: Icf7da8237b483cdf13eccbb4a8bb17c23f300733 Issue-ID: CCSDK-558 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-14Merge "formatted code for ControllerBluPrintsApplication"Dan Timoney1-14/+18
2018-09-14Merge "fixed sonar issue in CorsFilter.java"Dan Timoney1-1/+4
2018-09-14Merge "fix sonar issue in ApplicationLoggingFilter.java"Dan Timoney1-2/+3
2018-09-14Merge "fixed major sonar issue in WebConfig.java"Dan Timoney1-1/+2
2018-09-14Fix parent nodeTimoney, Dan (dt5972)1-1/+1
For release build to work properly, parent node must either be outside the project altogether OR must be one directory above OR relativePath must be specified. Changed controllerblueprint to use pom in directory above as parent. Change-Id: Ib3152f7cf90dd2a6628ab4631b387f1f0b51baad Issue-ID: CCSDK-570 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-14formatted code for ControllerBluPrintsApplicationSandeep J1-14/+18
added object assignment in setUp method Issue-ID: CCSDK-552 Change-Id: I485e21b09b9c04bb04a499a0f7bbf8079f8e24d1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-13Merge "Controller Blueprints Microservice"Dan Timoney3-13/+10
2018-09-14fixed sonar issue in CorsFilter.javaSandeep J1-1/+4
fixed sonar issue as detailed in CCSDK-566 Issue-ID: CCSDK-566 Change-Id: I5ec97cca3c0b632fb1219e981be950fce771e224 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-14fix sonar issue in ApplicationLoggingFilter.javaSandeep J1-2/+3
fixed sonar issue as detailed in CCSDK-565 Issue-ID: CCSDK-565 Change-Id: Iacef03814e977e8823812bed9d4c5544cb9f7a49 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-14fixed major sonar issue in WebConfig.javaSandeep J1-1/+2
fixed sonar issue as detailed in CCSDK-564 Issue-ID: CCSDK-564 Change-Id: I694bc8d5abe130016ba7ac9d7786895fe1d5010d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-13Control docker build with profileTimoney, Dan (dt5972)3-42/+53
Docker build should only be run if docker profile is enabled. Change-Id: I6942c3e59b769053fd47d04fe98f3e4b95ea33dd Issue-ID: CCSDK-558 Signed-off-by: Timoney, Dan (dt5972) <dt5972@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)23-187/+738
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)11-8/+252
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 Santh2-11/+6
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)6-214/+243
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)15-149/+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)10-154/+22
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)13-505/+57
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 Santh33-1081/+71
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 Santh3-6/+6
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>