Skip to content

Integration with REST / SOAP services (weakly typed) #1036

@dhmlau

Description

@dhmlau

Per discussion with @raymondfeng @kjdelisle,
Integration with REST / SOAP can be divided into:
- weakly typed integration
- strongly typed integration (stretch goal for GA)

Overview

Common characteristics for REST and SOAP services

  • no fixed set of operations. operations are derived from the service spec (swagger / wsdl / openapi). Not the typescript implementation of the operations/interfaces
  • we don't have typescript definition for the interfaces/operations

Spikes

Additional requirement

  • service information might need contextual info, e.g. security token and tracing id, which pass to the downstream. -- when you're calling one service to another. If we have this ability, then we can have the distributive tracing - part of the Cloud Native microservice experience.
  • We might want to give flexibility to the developers to intercept the service invocation so that it can help to mediate request and response.

DP3 scope

Out of DP3 scope:

  • auto-generated .d.ts definitions
  • CLI tooling

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions