X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fjobs%2Furls.py;h=e05cf873aa57a2448132aac463fc9f9d278e7aff;hb=fc0218121a1186e849d51129f00c1b6b2e324c53;hp=650d17ec788027ac5cbd4ced9e3cbf87d9678b9a;hpb=c01d024dfe5e9399844073ee81b43a855fa312f2;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/jobs/urls.py b/lcm/lcm/jobs/urls.py index 650d17ec..e05cf873 100644 --- a/lcm/lcm/jobs/urls.py +++ b/lcm/lcm/jobs/urls.py @@ -10,4 +10,14 @@ # distributed under the License is distributed on an "AS IS" BASIS, # 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. \ No newline at end of file +# limitations under the License. +from django.conf.urls import patterns, url +from rest_framework.urlpatterns import format_suffix_patterns + +from lcm.jobs.views import JobView + +urlpatterns = patterns('', + url(r'^openoapi/vnflcm/v1/jobs/(?P[0-9a-zA-Z_-]+)$', JobView.as_view()), + ) + +urlpatterns = format_suffix_patterns(urlpatterns)