summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources/VnfResource.hbm.xml
diff options
context:
space:
mode:
authorc00149107 <chenchuanyu@huawei.com>2018-01-19 14:36:23 +0800
committerc00149107 <chenchuanyu@huawei.com>2018-01-22 09:32:07 +0800
commit2a4218f9cb597153d74ffc8bcd47c082fee787b2 (patch)
treef7e4dcb1c3484646fd28349d338739e58f3e588d /mso-catalog-db/src/main/resources/VnfResource.hbm.xml
parent060172a72106a52ad0b1adcd3fb2ad50cb05f1cc (diff)
Add Category info For Service and Resource
Add Category info For Service and Resource,It is used for generic workflow Change-Id: I952d39388eac8b379a8ecc365e1292fdc0cf597e Issue-ID: SO-379 Signed-off-by: c00149107 <chenchuanyu@huawei.com>
Diffstat (limited to 'mso-catalog-db/src/main/resources/VnfResource.hbm.xml')
-rw-r--r--mso-catalog-db/src/main/resources/VnfResource.hbm.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mso-catalog-db/src/main/resources/VnfResource.hbm.xml b/mso-catalog-db/src/main/resources/VnfResource.hbm.xml
index 2647a0fcc2..03d1de544c 100644
--- a/mso-catalog-db/src/main/resources/VnfResource.hbm.xml
+++ b/mso-catalog-db/src/main/resources/VnfResource.hbm.xml
@@ -36,6 +36,8 @@
<property name="orchestrationMode" type="string" column="ORCHESTRATION_MODE" length="20" not-null="true"/>
<property name="aicVersionMin" type="string" column="AIC_VERSION_MIN" length="20"/>
<property name="aicVersionMax" type="string" column="AIC_VERSION_MAX" length="20"/>
+ <property name="category" type="string" column="RESOURCE_CATEGORY" length="20"/>
+ <property name="subCategory" type="string" column="RESOURCE_SUB_CATEGORY" length="20"/>
<property name="heatTemplateArtifactUUId" type="string" column="HEAT_TEMPLATE_ARTIFACT_UUID" length="200" />
<property name="created" type="timestamp" generated="insert" update="false" insert="false" not-null="true">
<column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/>