diff options
author | biancunkang <bian.cunkang@zte.com.cn> | 2018-08-22 10:53:06 +0800 |
---|---|---|
committer | biancunkang <bian.cunkang@zte.com.cn> | 2018-08-22 11:11:45 +0800 |
commit | f4af9f2543acd7de71e49fbec232290dc629e3ff (patch) | |
tree | c778e2d8da79b207c5bc87d1eccc46199f3286d0 | |
parent | cc1725f1b9509163e0a61d8914e04c53f21e362b (diff) |
Deal with nfPackage
Change-Id: Ie86f445ecec1ea4e23c809d97f31cd3354e0b6ca
Issue-ID: VFC-1038
Signed-off-by: biancunkang <bian.cunkang@zte.com.cn>
-rw-r--r-- | catalog/packages/urls.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/catalog/packages/urls.py b/catalog/packages/urls.py index 04fd6751..75d4c71f 100644 --- a/catalog/packages/urls.py +++ b/catalog/packages/urls.py @@ -14,7 +14,7 @@ from django.conf.urls import url -from catalog.packages.views.vnfpkg_views import package_content +from catalog.packages.views.vnfpkg_views import package_content, upload_from_uri from catalog.packages.views import (catalog_views, ns_descriptor_views, nsd_content_views, pnf_descriptor_views, pnfd_content_views) @@ -47,7 +47,8 @@ urlpatterns = [ # url(r'^api/vnfpkgm/v1/vnf_packages/(?P<vnfPkgId>[0-9a-zA-Z\-\_]+)/vnfd$', vnfd.as_view(), name='vnfd_r'), url(r'^api/vnfpkgm/v1/vnf_packages/(?P<vnfPkgId>[0-9a-zA-Z\-\_]+)/package_content$', package_content.as_view(), name='package_content_ru'), - # url(r'^api/vnfpkgm/v1/vnf_packages/(?P<vnfPkgId>[0-9a-zA-Z\-\_]+)/package_content/upload_from_uri$', upload_from_uri.as_view(), name='upload_from_uri_c'), + url(r'^api/vnfpkgm/v1/vnf_packages/(?P<vnfPkgId>[0-9a-zA-Z\-\_]+)/package_content/upload_from_uri$', + upload_from_uri.as_view(), name='upload_from_uri_c'), # url(r'^api/vnfpkgm/v1/vnf_packages/(?P<vnfPkgId>[0-9a-zA-Z\-\_]+)/artifacts/artifactPath$', artifacts.as_view(), name='artifacts_r'), # url(r'^api/vnfpkgm/v1/subscriptions', vnfpkg_subscriptions.as_view(), name='subscriptions_rc'), # url(r'^api/vnfpkgm/v1/subscriptions/(?P<subscriptionId>[0-9a-zA-Z\-\_]+)$', vnfpkg_subscription.as_view(), name='subscription_rd'), |