diff options
author | Oleg Mitsura <oleg.mitsura@amdocs.com> | 2022-05-19 11:05:13 -0400 |
---|---|---|
committer | Oleg Mitsura <oleg.mitsura@amdocs.com> | 2022-05-19 11:20:21 -0400 |
commit | 0094e13ddec035faf7f80943783943003f12889a (patch) | |
tree | 76932d2d7517eed97686d93f647b778389e7a063 /ms/blueprintsprocessor/application | |
parent | c3943fbc70105c4ce38d66c7cbe227ddec35d535 (diff) |
CCSDK-3671 add workflows list for grpc
Issue-ID: CCSDK-3671
1. added grpc 'getWorkflows' for BlueprintManagement
2. during CBA upload, the workflows get cached to BLUEPRINT_MODEL.workflows
3. reworked HTTP endpoint to use above "/workflows/blueprint-name/{name}/version/{version}"
4. If CDS is upgraded, with existing CBAs present, fallback by parsing the CBA instead of DB lookup
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: I68bebfe23c0b16ea288512f1087bfe1ceef57686
Diffstat (limited to 'ms/blueprintsprocessor/application')
-rw-r--r-- | ms/blueprintsprocessor/application/src/main/resources/sql/schema.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/resources/sql/schema.sql b/ms/blueprintsprocessor/application/src/main/resources/sql/schema.sql index 851adcf6c..84cce281e 100644 --- a/ms/blueprintsprocessor/application/src/main/resources/sql/schema.sql +++ b/ms/blueprintsprocessor/application/src/main/resources/sql/schema.sql @@ -22,6 +22,7 @@ CREATE TABLE IF NOT EXISTS configurator.BLUEPRINT_MODEL ( published varchar(1) not null, updated_by varchar(100) not null, tags longtext null default null, + workflows longtext null default null, primary key PK_BLUEPRINT_MODEL (blueprint_model_id), UNIQUE KEY UK_BLUEPRINT_MODEL (artifact_name , artifact_version) ) ENGINE=InnoDB; |