Ezhilarasi [Fri, 19 Jul 2019 13:49:28 +0000 (19:19 +0530)]
Added Scripts concept in CDS Index
Change-Id: I9c19b16d0fb2a31964cb6b339b13b14e3910c846
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Brinda Santh Muthuramalingam [Thu, 18 Jul 2019 14:12:08 +0000 (14:12 +0000)]
Merge "Enable dynamic remote python executor"
Dan Timoney [Thu, 18 Jul 2019 13:32:51 +0000 (13:32 +0000)]
Merge "Fix missing constrains definitions."
Dan Timoney [Thu, 18 Jul 2019 13:32:27 +0000 (13:32 +0000)]
Merge "Remove unwanted files from docs folder"
Dan Timoney [Thu, 18 Jul 2019 13:32:00 +0000 (13:32 +0000)]
Merge "Media file location fix in index"
Dan Timoney [Thu, 18 Jul 2019 13:31:27 +0000 (13:31 +0000)]
Merge "Renamed template options and reordered"
Dan Timoney [Thu, 18 Jul 2019 13:30:46 +0000 (13:30 +0000)]
Merge "Added enrichment microservice"
Dan Timoney [Thu, 18 Jul 2019 13:29:53 +0000 (13:29 +0000)]
Merge "Fixed content issues in Resource Source"
Alexis de Talhouët [Wed, 17 Jul 2019 17:12:57 +0000 (13:12 -0400)]
Enable dynamic remote python executor
Change-Id: I77a60de87acec862ce47256557a1223fefe82a12
Issue-ID: CCSDK-1497
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Timoney, Dan (dt5972) [Wed, 17 Jul 2019 15:07:44 +0000 (11:07 -0400)]
Added npmVersion to install NPM
To install local copy of npm, needed to make 2 changes to
frontend-maven-plugin configuration:
1) Add tag <npmVersion>6.4.1</npmVersion>
2) Removed tag <npmDownloadRoot>
Confirmed in local build that those changes result in npm being installed
in local 'node' directory (which it was not before these changes).
Also, changed parent version to 1.3.1-SNAPSHOT - this will be needed to
prevent builds from breaking when new SAN certs are installed for ONAP gerrit.
Change-Id: I576d8737eccfaa3024a36608edc1102535a55d26
Issue-ID: CCSDK-1491
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Alexis de Talhouët [Wed, 17 Jul 2019 12:20:46 +0000 (08:20 -0400)]
Fail to get assignment-params when error occur
Exception is always thrown due to the contract, enforcing
the get attribute to throw an exception if not found.
For the resource resolution result, we can simply initialize
the property to an empty json, so system won't throw an exception
if user request the output, but process failed.
Change-Id: I39e288590502c75495e2938a44b874dfd0671155
Issue-ID: CCSDK-1495
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Brinda Santh Muthuramalingam [Wed, 17 Jul 2019 13:14:20 +0000 (13:14 +0000)]
Merge "bubble up python error to CDS output"
Brinda Santh Muthuramalingam [Wed, 17 Jul 2019 13:13:05 +0000 (13:13 +0000)]
Merge "Remove application filter for controller blueprint"
Alexis de Talhouët [Tue, 16 Jul 2019 21:04:15 +0000 (17:04 -0400)]
Remove application filter for controller blueprint
This is not used, nor needed for the broader ONAP scope.
Change-Id: Id6ddc92145e944890aed413fccc20bc6fc0fd956
Issue-ID: CCSDK-1492
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Oleg Mitsura [Tue, 16 Jul 2019 22:18:05 +0000 (18:18 -0400)]
bubble up python error to CDS output
Issue-ID: CCSDK-1494
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Iac9fc47ef51d92da507cc6d2dfee252490a2313a
Alexis de Talhouët [Tue, 16 Jul 2019 21:05:04 +0000 (17:05 -0400)]
Fix typo in log
Change-Id: I50799d9ba80002971c4149c80621fea98fa9184b
Issue-ID: CCSDK-1493
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Brinda Santh Muthuramalingam [Tue, 16 Jul 2019 21:12:06 +0000 (21:12 +0000)]
Merge "Python executor parameters sorted again."
Brinda Santh Muthuramalingam [Tue, 16 Jul 2019 21:11:51 +0000 (21:11 +0000)]
Merge "better errMsg for request block missing"
Brinda Santh Muthuramalingam [Tue, 16 Jul 2019 21:11:02 +0000 (21:11 +0000)]
Merge "Fixed bugs/vulnerabilities reported by SonarQube"
Ezhilarasi [Tue, 16 Jul 2019 18:29:14 +0000 (23:59 +0530)]
CDS Server Package.json issue fix
Server compilation failure fix
Change-Id: Icea5108e38329f34886f232bb3c7ba1f32dd75a3
Issue-ID: CCSDK-1491
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Tue, 16 Jul 2019 14:05:17 +0000 (19:35 +0530)]
Renamed template options and reordered
Change-Id: Ib89624214f61bc51c6a7dc9eebdbcd3698ccb63d
Issue-ID: CCSDK-1275
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Tue, 16 Jul 2019 13:26:54 +0000 (18:56 +0530)]
Added enrichment microservice
Change-Id: Icf5b7432ed9bbe31ce6a89074ee9ce74dff3a21f
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Tue, 16 Jul 2019 11:57:12 +0000 (17:27 +0530)]
Fixed content issues in Resource Source
Change-Id: Ide9a9e125ae822e1d8d4b7a8f8ea29fff3177522
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Mon, 15 Jul 2019 15:38:56 +0000 (21:08 +0530)]
Remove unwanted files from docs folder
Change-Id: I7b2fad9d9fbc156c6ae7e3c514a8a161f16f63f1
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Mon, 15 Jul 2019 15:50:02 +0000 (21:20 +0530)]
Media file location fix in index
Change-Id: I9c5c655085ac0991295bcbe05bd689de85a8c754
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Oleg Mitsura [Mon, 15 Jul 2019 20:42:17 +0000 (16:42 -0400)]
better errMsg for request block missing
Issue-Id: CCSDK-1486
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I44881a149a1cb5fd6dda2cf682352f92fba45e0d
Brinda Santh [Mon, 15 Jul 2019 17:08:07 +0000 (13:08 -0400)]
Fix missing constrains definitions.
Change-Id: I1d60b1a24a5876f47af3a7b9936a48187bbf2d16
Issue-ID: CCSDK-1380
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Dan Timoney [Mon, 15 Jul 2019 19:36:21 +0000 (19:36 +0000)]
Merge "Added microservice path in index"
Dan Timoney [Mon, 15 Jul 2019 19:35:41 +0000 (19:35 +0000)]
Merge "Fixed Search CBA edit component issue"
Dan Timoney [Mon, 15 Jul 2019 19:27:17 +0000 (19:27 +0000)]
Merge "Fix java.lang.NoClassDefFoundError: org/jsoup/Jsoup error in blueprintprocessor application"
Dan Timoney [Mon, 15 Jul 2019 19:18:46 +0000 (19:18 +0000)]
Merge "Minor updates in ResourceResolutionComponent class"
Dan Timoney [Mon, 15 Jul 2019 18:46:08 +0000 (18:46 +0000)]
Merge "Refractor blueprint-script to avoid cyclic dependency. There is a possibility of cyclic dependencies between blueprint-script module and code module. To avoid cyclic dependency blueprint-script implementation should be moved to Core module. This implementation has zero impact on code functionality and code testing."
Ezhilarasi [Mon, 15 Jul 2019 15:34:53 +0000 (21:04 +0530)]
Added microservice path in index
Change-Id: Ie17a4acc6a9b62f20e8ea2c2f10631c645c33c9f
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Mon, 15 Jul 2019 15:03:51 +0000 (20:33 +0530)]
Fixed Search CBA edit component issue
Change-Id: If0d6bff1da8b85e86e97c2a53059d06329b4b560
Issue-id: CCSDK-1279
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Eliezio Oliveira [Sat, 13 Jul 2019 18:33:24 +0000 (19:33 +0100)]
Fixed bugs/vulnerabilities reported by SonarQube
Change-Id: Idc4be0d050d27fd419915210167b044b90fa2f0a
Issue-ID: CCSDK-1483
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Prathamesh Morde [Fri, 12 Jul 2019 15:17:17 +0000 (11:17 -0400)]
Minor updates in ResourceResolutionComponent class
Issue-ID: CCSDK-1479
Signed-off-by: Prathamesh Morde <prathamesh.morde@bell.ca>
Change-Id: I37fbce8d4621d85d3a47d38464eeeee267d46741
Signed-off-by: Prathamesh Morde <prathamesh_morde@yahoo.ca>
Timoney, Dan (dt5972) [Fri, 12 Jul 2019 12:36:58 +0000 (08:36 -0400)]
Add Brinda as committer
Added Brinda as committer to INFO.yaml
Change-Id: I57bfb72f67f1b41aa5b1172ecbd2d0ff8b09ea0a
Issue-ID: CCSDK-1480
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Dan Timoney [Fri, 12 Jul 2019 12:17:16 +0000 (12:17 +0000)]
Merge "Bug fixes request input default value"
Dan Timoney [Fri, 12 Jul 2019 12:17:02 +0000 (12:17 +0000)]
Merge "Refractor duplicate cli script function"
prathameshmo [Thu, 11 Jul 2019 17:50:42 +0000 (13:50 -0400)]
Fix java.lang.NoClassDefFoundError: org/jsoup/Jsoup error in blueprintprocessor
application
Issue-ID: CCSDK-1466
Signed-off-by: prathameshmo <prathamesh.morde@bell.ca>
Change-Id: Ic001d3a5d12b4483e421eb0409c62ab985712464
Signed-off-by: prathameshmo <prathamesh.morde@bell.ca>
Dan Timoney [Thu, 11 Jul 2019 00:57:24 +0000 (00:57 +0000)]
Merge "Handle blank reponse body for PUT capability"
Brinda Santh [Wed, 10 Jul 2019 16:10:17 +0000 (12:10 -0400)]
Bug fixes request input default value
Change-Id: I16afd71c2c35b7f270577ea784a9173ea3e0d604
Issue-ID: CCSDK-1357
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Brinda Santh [Wed, 10 Jul 2019 22:27:23 +0000 (18:27 -0400)]
Refractor blueprint-script to avoid cyclic dependency.
There is a possibility of cyclic dependencies between blueprint-script module and code module. To avoid cyclic dependency blueprint-script implementation should be moved to Core module.
This implementation has zero impact on code functionality and code testing.
Change-Id: Ic18ea848cb2e1e2e7a5f1c144714de26d1495cee
Issue-ID: CCSDK-1469
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Abdelmuhaimen Seaudi [Wed, 10 Jul 2019 20:47:26 +0000 (20:47 +0000)]
Handle blank reponse body for PUT capability
Issue-Id: CCSDK-1467
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Change-Id: Ibc50be0bf9986c49d2c7546f895c85c6851447bb
Oleg Mitsura [Wed, 10 Jul 2019 19:48:53 +0000 (15:48 -0400)]
Python executor parameters sorted again.
Issue-ID: CCSDK-1468
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: If8eb50fc2e8dfa084e486b02ace163eee1bfac77
Brinda Santh [Wed, 10 Jul 2019 14:40:30 +0000 (10:40 -0400)]
Refractor duplicate cli script function
Change-Id: Ida75e839668eeeabd4577629f2bc6ec3240d7734
Issue-ID: CCSDK-1428
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
prathameshmo [Wed, 10 Jul 2019 13:40:01 +0000 (09:40 -0400)]
Check null instead of "null" JSON node.
ISSUE-ID: CCSDK-1463
Signed-off-by: prathameshmo <prathamesh.morde@bell.ca>
Change-Id: Id4e9827d94999a585b79460f147562bdd655ccfb
Steve Siani [Tue, 9 Jul 2019 19:53:57 +0000 (15:53 -0400)]
SLF4J conflict: exclude logging in where it is redundant
Issue-ID: CCSDK-1461
Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
Change-Id: I25521090a2ab8e5b9d7a9edef3178ba83b463657
Dan Timoney [Tue, 9 Jul 2019 18:03:50 +0000 (18:03 +0000)]
Merge "Velocity template engine implement a separate instance"
Dan Timoney [Tue, 9 Jul 2019 17:46:18 +0000 (17:46 +0000)]
Merge "Adding tests to NetconfMessageUtilsTest.kt"
Dan Timoney [Tue, 9 Jul 2019 17:46:10 +0000 (17:46 +0000)]
Merge "Fix ComponentRemoteAnsibleExecutorTest"
Dan Timoney [Tue, 9 Jul 2019 17:46:02 +0000 (17:46 +0000)]
Merge "Removed empty ResourceResolutionControllerTest"
Dan Timoney [Tue, 9 Jul 2019 17:45:54 +0000 (17:45 +0000)]
Merge "Removed redundant Jython interpreter instantiation test"
Dan Timoney [Tue, 9 Jul 2019 17:45:41 +0000 (17:45 +0000)]
Merge "Re-enabled @Ignored tests on NetconfSessionImplTest"
Dan Timoney [Tue, 9 Jul 2019 17:45:32 +0000 (17:45 +0000)]
Merge "Re-enabled test for happy-path case on NetconfDeviceCommunicatorTest"
Dan Timoney [Tue, 9 Jul 2019 17:45:21 +0000 (17:45 +0000)]
Merge "Re-enabled BluePrintProcessingGRPCHandlerTest"
Dan Timoney [Tue, 9 Jul 2019 17:45:13 +0000 (17:45 +0000)]
Merge "Re-enabled RestClientServiceTest"
Dan Timoney [Tue, 9 Jul 2019 17:45:04 +0000 (17:45 +0000)]
Merge "Fix interrupt state left ON on NetconfSessionImpl.syncRpc()"
Steve Siani [Mon, 8 Jul 2019 16:33:43 +0000 (12:33 -0400)]
Velocity template engine implement a separate instance
Issue-ID: CCSDK-1457
Signed-off-by: Steve Siani <alphonse.steve.siani.djissitchi@ibm.com>
Change-Id: I8fd9918df5e03e1f7c0cdcf4bc63ddc5846195b8
prathameshmo [Tue, 9 Jul 2019 14:32:15 +0000 (10:32 -0400)]
Remove slf4j-log4j12 dependency which apache-kafka is bringing.
Issue-ID: CCSDK-1459
Signed-off-by: prathameshmo <prathamesh.morde@bell.ca>
Change-Id: I318384ebe93cacb2b7436d3e796a8cac345724bb
Dan Timoney [Mon, 8 Jul 2019 19:20:30 +0000 (19:20 +0000)]
Merge "Corrected title section in Microservice index"
Dan Timoney [Mon, 8 Jul 2019 19:19:57 +0000 (19:19 +0000)]
Merge "Created microservice folder"
Dan Timoney [Mon, 8 Jul 2019 19:19:27 +0000 (19:19 +0000)]
Merge "Created media folders for ResourceDictionary"
Dan Timoney [Mon, 8 Jul 2019 15:15:39 +0000 (15:15 +0000)]
Merge "Do not dump a collection of outputs at the end."
Dan Timoney [Mon, 8 Jul 2019 15:14:36 +0000 (15:14 +0000)]
Merge "Add UT for ResourceResolutionService/Component"
Dan Timoney [Mon, 8 Jul 2019 15:14:27 +0000 (15:14 +0000)]
Merge "Add unit test for resolution repository"
Dan Timoney [Mon, 8 Jul 2019 15:14:18 +0000 (15:14 +0000)]
Merge "Enforce resolutionKey or resourceId/resourceType"
Dan Timoney [Mon, 8 Jul 2019 15:14:08 +0000 (15:14 +0000)]
Merge "Share RR context within node template"
Dan Timoney [Mon, 8 Jul 2019 15:13:57 +0000 (15:13 +0000)]
Merge "Fix swagger definition for blueprint processor"
Dan Timoney [Mon, 8 Jul 2019 15:13:48 +0000 (15:13 +0000)]
Merge "Refactor resolution controllers"
Dan Timoney [Mon, 8 Jul 2019 15:13:12 +0000 (15:13 +0000)]
Merge "Enable https for cds-ui"
Dan Timoney [Mon, 8 Jul 2019 14:45:57 +0000 (14:45 +0000)]
Merge "Added Search CBA component"
Dan Timoney [Mon, 8 Jul 2019 14:45:35 +0000 (14:45 +0000)]
Merge "Added Side Nav menu for search CBA"
Dan Timoney [Mon, 8 Jul 2019 14:45:18 +0000 (14:45 +0000)]
Merge "Create CBA Search existing template"
Dan Timoney [Mon, 8 Jul 2019 14:44:56 +0000 (14:44 +0000)]
Merge "Template option populate to Select template"
Dan Timoney [Mon, 8 Jul 2019 14:44:35 +0000 (14:44 +0000)]
Merge "Search service for Controller Blueprint"
Dan Timoney [Mon, 8 Jul 2019 13:39:59 +0000 (13:39 +0000)]
Merge "Added template options to create CBA"
Dan Timoney [Mon, 8 Jul 2019 13:39:02 +0000 (13:39 +0000)]
Merge "Remote Python executor Handler class process fails with Arguments list too long"
Dan Timoney [Mon, 8 Jul 2019 13:38:11 +0000 (13:38 +0000)]
Merge "Enhance logger to the server"
Dan Timoney [Mon, 8 Jul 2019 13:37:50 +0000 (13:37 +0000)]
Merge "CDS-UI: support gRPC integration with blueprint processor mS - For deploy blueprint functionality"
Dan Timoney [Mon, 8 Jul 2019 13:37:11 +0000 (13:37 +0000)]
Merge "Kafka Messaging Controller API."
Dan Timoney [Mon, 8 Jul 2019 13:34:22 +0000 (13:34 +0000)]
Merge "Remote Python executor unescapes script parameter values"
Rodrigo Ottero [Thu, 13 Jun 2019 13:53:24 +0000 (14:53 +0100)]
Adding tests to NetconfMessageUtilsTest.kt
Change-Id: If7a0d90ce264e7362e7118132303653eaaef9e69
Issue-ID: CCSDK-1046
Signed-off-by: Rodrigo Ottero <rodrigo.ottero@est.tech>
Eliezio Oliveira [Thu, 13 Jun 2019 15:04:38 +0000 (16:04 +0100)]
Fix ComponentRemoteAnsibleExecutorTest
Change-Id: I0031e354c61ba84fb280f9b50e93c8bdc772627b
Issue-ID: CCSDK-1452
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Eliezio Oliveira [Fri, 7 Jun 2019 13:31:04 +0000 (14:31 +0100)]
Removed empty ResourceResolutionControllerTest
Change-Id: I75d7cf7171b284f26fba8b0623e9be964b924b35
Issue-ID: CCSDK-1454
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Eliezio Oliveira [Thu, 6 Jun 2019 14:23:28 +0000 (15:23 +0100)]
Removed redundant Jython interpreter instantiation test
Change-Id: I5f446dcff85d0c2b0395e32bbbdcbb7b8ebe9708
Issue-ID: CCSDK-1454
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Eliezio Oliveira [Tue, 4 Jun 2019 21:58:35 +0000 (22:58 +0100)]
Re-enabled @Ignored tests on NetconfSessionImplTest
Change-Id: I7d223956c95d4effc6a6d6c4cc3bf6648ada28be
Issue-ID: CCSDK-1451
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Eliezio Oliveira [Fri, 31 May 2019 16:27:28 +0000 (17:27 +0100)]
Re-enabled test for happy-path case on NetconfDeviceCommunicatorTest
Change-Id: I741e87f889b346ab63c29ce17231815a87a4e94d
Issue-ID: CCSDK-1450
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Eliezio Oliveira [Fri, 31 May 2019 12:28:39 +0000 (13:28 +0100)]
Re-enabled BluePrintProcessingGRPCHandlerTest
Change-Id: I0ffd89526c355aa768ac53c1a1f201ab6d0317de
Issue-ID: CCSDK-1449
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Eliezio Oliveira [Thu, 30 May 2019 07:20:24 +0000 (08:20 +0100)]
Re-enabled RestClientServiceTest
Secondary HTTP server switched from blocking Tomcat to reactive Netty
Change-Id: I44ae3e4d1f4f1af1335a94032f236a1023dbdea0
Issue-ID: CCSDK-1447
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Eliezio Oliveira [Mon, 10 Jun 2019 16:07:06 +0000 (17:07 +0100)]
Fix interrupt state left ON on NetconfSessionImpl.syncRpc()
Change-Id: Ib1a58ff94f88f352636b5f0af7a6fe5244a8fe7e
Issue-ID: CCSDK-1455
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
Ezhilarasi [Fri, 5 Jul 2019 08:17:24 +0000 (13:47 +0530)]
Created media folders for ResourceDictionary
Change-Id: I5cef94b48b3ba3cf13bb6090ae4f9c9b0a6bbb9d
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Fri, 5 Jul 2019 08:11:38 +0000 (13:41 +0530)]
Created microservice folder
Change-Id: I89fd0da33dbaa1704ba93d2ca7ab2f29c4493935
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Ezhilarasi [Fri, 5 Jul 2019 07:59:54 +0000 (13:29 +0530)]
Corrected title section in Microservice index
Change-Id: I67a34bdc3709566f86d428f0f703aa5470724eab
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Alexis de Talhouët [Sun, 30 Jun 2019 02:25:49 +0000 (22:25 -0400)]
Add UT for ResourceResolutionService/Component
Change-Id: I460b3747ffdf5f4cfcb486803097939d1ae1fec0
Issue-ID: CCSDK-1046
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Alexis de Talhouët [Sat, 29 Jun 2019 22:27:23 +0000 (18:27 -0400)]
Add unit test for resolution repository
Change-Id: If66670cc5397b0bcce340092ec6ff9ec008677bc
Issue-ID: CCSDK-1423
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Alexis de Talhouët [Sat, 29 Jun 2019 04:28:40 +0000 (00:28 -0400)]
Enforce resolutionKey or resourceId/resourceType
There are three existing ways to perform the resolution:
either we don't store the results at all, whether for resource or template
either we store using the resolution key. The combination of blueprintName,
blueprintVersion, artifactName and resolutionKey has to be unique. If it
is re-used, it is considered as a new attempt for that specific resolution
request, and process will only try to resolve resources not marked at SUCCESS
in the database.
either we store using the resourceId and resourceType. As previous point, the
combination of blueprintName, blueprintVersion, artifactName and resolutionKey
has to be unique. If it is re-used, it is considered as a new attempt for that
specific resolution request, and process will only try to resolve resources not
marked at SUCCESS in the database.
TBD: add uni tests
Issue-ID: CCSDK-1423
Change-Id: I6b7198453cf0002edfa7a0c9ea3179555211b5dc
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Alexis de Talhouët [Thu, 27 Jun 2019 11:11:24 +0000 (07:11 -0400)]
Share RR context within node template
Also, mark resolution as failed for capability when failure.
Change-Id: I3c1704b5b99ace7096f1d9e1cd9bb7f5b595db13
Issue-ID: CCSDK-1422
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Alexis de Talhouët [Sun, 23 Jun 2019 19:30:36 +0000 (15:30 -0400)]
Fix swagger definition for blueprint processor
Change-Id: I69ba541b4b301735a988cf01673827a79daf1f8c
Issue-ID: CCSDK-1431
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Alexis de Talhouët [Fri, 21 Jun 2019 02:48:12 +0000 (22:48 -0400)]
Refactor resolution controllers
tempalte and resources for get/put API
Change-Id: Ia00bdb08f5f52231481edc6de232f850c66874e9
Issue-ID: CCSDK-1423
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>