diff options
author | 2017-11-05 23:17:21 +0800 | |
---|---|---|
committer | 2017-11-05 23:37:09 +0800 | |
commit | 029a1743a0e3e5c81a232c2153ea9d1b808ba7b6 (patch) | |
tree | eadb5e5ee59c462a34d179c5873e9b6ae5a7b71a /nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources | |
parent | 98b79d96202bc04aec130bf7df6cfc3c78b58ec9 (diff) |
Update db process part
Change-Id: Ie66c98744f3b27c9abf4e6bb24d1be84580ccb91
Issue-ID: VFC-544
Signed-off-by: yufei_zhou <yufei.zhou@nokia-sbell.com>
Diffstat (limited to 'nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources')
-rw-r--r-- | nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/application.properties | 22 | ||||
-rw-r--r-- | nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/register.properties | 2 |
2 files changed, 20 insertions, 4 deletions
diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/application.properties b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/application.properties index 850e6cad..5b7f742d 100644 --- a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/application.properties +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/application.properties @@ -16,6 +16,13 @@ server.error.whitelabel.enabled=false ## for MySql Database begin ## +spring.jpa.show-sql=true +spring.jpa.generate-ddl=true +spring.jpa.hibernate.ddl-auto=update +spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect +spring.jackson.serialization.indent_output=false + + spring.datasource.username=vnfm spring.datasource.password=vnfmpass spring.datasource.url=jdbc:mysql://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false @@ -43,7 +50,16 @@ catalogVersionInMsb=v1 ## configure service name and version of MSB services AAI/LCM/Catalog end ## ## for retrieving token from CBAM begin ## -grantType=grantType1 -clientId=clientId1 -clientSecret=clientSecret1 +grantType=password +clientId=Orchestrator +clientSecret=.1.qtcePQQ3.BqxiGBeyWUjREnGooRr6x1 +cbamApiUriFront=https://172.30.24.3 +cbamUserName=cbam +cbamPassword=Nokia@123 ## for retrieving token from CBAM end ## + +## Granting part +type=vdu +sizeOfStorage=40 +virtualMemSize=8192 +numVirtualCpu=4 diff --git a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/register.properties b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/register.properties index 04929955..59babb8c 100644 --- a/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/register.properties +++ b/nokia/vnfmdriver/vfcadaptorservice/vfcadaptor/src/main/resources/register.properties @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. ############################################################################### -serviceName=nokia-vnfm-driver +serviceName=nokiavnfmdriver version=v1 url=/api/nokiavnfmdriver/v1 protocol=HTTP |