openBackhaul / RegistryOffice

Apache License 2.0
2 stars 8 forks source link

To include management fc-port for the forwarding ApprovingApplicationCausesResponding #532

Closed PrathibaJee closed 8 months ago

PrathibaJee commented 9 months ago

In the following forwarding , the port-direction of the "local-id": "000" should be "core-model-1-4:PORT_DIRECTION_TYPE_MANAGEMENT"

{
                "uuid": "ro-2-1-0-op-fc-is-060",
                "name": [
                  {
                    "value-name": "ForwardingKind",
                    "value": "core-model-1-4:FORWARDING_KIND_TYPE_INVARIANT_PROCESS_SNIPPET"
                  },
                  {
                    "value-name": "ForwardingName",
                    "value": "ApprovingApplicationCausesResponding"
                  }
                ],
                "fc-port": [
                  {
                    "local-id": "000",
-                   "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_INPUT",
+                   "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_MANAGEMENT", 
                    "logical-termination-point": "ro-2-1-0-op-s-is-003" //  /v1/regard-updated-approval-status
                  },
                  {
                    "local-id": "100",
                    "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_INPUT",
                    "logical-termination-point": "ro-2-1-0-op-s-is-003"
                  },
                  {
                    "local-id": "200",
                    "port-direction": "core-model-1-4:PORT_DIRECTION_TYPE_OUTPUT",
                    "logical-termination-point": "ro-2-1-0-op-c-im-tar-2-0-1-007"
                  }
                ]
              }

Also see : https://github.com/openBackhaul/RegistryOffice/issues/533

openBackhaul commented 8 months ago

Changed as proposed.