-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Synapse] Land the initial generated code (#12713)
* WIP * WIP * WIP * WIP * Add last two to workspace * Add basic READMEs and test builds * Add basic READMEs and test builds * Fix package versions * Skip tests * Address feedback * Address feedback * Rerun swagger codegen * Rerun swagger codegen * Add rolled up type files * WIP * WIP * New regeneration with tracing * New regeneration with tracing * Remove prepack * Add sdk-type * Add lint * Skip lint for now * Add copyright and improve generation * Add copyright and improve generation * Fix keyvault lint * Export fixes * Export fixes * Fix release dates
- Loading branch information
Jonathan Turner
authored
Dec 9, 2020
1 parent
90166f0
commit 7907744
Showing
110 changed files
with
60,994 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- master | ||
- release/* | ||
- hotfix/* | ||
paths: | ||
include: | ||
- sdk/synapse/ | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
- feature/* | ||
- release/* | ||
- hotfix/* | ||
paths: | ||
include: | ||
- sdk/synapse/ | ||
|
||
extends: | ||
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml | ||
parameters: | ||
ServiceDirectory: synapse | ||
Artifacts: | ||
- name: azure-synapse-access-control | ||
safeName: azuresynapseaccesscontrol | ||
- name: azure-synapse-artifacts | ||
safeName: azuresynapseartifacts | ||
- name: azure-synapse-managed-private-endpoints | ||
safeName: azuresynapsemanagedprivateendpoints | ||
- name: azure-synapse-monitoring | ||
safeName: azuresynapsemonitoring | ||
- name: azure-synapse-spark | ||
safeName: azuresynapsespark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Release History | ||
|
||
## 1.0.0-beta.1 (2020-12-09) | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
## Azure Synapse Access Control client library for JavaScript | ||
|
||
This package contains an isomorphic SDK for Access Control. | ||
|
||
## Getting started | ||
|
||
### Install the package | ||
|
||
```bash | ||
npm install @azure/synapse-access-control | ||
``` | ||
|
||
### Currently supported environments | ||
|
||
- Node.js version 8.x.x or higher | ||
- Browser JavaScript | ||
|
||
## Key concepts | ||
|
||
## Examples | ||
|
||
```ts | ||
import { AccessControlClient } from "@azure/synapse-access-control"; | ||
import { DefaultAzureCredential } from "@azure/identity"; | ||
|
||
export async function main(): Promise<void> { | ||
const credential = new DefaultAzureCredential(); | ||
|
||
let client = new AccessControlClient( | ||
credential, | ||
"https://joturnersynapsetest.dev.azuresynapse.net" | ||
); | ||
let list = await client.listRoleDefinitions(); | ||
for await (let item of list) { | ||
console.log("item:", item); | ||
} | ||
} | ||
``` | ||
|
||
## Related projects | ||
|
||
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) | ||
|
||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcdn%2Farm-cdn%2FREADME.png) | ||
|
||
## Troubleshooting | ||
|
||
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`: | ||
|
||
```javascript | ||
import { setLogLevel } from "@azure/logger"; | ||
|
||
setLogLevel("info"); | ||
``` | ||
|
||
## Next steps | ||
|
||
In the future, you'll find additional code samples here. | ||
|
||
## Contributing | ||
|
||
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. | ||
|
||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fkeyvault%2Fkeyvault-keys%2FREADME.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"mainEntryPointFilePath": "./dist-esm/index.d.ts", | ||
"docModel": { "enabled": true }, | ||
"apiReport": { "enabled": true, "reportFolder": "./review" }, | ||
"dtsRollup": { | ||
"enabled": true, | ||
"untrimmedFilePath": "", | ||
"publicTrimmedFilePath": "./types/synapse-access-control.d.ts" | ||
}, | ||
"messages": { | ||
"tsdocMessageReporting": { "default": { "logLevel": "none" } }, | ||
"extractorMessageReporting": { | ||
"ae-missing-release-tag": { "logLevel": "none" }, | ||
"ae-unresolved-link": { "logLevel": "none" } | ||
} | ||
} | ||
} |
Oops, something went wrong.