Skip to content

Commit

Permalink
[DataFactory] GitHub bring your own app swagger update for ADF/Synaps…
Browse files Browse the repository at this point in the history
…e Dataplane only (Azure#14689)

* GitHub bring your own app swagger changes for ADF/Synapse

* fix different githubclientsecret description lint error

* Separate dataplane changes to support GitHub BYOA in ADF/Synapse

* remove unnecessary discriminator
  • Loading branch information
jmcallister-msft authored Jul 13, 2021
1 parent 7f3c678 commit d6aaf53
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5015,6 +5015,20 @@
}
}
},
"GitHubClientSecret": {
"description": "Client secret information for factory's bring your own app repository configuration.",
"type": "object",
"properties": {
"byoaSecretAkvUrl": {
"description": "Bring your own app client secret AKV URL.",
"type": "string"
},
"byoaSecretName": {
"description": "Bring your own app client secret name in AKV.",
"type": "string"
}
}
},
"FactoryRepoUpdate": {
"description": "Factory's git repo information.",
"properties": {
Expand All @@ -5039,6 +5053,10 @@
"description": "GitHub application client ID.",
"type": "string"
},
"gitHubClientSecret": {
"$ref": "#/definitions/GitHubClientSecret",
"description": "GitHub bring your own app client secret information."
},
"gitHubAccessTokenBaseUrl": {
"description": "GitHub access token base URL.",
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,31 @@
}
},
"definitions": {
"GitHubClientSecret": {
"description": "Client secret information for factory's bring your own app repository configuration",
"type": "object",
"properties": {
"byoaSecretAkvUrl": {
"description": "Bring your own app client secret AKV URL",
"type": "string"
},
"byoaSecretName": {
"description": "Bring your own app client secret name in AKV",
"type": "string"
}
}
},
"GitHubAccessTokenRequest": {
"type": "object",
"properties": {
"gitHubClientId": {
"description": "The GitHub Client Id.",
"type": "string"
},
"gitHubClientSecret": {
"$ref": "#/definitions/GitHubClientSecret",
"description": "GitHub bring your own app client secret information."
},
"gitHubAccessCode": {
"description": "The GitHub Access code.",
"type": "string"
Expand Down

0 comments on commit d6aaf53

Please sign in to comment.