aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/views/partials/update_parameter.ejs
blob: 257f657e437ee115ac09deff1ddf4c466e4b9ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
   <div class="modal fade" id="update_parameter" tabindex="-1" role="dialog" 
		aria-labelledby="parameter_label" aria-hidden="true">
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
            <h4 class="modal-title">Update Parameter</h4>
          </div>
          <div class="modal-body">
            <form name="updateForm" role="form" action="/admin/updateParameter" method="POST">
              <div class="form-group">
                <label for="uf_name">*Name</label>
                <input maxlength="100" type="text" class="form-control" name="uf_name" id="uf_name" placeholder="varchar(100)">
              </div>
              <div class="form-group">
                <label for="uf_value">*Value</label>
                <input maxlength="100" type="text" class="form-control" name="uf_value" id="uf_value" placeholder="varchar(100)">
              </div>
              <div class="form-group">
                <label for="uf_category">Category</label>
                <input maxlength="24" type="text" class="form-control" name="uf_category" id="uf_category" placeholder="varchar(24)">
              </div>
              <div class="form-group">
                <label for="uf_memo">Memo</label>
                <input maxlength="128" type="text" class="form-control" name="uf_memo" id="uf_memo" placeholder="varchar(128)">
              </div>
			  <div class="form-group">
					<input type="hidden" name="_csrf" value="<%= privilege.csrfToken %>" />
                  <input type="hidden" name="nf_action" id="nf_action">
                  <input type="hidden" name="uf_key_name" id="uf_key_name">
                  <button type="button" class="btn btn-primary" onclick="submitParam(this.form);">Submit</button>
                  <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
              </div>
           </form>
          </div>
      </div>
    </div>
  </div>
font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
[
    {
        "id": "892394b6.5a0068",
        "type": "returnSuccess",
        "name": "return success",
        "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
        "comments": "",
        "x": 394.4444274902344,
        "y": 448.305570602417,
        "z": "bae6c09b.ec173",
        "wires": []
    },
    {
        "id": "ae2cbfc2.b3e0d",
        "type": "block",
        "name": "block : atomic",
        "xml": "<block atomic=\"true\">",
        "atomic": "true",
        "outputs": 1,
        "x": 171.44437408447266,
        "y": 147.44444274902344,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "8dac86ee.e1bed8",
                "892394b6.5a0068",
                "3d06c980.f160e6",
                "d3da4ebd.718d2",
                "e25b96d5.e6f508",
                "da9108f7.df52c8",
                "ed7cb1e2.2fa6d",
                "99637329.93ae"
            ]
        ]
    },
    {
        "id": "8dac86ee.e1bed8",
        "type": "set",
        "name": "set: order-status = Deleted",
        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.order-status\" value=\"Deleted\"/>",
        "comments": "",
        "outputs": 1,
        "x": 435.4444274902344,
        "y": 275.305570602417,
        "z": "bae6c09b.ec173",
        "wires": [
            []
        ]
    },
    {
        "id": "24188683.531f4a",
        "type": "method",
        "name": "method vnf-instance-topology-delete",
        "xml": "<method rpc='vnf-instance-topology-delete' mode='sync'>\n",
        "comments": "",
        "outputs": 1,
        "x": 203.1110610961914,
        "y": 96.6111068725586,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "ae2cbfc2.b3e0d"
            ]
        ]
    },
    {
        "id": "2d805b52.c5e354",
        "type": "service-logic",
        "name": "VNF-API ${project.version}",
        "module": "VNF-API",
        "version": "${project.version}",
        "comments": "",
        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
        "outputs": 1,
        "x": 273.1110305786133,
        "y": 44.611114501953125,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "24188683.531f4a"
            ]
        ]
    },
    {
        "id": "1dec305b.bded3",
        "type": "dgstart",
        "name": "DGSTART",
        "outputs": 1,
        "x": 109.94437408447266,
        "y": 44.44444274902344,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "2d805b52.c5e354"
            ]
        ]
    },
    {
        "id": "59d02cc9.9c4fa4",
        "type": "other",
        "name": "false",
        "xml": "<outcome value='false'>",
        "comments": "",
        "outputs": 1,
        "x": 642.8131637573242,
        "y": 191.12879180908203,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "cbe21014.03475"
            ]
        ]
    },
    {
        "id": "cbe21014.03475",
        "type": "returnFailure",
        "name": "return failure",
        "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>",
        "comments": "",
        "x": 806.1462936401367,
        "y": 191.12885284423828,
        "z": "bae6c09b.ec173",
        "wires": []
    },
    {
        "id": "e25b96d5.e6f508",
        "type": "set",
        "name": "set: last-action ",
        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-action\" value=\"`$vnf-instance-service-data.request-information.request-action`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 396.7020263671875,
        "y": 318.85116386413574,
        "z": "bae6c09b.ec173",
        "wires": [
            []
        ]
    },
    {
        "id": "3d06c980.f160e6",
        "type": "switchNode",
        "name": "switch: vnf-instance-id config == input",
        "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vf-module-id == $vf-module-service-data.vnf-instance-id`\">",
        "comments": "",
        "outputs": 1,
        "x": 468.58827209472656,
        "y": 147.93198776245117,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "52ff4df1.be8e04"
            ]
        ]
    },
    {
        "id": "52ff4df1.be8e04",
        "type": "outcomeFalse",
        "name": "false",
        "xml": "<outcome value='false'>\n",
        "comments": "",
        "outputs": 1,
        "x": 717.0428314208984,
        "y": 148.1138153076172,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "8514ded5.e8697"
            ]
        ]
    },
    {
        "id": "8514ded5.e8697",
        "type": "returnFailure",
        "name": "return failure",
        "xml": "<return status='failure'>\n\t<parameter name='error-code' value='404'/>\n\t<parameter name='error-message' value='vf-module-id not found in SDNC'/>",
        "comments": "",
        "x": 885.6337509155273,
        "y": 148.27291584014893,
        "z": "bae6c09b.ec173",
        "wires": []
    },
    {
        "id": "d3da4ebd.718d2",
        "type": "set",
        "name": "set: last-order-status = order-status",
        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-order-status\" value=\"`$vnf-instance-service-data.oper-status.order-status`\"/>",
        "comments": "",
        "outputs": 1,
        "x": 461.83837890625,
        "y": 234.043119430542,
        "z": "bae6c09b.ec173",
        "wires": [
            []
        ]
    },
    {
        "id": "da9108f7.df52c8",
        "type": "set",
        "name": "Clear vnf-instance-topology",
        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.\" value=\"\" /> \n",
        "comments": "",
        "outputs": 1,
        "x": 435.83837890625,
        "y": 359.043119430542,
        "z": "bae6c09b.ec173",
        "wires": [
            []
        ]
    },
    {
        "id": "99637329.93ae",
        "type": "switchNode",
        "name": "switch: order-status = Active",
        "xml": "<switch test=\"`$vnf-instance-service-data.oper-status.order-status == Active`\">",
        "comments": "",
        "outputs": 1,
        "x": 439.9960632324219,
        "y": 191.42859268188477,
        "z": "bae6c09b.ec173",
        "wires": [
            [
                "59d02cc9.9c4fa4"
            ]
        ]
    },
    {
        "id": "ed7cb1e2.2fa6d",
        "type": "set",
        "name": "Set final indicator to Y",
        "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
        "comments": "",
        "outputs": 1,
        "x": 417.1587448120117,
        "y": 404.24604415893555,
        "z": "bae6c09b.ec173",
        "wires": [
            []
        ]
    }
]