Commit 3d5df733 authored by Walter Featherstone's avatar Walter Featherstone
Browse files

Single apostrophe for string. Traffic Filter within TrafficRule changed to array

parent 241380e2
Loading
Loading
Loading
Loading
+120 −105
Original line number Diff line number Diff line
@@ -175,7 +175,8 @@
              }
            },
            "examples": {
              "application/json": [{
              "application/json": [
                {
                  "DnsRule": {
                    "dnsRuleId": "DnsRule1",
                    "domainName": "www.example.com",
@@ -184,7 +185,8 @@
                    "ttl": 300,
                    "state": "ACTIVE"
                  }
              }]
                }
              ]
            }
          },
          "400": {
@@ -652,13 +654,15 @@
              }
            },
            "examples": {
              "application/json": [{
              "application/json": [
                {
                  "TrafficRule": {
                    "trafficRuleId": "TrafficRule123",
                    "serName": "ExampleService",
                    "filterType": "FLOW",
                    "priority": 1,
                  "trafficFilter": {
                    "trafficFilter": [
                      {
                        "srcAddress": [
                          "192.168.2.0/24",
                          "192.168.3.0/24"
@@ -667,9 +671,10 @@
                          "192.127.4.100/32"
                        ],
                        "dstPort": [
                      80
                          "80"
                        ]
                  },
                      }
                    ],
                    "action": "FORWARD_DECAPSULATED",
                    "dstInterface": {
                      "interfaceType": "IP",
@@ -677,7 +682,8 @@
                    },
                    "state": "ACTIVE"
                  }
              }]
                }
              ]
            }
          },
          "400": {
@@ -752,7 +758,8 @@
                  "serName": "ExampleService",
                  "filterType": "FLOW",
                  "priority": 1,
                  "trafficFilter": {
                  "trafficFilter": [
                    {
                      "srcAddress": [
                        "192.168.2.0/24",
                        "192.168.3.0/24"
@@ -761,9 +768,10 @@
                        "192.127.4.100/32"
                      ],
                      "dstPort": [
                      80
                        "80"
                      ]
                  },
                    }
                  ],
                  "action": "FORWARD_DECAPSULATED",
                  "dstInterface": {
                    "interfaceType": "IP",
@@ -841,7 +849,8 @@
                  "serName": "ExampleService",
                  "filterType": "FLOW",
                  "priority": 1,
                  "trafficFilter": {
                  "trafficFilter": [
                    {
                      "srcAddress": [
                        "192.168.2.0/24",
                        "192.168.3.0/24"
@@ -850,9 +859,10 @@
                        "192.127.4.100/32"
                      ],
                      "dstPort": [
                      80
                        "80"
                      ]
                  },
                    }
                  ],
                  "action": "FORWARD_DECAPSULATED",
                  "dstInterface": {
                    "interfaceType": "IP",
@@ -946,7 +956,8 @@
              }
            },
            "examples": {
              "application/json": [{
              "application/json": [
                {
                  "ServiceInfo": {
                    "serInstanceId": "ServiceInstance123",
                    "serName": "ExampleService",
@@ -973,7 +984,7 @@
                        "addresses": [
                          {
                            "host": "192.0.2.0",
                          "port": "8080"
                            "port": 8080
                          }
                        ]
                      },
@@ -986,7 +997,8 @@
                    },
                    "serializer": "JSON"
                  }
              }]
                }
              ]
            }
          },
          "400": {
@@ -1074,7 +1086,7 @@
                    "id": "TransId12345",
                    "name": "REST",
                    "description": "REST API",
                    "type": "JSON",
                    "type": "REST_HTTP",
                    "protocol": "HTTP",
                    "version": "2.0",
                    "endpoint": {
@@ -1084,7 +1096,7 @@
                      "addresses": [
                        {
                          "host": "192.0.2.0",
                          "port": "8080"
                          "port": 8080
                        }
                      ]
                    },
@@ -1180,7 +1192,7 @@
                    "id": "TransId12345",
                    "name": "REST",
                    "description": "REST API",
                    "type": "JSON",
                    "type": "REST_HTTP",
                    "protocol": "HTTP",
                    "version": "2.0",
                    "endpoint": {
@@ -1190,7 +1202,7 @@
                      "addresses": [
                        {
                          "host": "192.0.2.0",
                          "port": "8080"
                          "port": 8080
                        }
                      ]
                    },
@@ -1284,7 +1296,7 @@
                    "id": "TransId12345",
                    "name": "REST",
                    "description": "REST API",
                    "type": "JSON",
                    "type": "REST_HTTP",
                    "protocol": "HTTP",
                    "version": "2.0",
                    "endpoint": {
@@ -1294,7 +1306,7 @@
                      "addresses": [
                        {
                          "host": "192.0.2.0",
                          "port": "8080"
                          "port": 8080
                        }
                      ]
                    },
@@ -1541,7 +1553,7 @@
  "definitions": {
    "AppTerminationNotification.MaxGracefulTimeout": {
      "description": "Maximum timeout value in seconds for graceful termination or graceful stop of an application instance.",
      "type": "string",
      "type": "integer",
      "format": "uint32",
      "example": 10
    },
@@ -1808,7 +1820,7 @@
      "description": "Port portion of the address",
      "type": "integer",
      "format": "uint32",
      "example": "8080"
      "example": 8080
    },
    "EndPointInfo.Address": {
      "description": "A IP address and port pair",
@@ -2502,7 +2514,10 @@
          "$ref": "#/definitions/TrafficRule.Priority"
        },
        "trafficFilter": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/TrafficFilter"
          }
        },
        "action": {
          "$ref": "#/definitions/TrafficRule.Action"
@@ -2598,7 +2613,7 @@
        "RPC_STREAMING",
        "WEBSOCKET"
      ],
      "example": "JSON"
      "example": "REST_HTTP"
    },
    "TunnelInfo.TunnelDstAddress": {
      "description": "Destination address of the tunnel",
+185 −183

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
description: Maximum timeout value in seconds for graceful termination or graceful stop of an application instance.
type: string
format: uint32
example: 10
 No newline at end of file
example: '10'
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
description: Shall be set to AppTerminationNotification.
type: string
example: AppTerminationNotification
 No newline at end of file
example: 'AppTerminationNotification'
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
description: It is used as the filtering criterion for the subscribed events.
type: string
example: ID1
 No newline at end of file
example: 'ID1'
 No newline at end of file
Loading