Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Gateways - The inbound/outbound access for the service mesh. It is an envoy service
  2. VirtualServices -  To expose the service outside the service mesh
  3. DestinationRule - To apply rules for the traffic flow
  4. AuthorizationPolicy - Authorization for service access
  5. serviceEntry - add Add an external service into the mesh
  6. Authentication Policy - Authenticate external communication

...

TypesIntent APIsFunctionality
1.  outbound service communication/v2/projects/{project-name}/composite-apps/blue-app/{version}/traffic-intent-set/inbound-intents/communication from  external service to internal micro serviceDefine outbound traffic for a service
2.  inbound service communiationcommunication/v2/projects/{project-name}/composite-apps/blue-app/{version}/traffic-intent-set/outbound-intents/communication from internal service to access external service Define Inbound service for a service
3. Compound service communication /v2/projects/{project-name}/composite-apps/blue-app/{version}/traffic-intent-set/compound-intent/inbound-intents/Define a virtual path for connecting to multiple services


Code Block
URL: /v2/projects/{project-name}/composite-apps/{composite-app-name}/{version}/traffic-intent-set
POST BODY:
{
	"name": "john",
	"description": "Traffic intent groups"
    "set":[
      {
         "inbound":"abc"
      },
      {
         "outbound":"abc"
      }
   ]
}

...

Scenarios supported for the current release

Nature of applicationPage link comments
HTTPHTTP
HTTPSHTTPS
TCPTCP




Development

  1. go API library - https://github.com/gorilla/mux
  2. backend - mongo - https://github.com/onap/multicloud-k8s/tree/master/src/k8splugin/internal/db - Reference
  3. intent to config conversion - use go templates and admiral? https://github.com/istio-ecosystem/admiral
  4. writing the config to etcd - WIP
  5. Unit tests and Integration test - go tests

...