feat: added functionality for remote create subcommand (#268)

* feat: implement remote create subcommand

* chore: generate mocks for testing remote command

* refactor: separated out test code, made small changes to remote create code

* chore: ran make fmt

* chore: removed excess print statements

* refactor: made changes suggested in code review

* refactor: added name and remote id to printed table
This commit is contained in:
mcfarlm3
2021-09-14 13:03:17 -07:00
committed by GitHub
parent 2d1f3ee3bc
commit dcf9f5bc9a
11 changed files with 2327 additions and 6 deletions

View File

@ -107,6 +107,12 @@ paths:
$ref: "./openapi/src/common/paths/authorizations.yml"
/authorizations/{authID}:
$ref: "./openapi/src/common/paths/authorizations_authID.yml"
/remotes:
$ref: "./openapi/src/oss/paths/remotes.yml"
/remotes/{remoteID}:
$ref: "./openapi/src/oss/paths/remotes_remoteID.yml"
/remotes/{remoteID}/validate:
$ref: "./openapi/src/oss/paths/remotes_remoteID_validate.yml"
components:
parameters:
TraceSpan:
@ -417,3 +423,11 @@ components:
$ref: "./openapi/src/oss/schemas/LegacyAuthorizationPostRequest.yml"
AuthorizationPostRequest:
$ref: "./openapi/src/common/schemas/AuthorizationPostRequest.yml"
RemoteConnection:
$ref: "./openapi/src/oss/schemas/RemoteConnection.yml"
RemoteConnectionCreationRequest:
$ref: "./openapi/src/oss/schemas/RemoteConnectionCreationRequest.yml"
RemoteConnenctionUpdateRequest:
$ref: "./openapi/src/oss/schemas/RemoteConnectionUpdateRequest.yml"
RemoteConnections:
$ref: "./openapi/src/oss/schemas/RemoteConnections.yml"