diff options
author | luxin <luxin7@huawei.com> | 2017-09-04 17:12:02 +0800 |
---|---|---|
committer | luxin <luxin7@huawei.com> | 2017-09-04 17:12:02 +0800 |
commit | d869a6a82f2b4c1877f631c1208c587dd8c88d2b (patch) | |
tree | 9c21a399384b619efd0ab8dde2aeff28a4727895 /ResmanagementService/service/src/main/resources | |
parent | 8d76961cb9f1aadee5f3348fec41fa371b07d947 (diff) |
Modify spring xml file
add ns into spring xml file
Change-Id: I5c62e5b2eb7b8de12d393a76d92e2e6070aec520
Issue-Id:VFC-216
Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'ResmanagementService/service/src/main/resources')
-rw-r--r-- | ResmanagementService/service/src/main/resources/spring/Resmanagement/services.xml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/ResmanagementService/service/src/main/resources/spring/Resmanagement/services.xml b/ResmanagementService/service/src/main/resources/spring/Resmanagement/services.xml index 7dd42a3..96f2408 100644 --- a/ResmanagementService/service/src/main/resources/spring/Resmanagement/services.xml +++ b/ResmanagementService/service/src/main/resources/spring/Resmanagement/services.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2016, Huawei Technologies Co., Ltd. + Copyright 2016-2017, Huawei Technologies Co., Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -47,7 +47,7 @@ <property name="driverClassName" value="com.mysql.jdbc.Driver"/> <property name="url" value="jdbc:mysql://127.0.0.1:3306/resmanagementdb"/> <property name="username" value="root"/> - <property name="password" value="rootpass"/> + <property name="password" value="123456"/> </bean> <bean id="sessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> @@ -207,6 +207,21 @@ <property name="virtualLink" ref="virtualLink"></property> </bean> + <!-- ns --> + <bean id="nsDao" + class="org.onap.vfc.nfvo.resmanagement.service.dao.impl.NsDaoImpl"> + <property name="session" ref="session"></property> + </bean> + + <bean id="nsService" + class="org.onap.vfc.nfvo.resmanagement.service.group.impl.NsServiceImpl"> + <property name="nsDao" ref="nsDao"></property> + </bean> + + <bean id="nsRoa" class="org.onap.vfc.nfvo.resmanagement.service.rest.NsRoa"> + <property name="nsService" ref="nsService"></property> + </bean> + <!-- vnf --> <bean id="vnfDao" class="org.onap.vfc.nfvo.resmanagement.service.dao.impl.VnfDaoImpl"> @@ -315,6 +330,7 @@ <ref bean="resOperateRoa" /> <ref bean="limitsRoa" /> <ref bean="virtualLinkRoa" /> + <ref bean="nsRoa" /> <ref bean="vnfRoa" /> <ref bean="vmRoa" /> <ref bean="vnfInfoRoa" /> |