summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/jobs/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/lcm/jobs/urls.py')
-rw-r--r--lcm/lcm/jobs/urls.py12
1 files changed, 11 insertions, 1 deletions
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<job_id>[0-9a-zA-Z_-]+)$', JobView.as_view()),
+ )
+
+urlpatterns = format_suffix_patterns(urlpatterns)