-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[EventGrid] Initial Track 2 Client #10059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 33 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
d11707a
[EventGrid] Delete existing Track 1 client
ellismg 152bf8e
[EventGrid] Initial commit of Track 2 client
ellismg d92e4eb
[EventGrid] Use UTC Date in SAS Token test
ellismg 7cd0a2d
[EventGrid] Fix typos in README.md
ellismg 80ed465
[EventGrid] Don't use getter in credential class
ellismg 9c7758e
[EventGrid] Move extension attributes on model type
ellismg 66a1e87
[EventGrid] Use options bag pattern
ellismg ee7170e
[EventGrid] Refactor validation logic for consumer
ellismg 0b7ccd0
[EventGrid] Allow creating SAS tokens from browser
ellismg 88b0ed1
[EventGrid] use package name in logger
ellismg 85cd59f
[EventGrid] Rename `EventGridClient`
ellismg 2035b49
[EventGrid] Rename `decode` family of methods
ellismg c21d109
[EventGrid] Regenerate recordings
ellismg 3d8259f
[EventGrid] Make some properties optional
ellismg 68b2e85
[EventGrid] Move `generateSharedAccessSigniture`
ellismg 74d3a31
[EventGrid] Tweak the consumer system type design
ellismg d36e4f7
[EventGrid] Improve CloudEvent handling
ellismg 9853860
[EventGrid] Regenerate Recordings
ellismg b0e83e9
[EventGrid] Slim down HMAC APIs
ellismg 0bd440e
[EventGrid] Change the type of some errors
ellismg 77c2ca8
[EventGrid] Improve documentation
ellismg 9f96bef
Merge remote-tracking branch 'origin/master' into ellismg/event-grid-…
ellismg 0f5de7b
Update sdk/eventgrid/eventgrid/README.md
ellismg bf93c47
Merge remote-tracking branch 'origin/master' into ellismg/event-grid-…
ellismg 5ec4e5c
Consume swagger updates
ellismg 32751fc
Merge remote-tracking branch 'origin/master' into ellismg/event-grid-…
ellismg 7b39d6b
README.md tweaks
ellismg 31efa0d
[EventGrid] Add decoders for all system events
ellismg 35dba84
Respond to PR feedback
ellismg 2f425c1
[Event Grid] use 'beta' instead of 'preview'
ellismg e5d7960
[Event Grid] Don't return RestResponse directly
ellismg 13ece2e
[Event Grid] Add ci.yml
ellismg 701cca5
[Event Grid] List supported browsers
ellismg bf1f87c
[Event Grid] Update CHANGELOG.md
ellismg 519d453
[Event Grid] Add release date to CHANGELOG.md
ellismg 5dcb624
Merge remote-tracking branch 'origin/master' into ellismg/event-grid-…
ellismg 6f3e5e6
[Event Grid] Update sample
ellismg c9f1ce8
[Event Grid] Improve typings
ellismg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 hidden or 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 hidden or 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 hidden or 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,30 @@ | ||
| # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. | ||
|
|
||
| trigger: | ||
| branches: | ||
| include: | ||
| - master | ||
| - release/* | ||
| - hotfix/* | ||
| paths: | ||
| include: | ||
| - sdk/eventgrid/ | ||
|
|
||
| pr: | ||
| branches: | ||
| include: | ||
| - master | ||
| - feature/* | ||
| - release/* | ||
| - hotfix/* | ||
| paths: | ||
| include: | ||
| - sdk/eventgrid/ | ||
|
|
||
| extends: | ||
| template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml | ||
| parameters: | ||
| ServiceDirectory: eventgrid | ||
| Artifacts: | ||
| - name: azure-eventgrid | ||
| safeName: azureeventgrid |
This file contains hidden or 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,4 @@ | ||
| { | ||
| "plugins": ["@azure/azure-sdk"], | ||
| "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"] | ||
| } |
This file contains hidden or 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,14 @@ | ||
| { | ||
| "include": [ | ||
| "dist-esm/src/**/*.js" | ||
| ], | ||
| "exclude": [ | ||
| "**/*.d.ts", | ||
| "dist-esm/src/generated/*" | ||
| ], | ||
| "exclude-after-remap": false, | ||
| "sourceMap": true, | ||
| "produce-source-map": true, | ||
| "instrument": true, | ||
| "all": true | ||
| } |
This file contains hidden or 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,76 @@ | ||
| { | ||
| // Use IntelliSense to learn about possible attributes. | ||
| // Hover to view descriptions of existing attributes. | ||
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Debug Javascript Samples", | ||
| "program": "${workspaceFolder}/samples/javascript/basic.js", | ||
| "preLaunchTask": "npm: build:js-samples" | ||
| }, | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Debug Typescript Samples", | ||
| "program": "${workspaceFolder}/samples/typescript/basic.ts", | ||
| "preLaunchTask": "npm: build:ts-samples", | ||
| "outFiles": ["${workspaceFolder}/dist-esm/samples/typescript/*.js"] | ||
| }, | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Current TS File", | ||
| "args": [ | ||
| "${fileBasename}" | ||
| ], | ||
| "runtimeArgs": [ | ||
| "--nolazy", | ||
| "-r", | ||
| "ts-node/register" | ||
| ], | ||
| "env": { "TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}" }, | ||
| "cwd": "${fileDirname}", | ||
| "sourceMaps": true, | ||
| "protocol": "inspector" | ||
| }, | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Debug Mocha Test [Without Rollup]", | ||
| "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
| "args": [ | ||
| "-r", | ||
| "ts-node/register", | ||
| "--timeout", | ||
| "999999", | ||
| "--colors", | ||
| "${workspaceFolder}/test/*.spec.ts", | ||
| "${workspaceFolder}/test/node/*.spec.ts" | ||
| ], | ||
| "env": { "TS_NODE_COMPILER_OPTIONS": "{\"module\": \"commonjs\"}" }, | ||
| "envFile": "${workspaceFolder}/.env", | ||
| "console": "integratedTerminal", | ||
| "internalConsoleOptions": "neverOpen", | ||
| "protocol": "inspector" | ||
| }, | ||
| { | ||
| "type": "node", | ||
| "request": "launch", | ||
| "name": "Debug Unit Tests", | ||
| "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
| "args": [ | ||
| "-u", | ||
| "tdd", | ||
| "--timeout", | ||
| "999999", | ||
| "--colors", | ||
| "${workspaceFolder}/dist-test/index.node.js" | ||
| ], | ||
| "internalConsoleOptions": "openOnSessionStart", | ||
| "preLaunchTask": "npm: build:test" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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,26 @@ | ||
| { | ||
| "editor.detectIndentation": false, | ||
| "editor.formatOnSave": true, | ||
| "editor.insertSpaces": true, | ||
| "editor.tabSize": 2, | ||
| "files.insertFinalNewline": true, | ||
| "files.trimFinalNewlines": true, | ||
| "javascript.preferences.quoteStyle": "double", | ||
| "typescript.preferences.quoteStyle": "double", | ||
| "search.exclude": { | ||
| "test-results*.xml": true, | ||
| "**/temp/*": true, | ||
| "**/dist/*": true, | ||
| "**/*.map": true, | ||
| "**/dist-*/*": true, | ||
| "**/test-dist/*": true, | ||
| "**/node_modules": true, | ||
| "**/bower_components": true, | ||
| "**/*.code-search": true, | ||
| "**/types/*": true, | ||
| "**/coverage/*": true, | ||
| "**/*.d.ts": true, | ||
| "**/test-browser/*": true | ||
| }, | ||
| "typescript.tsdk": "..\\..\\core\\core-http\\node_modules\\typescript\\lib" | ||
| } | ||
This file contains hidden or 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,7 @@ | ||
| # Release History | ||
|
|
||
| ## 3.0.0-preview.1 (Unreleased) | ||
|
|
||
| - This release is a preview of our efforts to create a client library that is user friendly and | ||
| idiomatic to the JavaScript ecosystem. The reasons for most of the changes in this update can be found in the | ||
| [Azure SDK Design Guidelines for TypeScript](https://azuresdkspecs.z5.web.core.windows.net/TypeScriptSpec.html). |
2 changes: 1 addition & 1 deletion
2
sdk/eventgrid/eventgrid/LICENSE.txt → sdk/eventgrid/eventgrid/LICENSE
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.