diff options
author | 2017-09-13 09:12:44 +0800 | |
---|---|---|
committer | 2017-09-13 09:12:44 +0800 | |
commit | 70baa47927aeb5f4562172651d21b47fd56bb19e (patch) | |
tree | cddfdcae54853f2c2325701fb6c2728bf7c00ede /res/assembly | |
parent | e2e54618859bf098a7f06c106d869d3765e7f04c (diff) |
Modify gvnfm vnfres code according to PEP8
Change-Id: Ifb0779e25aa27cca634324603e8e5a6d130adacc
Issue-ID: VFC-344
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'res/assembly')
-rwxr-xr-x | res/assembly/bin/initDB.sh | 3 | ||||
-rw-r--r-- | res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createdb.sql | 3 | ||||
-rw-r--r-- | res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createobj.sql | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/res/assembly/bin/initDB.sh b/res/assembly/bin/initDB.sh index 1ed4863..5ad52f5 100755 --- a/res/assembly/bin/initDB.sh +++ b/res/assembly/bin/initDB.sh @@ -13,7 +13,7 @@ # 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. -# + DIRNAME=`dirname $0` HOME=`cd $DIRNAME/; pwd` @@ -47,4 +47,3 @@ do done echo "init resource management database success!" exit 0 - diff --git a/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createdb.sql b/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createdb.sql index 32d2450..941ad16 100644 --- a/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createdb.sql +++ b/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createdb.sql @@ -12,7 +12,6 @@ -- 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. --- /******************drop old database and user***************************/ @@ -29,4 +28,4 @@ GRANT ALL PRIVILEGES ON mysql.* TO 'gvnfm'@'%' IDENTIFIED BY 'gvnfm' WITH GRANT GRANT ALL PRIVILEGES ON gvnfm.* TO 'gvnfm'@'localhost' IDENTIFIED BY 'gvnfm' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON mysql.* TO 'gvnfm'@'localhost' IDENTIFIED BY 'gvnfm' WITH GRANT OPTION; -FLUSH PRIVILEGES;
\ No newline at end of file +FLUSH PRIVILEGES; diff --git a/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createobj.sql b/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createobj.sql index 86a2010..1facf38 100644 --- a/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createobj.sql +++ b/res/assembly/dbscripts/mysql/onap-gvnfm-vnfres-createobj.sql @@ -12,7 +12,7 @@ -- 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. --- + use gvnfm; |