Skip to content

Commit a3de182

Browse files
Azure communication job router sdk (Azure#22806)
* Pass js sdk pipeline ci (Azure#18888) * Initial commit of job router sdk * Fix code (Todo: createSpan needs to add to client) * add api review file * update pnpm yaml * skip samples for now * add readme * fix lint errors * fix lint errors * fix lint errors * add recordings * add recordings missing content * add recordings missing content - browser mode * remove assert * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/README.md Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/src/routerClient.ts Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Update sdk/communication/communication-job-router/src/routerClient.ts Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * update README.md * update README.md Co-authored-by: Marc Ma <marcma@microsoft.com> Co-authored-by: Daniel Rodríguez <sadasant@users.noreply.github.com> * Latest API & Swagger (Update post patch routes, etc) (Azure#19953) * update to latest patch routes and models * minor fix * update routerClient * update according to feedback run autorest on latest swagger * minor updaate Co-authored-by: Marc Ma <marcma@microsoft.com> * rev 1 (Azure#22096) Co-authored-by: Marc Ma <marcma@microsoft.com> * address required/options params feedback (Azure#22245) update to latest swagger clean up tests Co-authored-by: Marc Ma <marcma@microsoft.com> * expose models (Azure#22331) * expose link models * add api file expose models Co-authored-by: Marc Ma <marcma@microsoft.com> * Add samples for js sdk (Azure#22444) * Add samples-dev Generate samples from samples-dev Adjust route params with public review swagger * Update options and routerClient Co-authored-by: Marc Ma <marcma@microsoft.com> * Public feedback and new api version (Azure#22793) * Add jobRouterAdministration.ts New swagger with new api version * Update samples and api version number Remove requests.ts * Update shrinkwrap file Co-authored-by: Marc Ma <marcma@microsoft.com> * Rename to jobrouter * Rename in docs * Resolve lint errors * Remove samples readme temporarily Remove empty options * Remove beta tag Update connection string name * Update test node recordings * Fix lint and tests * Run check-format (prettier) * Update to test-recorder v2 * Update communication packages version to v2 * Resolve conflicts * Update Readme Resolve lint * Update version number * Fix tests in node mode TOOD: fix tests in browser mode * Update according to feedbacks * Update import Update pnpm lock * Update samples * Update api file * Fix api file * Add a missing route * fields renaming sample-dev update * Add paths for the package * Add todos and issue links Update readme Update some recordings * Update tests * Prettier * headerless matcher * rename the package folder * update package name in files Co-authored-by: Marc Ma <marcma@microsoft.com>
1 parent 9251e50 commit a3de182

File tree

88 files changed

+12644
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+12644
-0
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 166 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rush.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,11 @@
446446
"projectFolder": "sdk/communication/communication-sms",
447447
"versionPolicyName": "client"
448448
},
449+
{
450+
"packageName": "@azure/communication-job-router",
451+
"projectFolder": "sdk/communication/communication-job-router",
452+
"versionPolicyName": "client"
453+
},
449454
{
450455
"packageName": "@azure/container-registry",
451456
"projectFolder": "sdk/containerregistry/container-registry",

sdk/communication/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ extends:
5151
safeName: azuretoolscommunicationalphaids
5252
- name: azure-communication-rooms
5353
safeName: azurecommunicationrooms
54+
- name: azure-communication-job-router
55+
safeName: azurecommunicationjobrouter
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"plugins": ["@azure/azure-sdk"],
3+
"extends": ["plugin:@azure/azure-sdk/azure-sdk-base"],
4+
"rules": {
5+
// Removing `src` would be a breaking change so leaving it for the package owners to address
6+
"@azure/azure-sdk/ts-package-json-files-required": "warn"
7+
}
8+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/**/code-model-v*
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"include": ["dist-esm/src/**/*.js"],
3+
"exclude": ["**/*.d.ts", "dist-esm/src/generated/*"],
4+
"reporter": ["text-summary", "html", "cobertura"],
5+
"exclude-after-remap": false,
6+
"sourceMap": true,
7+
"produce-source-map": true,
8+
"instrument": true,
9+
"all": true
10+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (Unreleased)
4+
5+
This is the beta release of Azure Communication Router SDK. For more information, please see the [README][read_me].
6+
7+
This is a private Preview version, so breaking changes are possible in subsequent releases as we improve the product.
8+
To provide feedback, please submit an issue in our [Azure SDK for JS GitHub repo][issues].
9+
10+
- create/get/update/delete/list (a) classification policy(s)
11+
- create/get/update/delete/list (a) distribution policy(s)
12+
- create/get/update/delete/list (a) exception policy(s)
13+
- create/get/update/delete/list/cancel/complete/close/unassign/reclassify/updateClassification (a) job(s)
14+
- create/get/update/delete/list (a) queue(s)
15+
- create/register/get/deregister/delete/list (a) worker(s)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2020 Microsoft
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)