summaryrefslogtreecommitdiffstats
path: root/gvnfmadapter/driver/interfaces/urls.py
diff options
context:
space:
mode:
authormaopeng zhang <zhang.maopeng1@zte.com.cn>2019-09-03 09:33:06 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-03 09:33:06 +0000
commite1e0c957138779a8a19b72f5595550f35866af88 (patch)
tree6c5aa4ee9b645bba2d74ab64a275b5b8b613e233 /gvnfmadapter/driver/interfaces/urls.py
parente785b0e792f5b50ff2b3667ef61a1ccf6b018d20 (diff)
parentae84dc13220419c9793abc11485d6d15a2c7a0a8 (diff)
Merge "fix bug for failure in deleting subscriptions for vnfm"5.0.2-ONAPelalto
Diffstat (limited to 'gvnfmadapter/driver/interfaces/urls.py')
-rw-r--r--gvnfmadapter/driver/interfaces/urls.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gvnfmadapter/driver/interfaces/urls.py b/gvnfmadapter/driver/interfaces/urls.py
index 368ea8e..cf6f476 100644
--- a/gvnfmadapter/driver/interfaces/urls.py
+++ b/gvnfmadapter/driver/interfaces/urls.py
@@ -14,7 +14,7 @@
from django.conf.urls import url
from driver.interfaces.views import VnfInstInfo, VnfTermInfo, VnfQueryInfo, VnfOperInfo
-from driver.interfaces.views import Subscription
+from driver.interfaces.views import Subscription, SubscriptionDetail
from driver.interfaces.views import VnfPkgsInfo, VnfGrantInfo, VnfNotifyInfo, QuerySingleVnfLcmOpOcc, VnfOperateView, VnfHealView
from driver.interfaces.views import HealthCheckView
@@ -24,6 +24,7 @@ urlpatterns = [
url(r'^api/(?P<vnfmtype>[0-9a-zA-Z\-\_]+)/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/vnfs/(?P<vnfInstanceId>[0-9a-zA-Z\-\_]+)$', VnfQueryInfo.as_view()),
url(r'^api/(?P<vnfmtype>[0-9a-zA-Z\-\_]+)/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/jobs/(?P<jobid>[0-9a-zA-Z\-\_]+)$', VnfOperInfo.as_view()),
url(r'^api/(?P<vnfmtype>[0-9a-zA-Z\-\_]+)/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/subscriptions$', Subscription.as_view()),
+ url(r'^api/(?P<vnfmtype>[0-9a-zA-Z\-\_]+)/v1/(?P<vnfmid>[0-9a-zA-Z\-\_]+)/subscriptions/(?P<subscriptionid>[0-9a-zA-Z_-]+)$', SubscriptionDetail.as_view()),
url(r'^api/(?P<vnfmtype>[0-9a-zA-Z\-\_]+)/v1/vnfpackages$', VnfPkgsInfo.as_view()),
url(r'^api/(?P<vnfmtype>[0-9a-zA-Z\-\_]+)/v1/resource/grant$', VnfGrantInfo.as_view()),