def setup(app):
app.add_stylesheet("css/ribbon_onap.css")
+
+
+from docutils.parsers.rst import directives
+
+needs_extra_options = {
+ "target": directives.unchanged,
+ "keyword": directives.unchanged,
+ "introduced": directives.unchanged,
+ "updated": directives.unchanged,
+ "impacts": directives.unchanged,
+ "validation_mode": directives.unchanged,
+ "validated_by": directives.unchanged,
+ "test": directives.unchanged,
+ "test_case": directives.unchanged,
+ "test_file": directives.unchanged,
+ "notes": directives.unchanged,
+}
+
+needs_id_regex = "^[A-Z0-9]+-[A-Z0-9]+"
+needs_id_required = True
+needs_title_optional = True
+
+needs_template_collapse = """
+.. _{{id}}:
+
+{% if hide == false -%}
+.. role:: needs_tag
+.. role:: needs_status
+.. role:: needs_type
+.. role:: needs_id
+.. role:: needs_title
+
+.. rst-class:: need
+.. rst-class:: need_{{type_name}}
+
+.. container:: need
+
+ `{{id}}` - {{content|indent(4)}}
+
+ .. container:: toggle
+
+ .. container:: header
+
+ Details
+
+{% if status and status|upper != "NONE" and not hide_status %} | status: :needs_status:`{{status}}`{% endif %}
+{% if tags and not hide_tags %} | tags: :needs_tag:`{{tags|join("` :needs_tag:`")}}`{% endif %}
+{% if keyword %} | keyword: `{{keyword}}` {% endif %}
+{% if target %} | target: `{{target}}` {% endif %}
+{% if introduced %} | introduced: `{{introduced}}` {% endif %}
+{% if updated %} | updated: `{{updated}}` {% endif %}
+{% if impacts %} | impacts: `{{impacts}}` {% endif %}
+{% if validation_mode %} | validation mode: `{{validation_mode}}` {% endif %}
+{% if validated_by %} | validated by: `{{validated_by}}` {% endif %}
+{% if test %} | test: `{{test}}` {% endif %}
+{% if test_case %} | test case: {{test_case}} {% endif %}
+{% if test_file %} | test file: `{{test_file}}` {% endif %}
+{% if notes %} | notes: `{{notes}}` {% endif %}
+ | children: :need_incoming:`{{id}}`
+ | parents: :need_outgoing:`{{id}}`
+{% endif -%}
+"""
+
:maxdepth: 1
:titlesonly:
- ../../../../../submodules/vid.git/docs/humaninterfaces.rst
+ ../../../../../submodules/vid.git/docs/instantiate.rst
::
curl -X POST \
- http://vid.api.simpledemo.onap.org:30238/vid/maintenance/category_parameter/owningEntity \
+ https://vid.api.simpledemo.onap.org:30200/vid/maintenance/category_parameter/owningEntity \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
::
curl -X POST \
- http://vid.api.simpledemo.onap.org:30238/vid/maintenance/category_parameter/platform \
+ https://vid.api.simpledemo.onap.org:30200/vid/maintenance/category_parameter/platform \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
- "options": [""Test_Platform"]
+ "options": ["Test_Platform"]
}'
Example for "line of business" named "Test_LOB"
::
curl -X POST \
- http://vid.api.simpledemo.onap.org:30238/vid/maintenance/category_parameter/lineOfBusiness \
+ https://vid.api.simpledemo.onap.org:30200/vid/maintenance/category_parameter/lineOfBusiness \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
::
curl -X POST \
- http://vid.api.simpledemo.onap.org:30238/vid/maintenance/category_parameter/project \
+ https://vid.api.simpledemo.onap.org:30200/vid/maintenance/category_parameter/project \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
.. This work is licensed under a
Creative Commons Attribution 4.0 International License.
+
.. _master_index:
Open Network Automation Platform
-Subproject commit ba66edfffc5d58a2a963b66967a9b93beaf881b2
+Subproject commit add60903781f8bb4cbe59555bf79181cb5f73b8c
-Subproject commit 137e91e4fab1995c2df7a13c455edfe6628c33f2
+Subproject commit 8b9a5a06a5652d604026f3a2293639e30c15be0b
-Subproject commit 0aef5509aec19c6eab75ad98ed8e071706a9a0db
+Subproject commit 4f436e1378f7ee4533701f5b1766fe04d123cd1c
-Subproject commit 889f461a65931ec52aee9d0a24f8ccf93c94cdfd
+Subproject commit ae14506d535eb3fb2e9f9095375e98e784c92419
-Subproject commit e371a843d9e5ba7d123d920d5e1bd5a558fd198a
+Subproject commit 3d57ab6bc5054448e23d0a0a6e843b3617565b56
-Subproject commit e0c8997a73eac90e5519c90a78a1c919cff26af8
+Subproject commit ff115760b12d3f77ea13bacd4fadc8a72beab560
-Subproject commit 02b88b997fd0671c07f58ef00ac4f3c67b2aa55b
+Subproject commit 34687b40708b969424b0f4489258a9476ec6a917
-Subproject commit 7b7befa39b7b70b4b18b1f1a561398b8bede6224
+Subproject commit 90732f0d7d131cb3a9640cde51b9afdc502a7c4d
-Subproject commit 9d72f25a464d5be9fa4ecc072dbad85edfeb5895
+Subproject commit 4ea528fa8a0456c0973982687f43473acef0dbde
-Subproject commit d7500059bbf0e6d7710e22319cc01a46fceecaed
+Subproject commit 27843b5e58a276dc008225a4e218d4c8e9165316
-Subproject commit 723cb0b0f4fca052561f21bb8312bf7c6e8cd524
+Subproject commit ec47175357058d256e625bf120d152dbd49b54be
-Subproject commit 2ac46fd53461288d5d99a9c0ebb8a3a5216db2a7
+Subproject commit fa848fc27df9359f6e3a6bd0aa8d54d6241c7cd6
-Subproject commit 4abf7b83f764cab2c4296128f1d172259635e69b
+Subproject commit 5e5cc2b2ace3a5fe4b1b2394bfa5a32f4664e52b
-Subproject commit 561aa2a8ef7bd222d274aea065929920aedd0723
+Subproject commit d20a9b57c30bb74f1485354bba85740a3ffad702
-Subproject commit 83b1669c0ec3139557172946f98dab1fd337f028
+Subproject commit 87d14cfc2cdcdfecbc75396d5347eae295bfb570
-Subproject commit 899c22fccf12f50a877988c62e30d5e2c7fb7e3c
+Subproject commit 3b7f669088d5867056578b275bf4314af3a439c6
-Subproject commit 1dc0ab2d286092764a066ec648c7b6659e69153c
+Subproject commit e86ff1ed8ef779626539a97ae2e5e12b41f9d3f7
-Subproject commit 9162456b7e6858e7cde3443b00cca05a20113233
+Subproject commit 8c6eaead6e8ffd9b575aea8d9288d85c81bd441b
-Subproject commit 157b14a23b18b26fe829dce02233696e19e5a7a9
+Subproject commit d84a71a00fac49967abfb85c8b757e78d5b9d363
-Subproject commit bd249555205f49522ef51d8744dd31dd76e0ccd6
+Subproject commit fd70bf257e2ade9fbf28c3714f7adae29bedbd13
-Subproject commit 0c5f51257800d53f38bed548bf3d644b85793b96
+Subproject commit 1487db0615f16783fd01998a0f71fb2d8f97a434
-Subproject commit 1fd426157cb65e7586ef5230a3065765ede0de2b
+Subproject commit 527261b99506f84906f1f72a9103d5d913d92a70
-Subproject commit 7a3a6dd01cf1180bc33b8e6b1224d9cf595dbe57
+Subproject commit 9cc5757e28d8ef6a6fce936c4d050722f8641a6f
-Subproject commit 0a542045a647da97f24b22ef41e422edac30ed9f
+Subproject commit 35111a07986a76e53e8e331067a129237ceb5962
-Subproject commit 90e13d101cf0d695058876ea53cdcf335dcb2caf
+Subproject commit 38df1b0ee0f1d6cd3bf11f94adf7c952f32c191c
-Subproject commit 712f0dddc791f9ef8283fb40b5b5f326bc4ea0d9
+Subproject commit a7512128b6eb91ac745dc6130a841910e31eb413
-Subproject commit ac651828821791f9475d997e1f55658b3662c184
+Subproject commit 62cb98b8def94cd365d2f19b5daac596e546f5bb
-Subproject commit 711a2cc42376472c6788bf2d18bf31f39792e556
+Subproject commit f1d9816984b695fc4ae6a011c23c5f274385070e
-Subproject commit 29482785f9e18a1100fe0ea4695dfaf348e60aa6
+Subproject commit 906b7987ef35115366a07af11e40ddad7462794e
-Subproject commit 920b9ff54e4b75973b27438158030c5a4736ffc6
+Subproject commit 125fece82e5649ca47de3bbfcbd80ce754e21fd3
-Subproject commit 998f35e5100014b9d639e52020a70ff4db53ddd3
+Subproject commit 680cab955f1d746117c14ee21396ffc53a19664a
-Subproject commit 6948fd05228982459ead8609f4bea3097c860fbf
+Subproject commit 9a03ea31d42b8a73c3aa8f96bbad85093cb169a7
-Subproject commit 81c8b33fc9dc16cd9bb4ec885673451e773a1179
+Subproject commit afb51f1a2acc1abc3254a72aed47cb2e86904d04
-Subproject commit c47ea589f9d89d6b57aae48149a5a67b5bf6c953
+Subproject commit 6e50276a42ab82cfe34ced9cf97e545283f37f2a
-Subproject commit f0178710c8a578fcdc46379d44ccdaaf193ae23e
+Subproject commit 32f485b151dba9e40e6b1171c246bf8f3e9c8fc4
-Subproject commit 1d06b5460988b37169ca4bddead02e9d2d1f9fcf
+Subproject commit 0aae60b7882b816a6a7e32d4a91339935d61ff6b
-Subproject commit 7e176728c4257acaf877c82b498434097f488ece
+Subproject commit 2638324412de94f4dba352b7c2ba70d4b9764b95
-Subproject commit 05cf69fe6a8a884c2553d7b3ed5b1d2d5c8335b3
+Subproject commit f96d68dfcdd7d15b0ea04603bcf754bde8875036
-Subproject commit 914b8bdf478b899539d22e27983adb26d2c134b2
+Subproject commit 9e8232ba85d25e1883e83cdd0d61eeeade45e5f0
-Subproject commit 15ca43491e1cd9adfc6c640bfab5c7dce260894e
+Subproject commit b5cd53a8da9d5a4707875e97d6975097217e9545
-Subproject commit 6db24e72ecbf4f5c63085085c10dc656568b563b
+Subproject commit 4e6227a98b2fe5b3c6ae78f5fc3d4d0553b119c1
-Subproject commit 43e0541c889dff97f1368e0994254e26c2ccbfe6
+Subproject commit 1389746c1a81aca1b82a5e1e43d25a2d6e8c9229
-Subproject commit 67e32a3411851851185bdc22320687c317ea35bf
+Subproject commit 324c150c6bc6c81bfc35af23aa865cba2a1fccf4
-Subproject commit 642e8fbc86982c89aba28b0adfa801fa54adfddf
+Subproject commit 2da65a06f927039e6f3ee1c440b92b032abaa003
-Subproject commit ecb8b8004aea0a4509966d801105f8ec60aa6f88
+Subproject commit b72afcc3d49ecaaa62a7e4634ac493ab446e15d5
-Subproject commit b4b88310c73f9faa15bbe8ad0ed6213660f6f52c
+Subproject commit ef8700898bb15a8b2231dcc730f1886a43c82253
-Subproject commit ff4b57688e0c128bec69fe74ec2cfbd3c689446b
+Subproject commit 6b71b531c0a3cd8dda66d0e43568673dfdaff9ae