summaryrefslogtreecommitdiffstats
path: root/packages/base/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src')
-rw-r--r--packages/base/src/files/bin/db_upgrade_droolspdp.sh2
-rw-r--r--packages/base/src/files/bin/db_upgrade_droolspdp_remote.sh21
-rw-r--r--packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql20
-rw-r--r--packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql22
-rw-r--r--packages/base/src/files/etc/monitor/monitor.cfg21
-rw-r--r--packages/base/src/files/etc/profile.d/su.cfg20
6 files changed, 104 insertions, 2 deletions
diff --git a/packages/base/src/files/bin/db_upgrade_droolspdp.sh b/packages/base/src/files/bin/db_upgrade_droolspdp.sh
index 738317de..382b3b22 100644
--- a/packages/base/src/files/bin/db_upgrade_droolspdp.sh
+++ b/packages/base/src/files/bin/db_upgrade_droolspdp.sh
@@ -2,7 +2,7 @@
###
# ============LICENSE_START=======================================================
-# Base Package
+# ONAP POLICY
# ================================================================================
# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
# ================================================================================
diff --git a/packages/base/src/files/bin/db_upgrade_droolspdp_remote.sh b/packages/base/src/files/bin/db_upgrade_droolspdp_remote.sh
index 96cfda1c..fd8eb548 100644
--- a/packages/base/src/files/bin/db_upgrade_droolspdp_remote.sh
+++ b/packages/base/src/files/bin/db_upgrade_droolspdp_remote.sh
@@ -1,4 +1,25 @@
#!/bin/bash
+
+###
+# ============LICENSE_START=======================================================
+# ONAP POLICY
+# ================================================================================
+# Copyright (C) 2017 AT&T Intellectual Property. 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.
+# ============LICENSE_END=========================================================
+###
+
#
# db_upgrade_droolspdp_remote.sh: This script is to perform database schema upgrade on remote db,
# no shecma downgrade will be performed in case db_version is higher then target_version
diff --git a/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql b/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql
index 0f756585..5cabefbf 100644
--- a/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql
+++ b/packages/base/src/files/data/mysql/161004_droolspdp_downgrade_script.sql
@@ -1,2 +1,22 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP POLICY
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. 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.
+ * ============LICENSE_END=========================================================
+ */
+
alter table drools.droolsPdpEntity modify updatedDate datetime not null;
alter table drools.droolsPdpEntity modify designatedDate datetime not null;
diff --git a/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql b/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql
index f3a6cdda..5069aad8 100644
--- a/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql
+++ b/packages/base/src/files/data/mysql/161004_droolspdp_upgrade_script.sql
@@ -1,5 +1,25 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP POLICY
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. 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.
+ * ============LICENSE_END=========================================================
+ */
+
alter table drools.droolsPdpEntity modify updatedDate timestamp not null;
alter table drools.droolsPdpEntity modify designatedDate timestamp not null;
- \ No newline at end of file
+
diff --git a/packages/base/src/files/etc/monitor/monitor.cfg b/packages/base/src/files/etc/monitor/monitor.cfg
index afc6c714..8b987a20 100644
--- a/packages/base/src/files/etc/monitor/monitor.cfg
+++ b/packages/base/src/files/etc/monitor/monitor.cfg
@@ -1,3 +1,24 @@
+###
+# ============LICENSE_START=======================================================
+# ONAP POLICY
+# ================================================================================
+# Copyright (C) 2017 AT&T Intellectual Property. 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.
+# ============LICENSE_END=========================================================
+###
+#
+#
# Line Format: component=status where
# component=<component name>, e.g. policy-management-controller
# status=on|off where
diff --git a/packages/base/src/files/etc/profile.d/su.cfg b/packages/base/src/files/etc/profile.d/su.cfg
index 9cacea38..ddef1b6c 100644
--- a/packages/base/src/files/etc/profile.d/su.cfg
+++ b/packages/base/src/files/etc/profile.d/su.cfg
@@ -1 +1,21 @@
+###
+# ============LICENSE_START=======================================================
+# ONAP POLICY
+# ================================================================================
+# Copyright (C) 2017 AT&T Intellectual Property. 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.
+# ============LICENSE_END=========================================================
+###
+#
# name=value pairs for su purposes