aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources/Service.hbm.xml
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-04-02 23:43:53 -0400
committerRob Daugherty <rd472p@att.com>2018-04-02 23:43:53 -0400
commit8d93387688812e438ed6d3daabba161950fa2a31 (patch)
treefa49957bf8ea98282c270407d3028823e1cf2991 /mso-catalog-db/src/main/resources/Service.hbm.xml
parent620071686e06abc1a2e7180e2ff1e010611ef979 (diff)
SO application deployment issues
There are a few problems here. 1) Hibernate definitions for a few tables don't match the column definitions in the MySQL schema scripts. 2) The process engine in MSOInfrastructureBPMN is defined incorrectly. 3) Several bpmn flows have errors that block deployment. Change-Id: I029238b82736a3d4977fdf56416c5feb2705b041 Issue-ID: SO-557 Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'mso-catalog-db/src/main/resources/Service.hbm.xml')
-rw-r--r--mso-catalog-db/src/main/resources/Service.hbm.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/mso-catalog-db/src/main/resources/Service.hbm.xml b/mso-catalog-db/src/main/resources/Service.hbm.xml
index 07f7795725..2344432056 100644
--- a/mso-catalog-db/src/main/resources/Service.hbm.xml
+++ b/mso-catalog-db/src/main/resources/Service.hbm.xml
@@ -42,9 +42,12 @@
<property name="category" column="SERVICE_CATEGORY" type="string" length="20"/>
<property name="serviceType" column="SERVICE_TYPE" type="string" length="20"/>
<property name="serviceRole" column="SERVICE_ROLE" type="string" length="20"/>
- <property name="environmentContext" column="ENVIRONMENT_CONTEXT" type="string" length="200"/>
- <property name="workloadContext" column="WORKLOAD_CONTEXT" type="string" length="200"/>
-
+ <property name="environmentContext" type="string" length="200">
+ <column name="ENVIRONMENT_CONTEXT" default="null"/>
+ </property>
+ <property name="workloadContext" type="string" length="200">
+ <column name="WORKLOAD_CONTEXT" default="null"/>
+ </property>
<map name="recipes" inverse="true" cascade="all">
<key column="SERVICE_MODEL_UUID"/>
@@ -57,4 +60,4 @@
<one-to-many class="ServiceToResourceCustomization" />
</set>
</class>
-</hibernate-mapping> \ No newline at end of file
+</hibernate-mapping>