You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create an example following the new format to showcase how a service can be both a consumer and provider.
A hypothetical example within our standard user services:
sequenceDiagram
participant User as User (Consumer)
participant UserService as User Service (Consumer & Provider)
participant AuthService as Auth Service (Provider)
User->>UserService: Request to create account
UserService->>AuthService: Validate credentials (Consumer)
AuthService-->>UserService: Credentials valid/invalid
UserService-->>User: Account created response
Loading
Motivation
It is quite common for a service to be both a consumer and provider, but the usual Pact examples really only show them as being one or the other.
Have you tried building it?
No response
Self-service
I'd be willing to contribute this feature to Pact Python myself.
Have you read the Contributing Guidelines on issues?
Description
To create an example following the new format to showcase how a service can be both a consumer and provider.
A hypothetical example within our standard user services:
sequenceDiagram participant User as User (Consumer) participant UserService as User Service (Consumer & Provider) participant AuthService as Auth Service (Provider) User->>UserService: Request to create account UserService->>AuthService: Validate credentials (Consumer) AuthService-->>UserService: Credentials valid/invalid UserService-->>User: Account created responseMotivation
It is quite common for a service to be both a consumer and provider, but the usual Pact examples really only show them as being one or the other.
Have you tried building it?
No response
Self-service