summaryrefslogtreecommitdiffstats
path: root/standalone/src/main/assembly
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/src/main/assembly')
-rw-r--r--standalone/src/main/assembly/config/ccvpn.properties21
-rw-r--r--standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql5
2 files changed, 24 insertions, 2 deletions
diff --git a/standalone/src/main/assembly/config/ccvpn.properties b/standalone/src/main/assembly/config/ccvpn.properties
new file mode 100644
index 00000000..27288ee9
--- /dev/null
+++ b/standalone/src/main/assembly/config/ccvpn.properties
@@ -0,0 +1,21 @@
+##
+## Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+##
+## Licensed under the Apache License, Version 2.0 (the "License");
+## you may not use this file except in compliance with the License.
+## You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+##/
+
+ccvpn.globalCustomerId=IBNCustomer
+ccvpn.subscriberName=IBNCustomer
+ccvpn.subscriberType=INFRA
+ccvpn.serviceType=IBN
+
diff --git a/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql b/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql
index 6a3cf87c..d7201f51 100644
--- a/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql
+++ b/standalone/src/main/assembly/resources/dbscripts/postgres/uui_create_table.sql
@@ -170,7 +170,7 @@ DROP TABLE IF EXISTS ccvpn_instance;
CREATE TABLE ccvpn_instance
(
id serial not null
- constraint intent_instance_pk
+ constraint ccvpn_instance_pk
primary key,
instance_id varchar(16),
job_id varchar(36),
@@ -182,7 +182,8 @@ CREATE TABLE ccvpn_instance
access_point_one_name varchar(255),
access_point_one_band_width integer,
line_num varchar(64),
- delete_state integer default 0
+ delete_state integer default 0,
+ protect_status integer default 0
);
-- ----------------------------