Граф коммитов

7578 Коммитов

Автор SHA1 Сообщение Дата
Azure SDK Bot bf98692499
Increment package version after release of azure-digital-twins-core (#13253) 2021-01-20 11:18:42 -05:00
Mitch Denny e942aca8eb
Enable 1ES pools for live tests. (#13216) 2021-01-20 20:50:39 +11:00
Azure SDK Bot 332847c9aa
Increment package version after release of azure-attestation (#13283) 2021-01-19 22:27:46 -08:00
Azure SDK Bot 2bb6a75dce
Update error message in tools repo (#13286)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
2021-01-19 21:34:40 -08:00
Jeff Fisher c2f6d8575d
[core-https][core-client] Core v2 cleanup work (#13266)
* Fix an issue where policies could make phases execute out of order.
* Remove keepAlivePolicy
* Let clients add ndJsonPolicy manually
* Disable redirects by removing the policy instead of an option
* Invert response decompression policy
* Remove request cloning, to optimize pipeline allocations and replace additionalInfo with WeakMaps.
2021-01-19 19:53:14 -08:00
Harsha Nalluru 2633610112
[Service Bus] Bug Fix: getSubscriptionRuntimeProperties returns activeMessageCount as zero (#13229)
### User issue
User complained that the active message count that was returned in the subscription runtime properties is zero when there are three messages. #13219
Reason for the failure is that the manually written parser in the service-bus JS SDK looks for the "d2p1" xmlns-prefix while the response had "d3p1" as the xmlns-prefix.
### More Background
`MessageCountDetails` from the list runtime method has "d2p1" prefix whereas the runtime props method for a single subscription has "d3p1" prefix.
Swagger mentions only the "d2p1" prefix: 1f4095f20a/specification/servicebus/data-plane/servicebus-swagger.json (L367)
### Fix
As a fix for JS, since we have a manual parser and not depending on codegen, this PR attempts to get the xmlns prefix from the response to be able to obtain the details.
### Followup
.NET, Java, and Python SDKs do not fail in the same way as they don't depend on the prefix that is mentioned in the swagger to parse the details.
2021-01-20 03:21:01 +00:00
chradek 7f9696888d
[event-hubs] re-add support for custom endpoint address (#13287)
We had reverted the custom endpoint address changes in #13096 so that we could do a core-amqp release.

This PR reverts that revert and removes the 'beta' moniker from the event hubs version number.

Original PR: #12909
2021-01-20 01:09:11 +00:00
Chidozie Ononiwu e1f8788193
Add LanguageDisplayName variable to Language-Settings file (#13282) 2021-01-19 15:54:16 -08:00
JoshuaLai 3064697abc
[Communication] - Authentication - SmsClient auth using token credential (#13260)
* [smsClient] introduce new constructor
* [smsClientWithToken] flesh out the unit test for sms client
* [smsClientWithToken.spec.ts] adding new replacable variables for token auth
* [smsClientWithToken.spec] Adding new sms recordings and skipping tests if credentials cannot be created. Mainly for browser mode
* [recording] adding browser recordings
* [recordedClient] introducing new utils for sms test
2021-01-19 13:23:24 -08:00
Sarangan Rajamanickam 4b10bd3ad0
Regenerate and Release Attestation SDK (#13279)
* Regenerate and Release Attestation SDK

* Update Version
2021-01-19 12:58:55 -08:00
Dominik e209d7466a
[communication-common] Add serializer for communication identifiers (#13248) 2021-01-19 10:35:37 -08:00
Maor Leger 0cb47ee7a0
[KeyVault] - Enable node unit tests for KeyVault Administrator (#13230)
## What

- Enable Node unit tests for KV administration package
- Align our KV test-resources ARM template with dotnet's
- Add Managed HSM to ARM template
- Add script to enable Managed HSM from dotnet's script

## Why

We have lots of changes we want to make, but tests weren't currently runnable. 
Making the entire suite runnable seemed like something we'd want to do early 
before making behavior changes. Unfortunately there are some service integration 
issues we want to address before we can enable _all_ the tests so we decided to pend
the ones that need some extra TLC to get the suite running.

Aligning with dotnet on the ARM template allows us to easily add the Managed HSM 
bits from them and helps standardize what our template looks like across repos.

Finally, Managed HSM support is coming, so we might as well get the deployment correct
now.
2021-01-19 07:40:51 -08:00
Orlando Watson 81d37fa090
[communication] switch to bearerTokenAuthenticationPolicy (#13220) 2021-01-18 12:50:29 -08:00
Zachary Foster 9b37d20f58
Fix release date (#13269) 2021-01-18 11:31:52 -06:00
colawwj 0f1c73f763
arm-network release (#13240) 2021-01-18 10:17:58 +08:00
Ramya Rao c75087fe9d
Mark @azure/event-processor-host as deprecated (#13261) 2021-01-15 17:07:31 -08:00
Jeff Fisher 3273d72573
[core] Add documentation for core-https, core-client, and an overview README (#13089)
This PR adds some key concepts to both `core-https` and `core-client`, as well as creating a new overview README for the core namespace. This is intended to be a start of more detailed documentation that we can link to when ramping up new library authors.

Suggestion comments are greatly appreciated! 😄
2021-01-16 00:59:37 +00:00
Zachary Foster 70207dc022
3.9.5 release (#13262) 2021-01-15 23:08:40 +00:00
Azure SDK Bot 75c21c4633
Increment package version after release of azure-attestation (#13259) 2021-01-15 14:07:48 -08:00
Deyaaeldeen Almahallawi 78e55c88a8
[Docs] Upgrade typedoc to v0.15.2 to match that used by docs team (#13250)
* [Docs] Upgrade typedoc to v0.15.2 to match that used by docs team

* standardize the docs script for cosmos, kv-admin, comm-common, and storage-internal-avro
2021-01-15 16:24:16 -05:00
Deyaaeldeen Almahallawi f21caf7a0b
[Attestation] Set release date (#13256)
We are releasing today!
2021-01-15 21:18:58 +00:00
Jeff Fisher 712ebafa6f
Tweak client behavior to not set a default content-type when there is no request body. (#13233) 2021-01-15 12:22:24 -08:00
Sarangan Rajamanickam 53554277be
Key vault certificates migration (#12820)
* Update Swagger for v6 migration

* Regenerated Code Changes

* Custom Code Changes - Round I

* Format Changes

* Custom & Regen Changes II

* Some more changes

* Fix Recordings

* Additional Changes

* Additional Change

* Formatting changes

* Fix ESLInt Errors

* Adding Documentation

* Further Modifications

* Formatting Changes

* Correct the Version

* Modified Recordings

* Revert "Fix Recordings"

This reverts commit 98018d0bab.

* Revert All Recordings

* Remove 7.2-preview

* Add Hidden and Regenerate SDK

* Update required property in spec mapper

* More refactorings

* Updated Recordings
2021-01-15 09:37:42 -08:00
Deyaaeldeen Almahallawi 2561087f83
[Digital Twins] bump version (#13252)
to v1.0.3 in `package.json` and in `src`. This is the version of the release prepared here: https://github.com/Azure/azure-sdk-for-js/pull/13249.
2021-01-15 17:36:45 +00:00
Deyaaeldeen Almahallawi 7f2e413308
[Digital Twins] Include the correct type declaration file (#13249) 2021-01-15 11:42:02 -05:00
KarishmaGhiya 4bd67241be
Removing npm clean step from build samples and run step before pack (#13199) 2021-01-15 08:10:27 -08:00
colawwj 46a342ee29
arm-confluent-relesae (#13121)
* arm-confluent-relesae

* package update

* package update
2021-01-15 11:20:25 +08:00
Azure SDK Bot 2ae1fb8ec6
Increment package version after release of azure-identity (#13190) 2021-01-14 16:13:54 -08:00
Jeff Fisher 24cbc288b1
rush update --full (#13188)
This should shake out some recently removed dependencies.
2021-01-14 23:00:52 +00:00
Maor Leger c014e5154a
Update CHANGELOG for digital-twins-core (#13225)
Add an entry listing a recent bug fix where we did not
ship the renamed type definition file.
2021-01-14 20:06:51 +00:00
Deyaaeldeen Almahallawi 0346653359
[Digital Twins] Remove @hidden in favor of @internal (#13226) 2021-01-14 14:45:56 -05:00
Sarangan Rajamanickam c8f5a67d4c
App configuration migration (#13095)
* Generated Code changes

* Custom Code Changes

* Formatting Changes

* Configuration Readme Changes

* Add Transformations

* Add Hidden to Client Classes & Update Version Tool
2021-01-14 11:07:29 -08:00
Deyaaeldeen Almahallawi c9e82bb0e9
[Digital Twins] Fix types shipping (#13222) 2021-01-14 19:02:24 +00:00
Deyaaeldeen Almahallawi b239acfa91
[Attestation] Add linting and coverage (#13221) 2021-01-14 14:02:15 -05:00
Azure SDK Bot def930c5dd
Increment package version after release of azure-digital-twins-core (#13201) 2021-01-14 10:46:15 -08:00
Deyaaeldeen Almahallawi 94edf25d2e
[ESLint Plugin] ts-doc-internal checks for hidden instead of ignore (#13038)
* [ESLint Plugin] ts-doc-internal checks for hidden instead of ignore

* fix a bug

* update docs
2021-01-14 13:18:18 -05:00
Deyaaeldeen Almahallawi f1b2f34293
[Attestation] Adds sdk-type to package.json (#13213)
This is required for CI pipeline to behave correctly.
2021-01-14 17:22:09 +00:00
Zachary Foster 41067fc6ee
[Cosmos] Throws better continuation token error when it's malformed (#13163)
* Throw a better continuation token error when malformed

* format

* Check for query info, otherwise error

* format

* Format and change error check

* adds another string message includes

* Format

* throw reused error

* format
2021-01-14 10:37:35 -05:00
Chidozie Ononiwu ea1f4e75eb
Add condition for making TestPipeline true. (#13175) 2021-01-13 18:59:01 -08:00
Deyaaeldeen Almahallawi a66d9c83c9
[Attestation] Adds missing npm scripts and adds tsdoc.json (#13162)
The attestation pipeline failed for various errors (listed below), mainly because some crucial `npm` scripts were missing. This PR adds the standard ones and fixes linting issues in all but `src`.

## Failures 
Link: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=682555&view=logs&j=23e2e6de-b7c3-5918-7121-f16b46172e49&t=7bd26578-88b4-5baa-f548-7813777930ca

- `ERROR: The project [@azure/dev-tool] does not define a 'unit-test:node' command`
- `ERROR: The project [@azure/attestation] does not define a 'pack' command`
- failures in the eslint plugin, opened https://github.com/Azure/azure-sdk-for-js/pull/13189 to fix them and rebased
- failures in dev-tool because of an outdated unit test. After fixing this issue , now I get this https://github.com/Azure/azure-sdk-for-js/issues/13202 instead:
```
  1 failing
npm ERR! code ELIFECYCLE

npm ERR! errno 1
  1) Project Resolution
npm ERR! @azure/dev-tool@1.0.0 unit-test: `mocha --require ts-node/register test/**/*.spec.ts`
       resolution finds dev-tool package:
npm ERR! Exit status 1
     AssertionError: expected 'D:\\vss-agent-2.179.0\\_work\\1\\s\\common\\tools\\dev-tool' to match /.*\common\tools\dev-tool/
npm ERR! 
      at D:\vss-agent-2.179.0\_work\1\s\common\tools\dev-tool\test\resolveProject.spec.ts:25:12
npm ERR! Failed at the @azure/dev-tool@1.0.0 unit-test script.
      at Generator.next (<anonymous>)
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      at fulfilled (test\resolveProject.spec.ts:7:58)
```
EDIT: I moved `dev-tool` changes to https://github.com/Azure/azure-sdk-for-js/pull/13204.
2021-01-14 02:25:40 +00:00
Azure SDK Bot 6b308a640e
Increment package version after release of azure-service-bus (#13206) 2021-01-13 16:51:50 -08:00
Jeff Fisher 597fea820a
[monitor] Set changelog release date (#13208)
Forgot to set this for the release. Oops!
2021-01-14 00:11:27 +00:00
Deyaaeldeen Almahallawi ff6ed822e2
[dev-tool] Adds unit-test:node and fix unit test (#13204)
* [dev-tool] Adds unit-test:node and fix unit test

* Update common/tools/dev-tool/package.json

Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>

Co-authored-by: Harsha Nalluru <sanallur@microsoft.com>
2021-01-13 23:20:51 +00:00
Hector Hernandez 79cf938a69
OpenTelemetry exporter use correct error code when there is a network issue (#13205)
* Adding correct error code when there is an issue in core-http

* Initial commit
2021-01-13 22:16:54 +00:00
JoshuaLai 7cd87e9f0b
[Communication] - Identity - Auth with Token Credential (#12906)
* [communicationIdentityClient] adding new constructor using token credential

* [communicationIdentityClient] new implementation to take pass in token credential to constructor

* Revert changes to this file

* [communicationIdentityClient] adding linted files

* [communicationIdentityClient] remove unused import

* [communicationIdentityClient] fixing the comments as per PR feedback

* [communicationIdentityClient] import for bearerTokenAuthenticationPolicy

* [Token] adding in live tests for constructor with token credential

* [karma] added the environment vars to karma for browser

* [recordedClient] adding in a mock token credential for playback mode

* [Recordings] removing the port from endpoint url

* [recordedClient] using ClientSecretCredential instead of DefaultAzureCredential

* [communicationIdentityClientWithToken] for browser we stick to the old way of authentication for the time being

* [createRecordedCommunicationIdentityClient] formatting fixes

* [README] update the read me samples and the changelog

* [communicationIdentityClientWithToken] updating test to skip if the token is not created properly

* [communicationAuthPolicy] Created new auth policy to so client has cleaner implementation

* [recordedClient] remove the sinon lib

* Update sdk/communication/communication-administration/src/communicationIdentity/communicationIdentityClient.ts

Co-authored-by: Dominik <domessin@microsoft.com>
2021-01-13 13:08:05 -08:00
Harsha Nalluru d0789f5b9f
[Service Bus] Release prep - 7.0.2 (#13203) 2021-01-13 21:02:35 +00:00
Azure SDK Bot ccfa05ddc0
Increment package version after release of azure-data-tables (#13195) 2021-01-13 14:47:04 -06:00
Orlando Watson 90d62debf3
skip purchase phone number sample in smoke testing (#13198) 2021-01-13 12:19:20 -08:00
Hector Hernandez dd6ac8cca0
Updating OpenTelemetry version for Azure Exporter (#13193)
* Updating Open Telemetry to latest version

* Updating to latest OR

* Addressing comments

* Addressing comments
2021-01-13 12:05:48 -08:00
Deyaaeldeen Almahallawi 0cee110662
[ESLint Plugin] Fix failing tests (#13189) 2021-01-13 15:05:25 -05:00