Skip to content
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

[AutoPR sdk/eventhubs/mgmt-v2018_01_01_preview] Eventhub: Added PrivateEndpointConnection API #3685

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
2db109b
Increment package version after release of com.azure azure-ai-anomaly…
azure-sdk Aug 28, 2020
5843d99
TA add "opinion mining" new feature (#13333)
mssfang Aug 28, 2020
0015dd6
Remove myself from every versioning changes
weshaggard Aug 29, 2020
6a833f1
LogAnalytics: generate package-2020-08 (#14631)
xseeseesee Aug 31, 2020
8880b04
mgmt add azure-resourcemanager-eventhubs (#14469)
xseeseesee Aug 31, 2020
a5acccf
Implement new version schema for cosmosdb starter (#14465)
moarychan Aug 31, 2020
c329352
Mgmt Spring Cloud Deployment update (#14423)
ChenTanyi Aug 31, 2020
419eeb1
Use next link from group membership request (#14305)
ppartarr Aug 31, 2020
a31612a
add azure spring boot servicebus jms integration test (#14562)
jacko9et Aug 31, 2020
db97b97
Identity adfs support aug 2020 (#14444)
g2vinay Aug 31, 2020
1317e07
Implement Models API Part #1 (#14533)
azabbasi Aug 31, 2020
299d31f
Add metadata to TableItem & TableEntity (#14497)
bsiegel Aug 31, 2020
7fb9af3
Add createIfNotExists to TableServiceClients (#14536)
bsiegel Aug 31, 2020
28503b2
Add implementation for relationship APIs (#14527)
abhipsaMisra Aug 31, 2020
1d8ce6b
Fix deserialization of entities (#14551)
bsiegel Aug 31, 2020
e9be5e2
Updating description to point to new packages. (#14601)
conniey Aug 31, 2020
d0ff18e
SB Track2 : SubQueue Implementation (#14587)
hemanttanwar Aug 31, 2020
c06b9eb
Update the helper classes used for serialization and deserialization …
abhipsaMisra Aug 31, 2020
f7add49
Added unit test (#14634)
hemanttanwar Aug 31, 2020
01e0e42
EventGrid Track 2 autogenerated code (#14440)
Soreloser2 Aug 31, 2020
2e2087d
Add offset and length to SentenceSentiment (#14599)
mssfang Aug 31, 2020
b9d2ea7
Azure Search Documents Performance Tests (#14383)
alzimmermsft Aug 31, 2020
7b1e380
Adding Subscription rules (#14633)
conniey Aug 31, 2020
4a74849
Initial test framework (#14660)
azabbasi Aug 31, 2020
1b10644
Implement decommission APIs for Models (#14670)
azabbasi Sep 1, 2020
8baef5d
generate package-2020-08-02 (#14674)
xseeseesee Sep 1, 2020
50297c7
mgmt update test base by azure-resourcemanager-test (#14654)
xseeseesee Sep 1, 2020
4ebe57b
ConnectionString : Default scheme to SB:// in Endpoint if not specifi…
hemanttanwar Sep 1, 2020
4886fc8
Add integration test for AAD User Group count (#14638)
Sep 1, 2020
0d591ec
mgmt traffic manager (#14676)
weidongxu-microsoft Sep 1, 2020
bd08b9f
Remove Priyanka as ADT code owner (#14688)
Sep 1, 2020
bafca90
[Service Bus] Misc API changes from API review (#14598)
YijunXieMS Sep 1, 2020
2e13d83
Remove httpclient suffix from JDK 11 HTTP client module (#13338)
srnagar Sep 1, 2020
ed9952a
Add implementation and API design for ADT component APIs (#14666)
timtay-microsoft Sep 1, 2020
39bd935
Add retry count to basic request logging (#14673)
alzimmermsft Sep 1, 2020
181a04a
Cosmos Encryption removed block() in implementation (#14529)
moderakh Sep 1, 2020
07f7930
Refactor ADT RequestOption extensions for less code duplication (#14695)
timtay-microsoft Sep 1, 2020
f7c2bb9
Fix the live tests pipeline (#14692)
azabbasi Sep 1, 2020
b9e2eb1
[TA] Update Sample README and README for OpinionMining and PII endpoi…
mssfang Sep 1, 2020
bf7b33c
Moved module specific exports, opens, and reads configuration from pa…
alzimmermsft Sep 1, 2020
49d7bb5
Add implementation of DT Apis (#14671)
bikamani Sep 1, 2020
7b31154
[TA] upgrade to 3.1-Preview.2 and fixes the tests (#14680)
mssfang Sep 1, 2020
12f0801
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 1, 2020
827f763
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 2, 2020
39b1947
Restructure ChangeLog Logic (#13592)
chidozieononiwu Sep 2, 2020
ed6476a
Handle OData property types (#14597)
bsiegel Sep 2, 2020
5b1b54d
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 2, 2020
51b2e32
mgmt update test config variable (#14725)
xseeseesee Sep 2, 2020
25d8d5a
mgmt appplatform remove beta annotation (#14724)
xseeseesee Sep 2, 2020
fbd12ff
mgmt update maven profile (#14728)
xseeseesee Sep 2, 2020
17b9444
Mgmt: update changelog (#14726)
ChenTanyi Sep 2, 2020
3af01df
Added support for upload via input stream to a file (#14667)
gapra-msft Sep 2, 2020
41771aa
Add missing azure-core export for HTTP implementation used in paramem…
alzimmermsft Sep 2, 2020
087377f
Revert jdk httpclient artifact name (#14701)
srnagar Sep 2, 2020
73a8ec3
Add helpers for accessing sample resources (#14706)
abhipsaMisra Sep 2, 2020
37c78d7
Fixed netty leak on DELETE operations in GATEWAY mode (#14727)
kushagraThapar Sep 2, 2020
ab7e1ff
Add ADT test assets and helper class to read them (#14741)
timtay-microsoft Sep 2, 2020
9b68a46
[TA] Add redactedText to PiiEntityCollection (#14719)
mssfang Sep 2, 2020
6d87858
add bingEntitySearchApiId property (#14721)
mssfang Sep 2, 2020
b68dd3d
Convert ModelData.model to String (#14702)
azabbasi Sep 2, 2020
eff062e
Fix FieldBuilder live test (#14746)
alzimmermsft Sep 2, 2020
e1ed6ef
Address issues regarding the publicly facing APIs and Models (#14750)
azabbasi Sep 2, 2020
c9a6313
Change prerelease versioning (#14703)
weshaggard Sep 2, 2020
dc4f2ba
Add digital twin lifecycle sample (#14744)
abhipsaMisra Sep 2, 2020
c84e8f4
Cosmos fix resource leak on client initialization failure (#14742)
moderakh Sep 3, 2020
d71fd3a
Update AfterBurner version to match other Jackson versions (#14745)
alzimmermsft Sep 3, 2020
4b3a9f8
Update generated ADT code to reflect swagger changes (#14760)
timtay-microsoft Sep 3, 2020
2d02daf
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 3, 2020
99491d4
Updating libraries with dependency vulnerable to CVE-2020-11612 (#14590)
wcom939 Sep 3, 2020
6167cfa
Mgmt: update ci (#14771)
ChenTanyi Sep 3, 2020
6a2d823
mgmt skip traffic sample test for CI random failure (#14732)
xseeseesee Sep 3, 2020
4647a58
Re-enabled encryption scope tests (#14699)
gapra-msft Sep 3, 2020
21787ac
feat(design): Query API design (#14756)
vinagesh Sep 3, 2020
6b8fa2c
Fixed query live tests in Java 11 (#14749)
gapra-msft Sep 3, 2020
0d23a8e
SB track2: Remove locktoken with ServiceBusReceivedMessage in settlem…
hemanttanwar Sep 3, 2020
e03a589
[TA] Add StringIndexType value and tests (#14784)
mssfang Sep 3, 2020
df5a8f4
Fix timeout exceptions when using tcnative (#14748)
xinlian12 Sep 3, 2020
7c4890f
Add commanline options to the samples code. (#14785)
azabbasi Sep 3, 2020
8d99c11
Adding synchronous WriteLatency benchmark. (#14787)
FabianMeiswinkel Sep 3, 2020
9d87eea
Add tables live test configuration (#14796)
bsiegel Sep 3, 2020
fc161f8
Update Tables README (#14698)
bsiegel Sep 3, 2020
90bbd5f
[TA] Update samples and readme (#14793)
mssfang Sep 3, 2020
5b40cc8
Azure Core API Changes Before Release (#14786)
alzimmermsft Sep 3, 2020
f5fbc85
Add models operations to twin lifecycle sample (#14781)
abhipsaMisra Sep 3, 2020
04cc3ff
Sync eng/common directory with azure-sdk-tools for PR 955 (#14792)
azure-sdk Sep 3, 2020
67864dc
Add live tests to EventGrid SDK (#14799)
Soreloser2 Sep 4, 2020
eecf0ed
[TA] Add domainFilter feature to PII endpoint (#14714)
mssfang Sep 4, 2020
3d918cc
Updated CHANGELOGs and READMEs for September 2020 release (#14761)
alzimmermsft Sep 4, 2020
be68aad
Network: regenerate package-2020-06 (#14773)
xseeseesee Sep 4, 2020
9f8ce5b
mgmt move Manager and ManagerBase to non-implementation package (#14733)
xseeseesee Sep 4, 2020
65f4820
mgmt compute update test dependency (#14731)
xseeseesee Sep 4, 2020
d890893
Support java modules for azure-spring-data-cosmos (#14636)
saragluna Sep 4, 2020
3b8c182
[TA] test live tests in private endpoint (#14800)
mssfang Sep 4, 2020
3e041ec
Increment version for core releases (#14803)
azure-sdk Sep 4, 2020
1c32eba
Increment version for resourcemanager releases (#14768)
azure-sdk Sep 4, 2020
f4ee6aa
mgmt support azure-resourcemanager-servicebus (#14723)
xseeseesee Sep 4, 2020
7c64896
mgmt, port fixes from track1 (#14827)
weidongxu-microsoft Sep 4, 2020
99537ed
mgmt update vm test (#14834)
weidongxu-microsoft Sep 4, 2020
8e7f5c0
mgmt doc on throttling (#14777)
weidongxu-microsoft Sep 4, 2020
5eb4798
Initial KeyVaultAccessControlClient for Java (#12405)
vcolin7 Sep 4, 2020
f01cc0b
mgmt core Region (#14470)
weidongxu-microsoft Sep 4, 2020
a50c4f0
Update LockRenewalOperation API (#14705)
conniey Sep 4, 2020
9e55604
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 4, 2020
e97bfad
Add Anomaly detector package to Java service mapper (#14782)
samvaity Sep 4, 2020
e41c370
Stopping Pair<L, R> of implementation package from leaking into publi…
FabianMeiswinkel Sep 4, 2020
6149c79
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 4, 2020
9491334
Add tables samples README (#14841)
bsiegel Sep 4, 2020
b455a61
Sync eng/common directory with azure-sdk-tools repository (#14846)
azure-sdk Sep 4, 2020
b637366
Update tables version number and changelog (#14852)
bsiegel Sep 4, 2020
18528bd
Add convenience layer to generated code for Event Grid Track 2 (#14442)
Soreloser2 Sep 5, 2020
3e7eb21
Initial KeyVaultBackupClient for Java (#12671)
vcolin7 Sep 5, 2020
b79469c
Add Sync samples for Model Lifecycle. (#14849)
azabbasi Sep 5, 2020
75ff7da
Sync eng/common directory with azure-sdk-tools repository for Tools P…
azure-sdk Sep 6, 2020
cc372c8
revert deleting of @Fluent (#14866)
weidongxu-microsoft Sep 7, 2020
b598dcd
Fix pipeline failure caused by install java/maven/git failed. (#14775)
Sep 7, 2020
7c24435
Revert "Implement new version schema for cosmosdb starter (#14465)" (…
zhoufenqin Sep 7, 2020
9465d61
correct sample directory (#14708)
yiliuTo Sep 7, 2020
eac9534
modify eventhub reademe (#14778)
yiliuTo Sep 7, 2020
464f387
Update script path. (#14869)
Sep 7, 2020
53dee37
mgmt, Accepted interface, handle LRO succeeded without poll (#14868)
weidongxu-microsoft Sep 7, 2020
ecc8944
Mgmt Move Client and ClientBuilder (#14872)
ChenTanyi Sep 8, 2020
76a1ce7
add readme file for Storage Queue starter (#14880)
han-gao Sep 8, 2020
51b0378
update version for spring release (#14873)
zhoufenqin Sep 8, 2020
16059ae
Mgmt auth: support list by filter (#14893)
ChenTanyi Sep 8, 2020
2e87a35
Complete / enrich readme files for Spring Cloud integration with Serv…
saragluna Sep 8, 2020
9f0ec7c
Move the azure-spring-cloud-starter-appconfiguration-config module fr…
jacko9et Sep 8, 2020
5fd43cd
Fix relative link to absolute link (#14901)
jacko9et Sep 8, 2020
0471806
Added tests for error case of query (#14788)
gapra-msft Sep 8, 2020
894add3
Move load balancing options changes to main branch (#14908)
srnagar Sep 8, 2020
ff1d0dc
Bump the template version (#14840)
sima-zhu Sep 8, 2020
b7b0e66
Keyvault Administration clients tests (#14856)
vcolin7 Sep 8, 2020
4edb33a
feat(digital-twins): Add query API implementation (#14910)
vinagesh Sep 8, 2020
6c6a275
Add scripts to update session records and building the project (#14911)
azabbasi Sep 8, 2020
259e63f
Fix HttpRequest Body Being Consumed and Sending an Empty Request Body…
alzimmermsft Sep 8, 2020
eee7889
Updated the ci.yml for publishing the new Key Vault Administration pa…
vcolin7 Sep 8, 2020
1a4077f
Release Azure Core Hotfix for HttpRequest Body Consumption Fix (#14920)
alzimmermsft Sep 8, 2020
de09084
Refactor util and helper classes to their own packages (#14919)
abhipsaMisra Sep 8, 2020
1b5a85b
Fix smoke test compile issue aug 2020 (#14662)
g2vinay Sep 8, 2020
3f42cdb
[Cog Serv Anomaly Detector] add sample codes (#14591)
moreOver0 Sep 8, 2020
1ea7f17
[Event Hubs] Support SAS token in connnection string (#14912)
srnagar Sep 9, 2020
ac8715d
Update Language Settings (#14842)
chidozieononiwu Sep 9, 2020
992ee0b
[Tables] Fix tables livetest (#14797)
bsiegel Sep 9, 2020
45599a3
Increment version for core releases (#14923)
azure-sdk Sep 9, 2020
c1ad3ca
upgrade spring release version 2.3.5 (#14904)
zhoufenqin Sep 9, 2020
2521ad6
Mgmt: remove catch exception Samples (#14897)
ChenTanyi Sep 9, 2020
32f9ae0
Query annotation support (#14661)
mbhaskar Sep 9, 2020
3e48a04
Mgmt: add flatmap test (#14960)
ChenTanyi Sep 9, 2020
020de86
Update readme docs link to directly point to resource manager (#14969)
nickzhums Sep 9, 2020
ca756d5
[Service Bus] Enable SAS support in connection string for Service Bus…
srnagar Sep 9, 2020
3a7e446
refactor(adt): Refactor variable names as per java guidelines (#14985)
abhipsaMisra Sep 9, 2020
a683ebd
Add Model API tests to ADT, fix a few ADT implementation details (#14…
timtay-microsoft Sep 9, 2020
4f90c1c
feat(samples): Components samples (#14987)
azabbasi Sep 9, 2020
82f97f9
fix(adt): Add client side validations for service API calls (#14992)
abhipsaMisra Sep 9, 2020
cd8b4a1
Fixes management support for AuthorizationRules (#14865)
conniey Sep 9, 2020
e96097f
Update CODEOWNERS (#14991)
AlexGhiondea Sep 9, 2020
c9b6a2e
Prepare azure-search-documents for September 2020 GA Release (#14988)
alzimmermsft Sep 9, 2020
55f2ab1
Scope Which Folders in /eng Trigger Core CI (#14983)
alzimmermsft Sep 9, 2020
4e74250
Feat(e2e): Components tests (#14996)
azabbasi Sep 10, 2020
96eccb4
Add ADT event route APIs and implementation (#14994)
timtay-microsoft Sep 10, 2020
10bf934
Bump Identity dependency versions September 2020. (#14913)
g2vinay Sep 10, 2020
f69050c
Update spring cloud reademe (#14971)
yiliuTo Sep 10, 2020
272ad9c
Increment package version after release of com.azure azure-search-doc…
azure-sdk Sep 10, 2020
70d16c3
SB Track2: Expose AMQP details ServiceBus Messages for sending and re…
hemanttanwar Sep 10, 2020
03fe534
Update CODEOWNERS for event grid (#15002)
YijunXieMS Sep 10, 2020
c94fcb4
mgmt improve test (#14970)
weidongxu-microsoft Sep 10, 2020
d8bdf64
Updating user agent and adding query annotation snippets to readme (#…
mbhaskar Sep 10, 2020
5733f75
Mgmt: add junit platform (#14972)
ChenTanyi Sep 10, 2020
3a823fa
Generated from f69510cef189b74f05f0a26e815a096faccbc386
Sep 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 6 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
####
# Service teams
####
# PRLabel: %AzConfig
# PRLabel: %App Configuration
/sdk/appconfiguration/ @mssfang @alzimmermsft
/sdk/appconfiguration/spring-cloud-azure-*/ @mrm9084 @saragluna @yiliuTo @chenrujun @zhoufenqin @jialindai

Expand All @@ -37,7 +37,10 @@
/sdk/cosmos/azure-spring-data-2-3-cosmos/ @kushagraThapar @saragluna @yiliuTo @chenrujun @zhoufenqin @jialindai @mbhaskar

# PRLabel: %DigitalTwins
/sdk/digitaltwins/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @prmathur-microsoft @bikamani @barustum
/sdk/digitaltwins/ @drwill-ms @timtay-microsoft @abhipsaMisra @vinagesh @azabbasi @bikamani @barustum

# PRLabel: %Event Grid
/sdk/eventgrid/ @srnagar @yijunxiems

# PRLabel: %Event Hubs
/sdk/eventhubs/ @conniey @srnagar @mssfang @yijunxiems
Expand Down Expand Up @@ -85,7 +88,7 @@
/eng/code-quality-reports/ @mssfang @JonathanGiles
/eng/jacoco-test-coverage/ @srnagar @JonathanGiles
/eng/spotbugs-aggregate-report/ @srnagar @JonathanGiles
/eng/versioning/ @JimSuplizio @mitchdenny @weshaggard @danieljurek @alzimmermsft @samvaity
/eng/versioning/ @JimSuplizio @mitchdenny @danieljurek @alzimmermsft @samvaity
/parent/ @JimSuplizio @alzimmermsft

/**/tests.yml @danieljurek
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ temp/
# Spring
**/*packageOutputDirectory*

# Sensitive files
*.json.env

#javadoc overview files generated from README.md
readme_overview.html
**/javadocTemp/**
Expand Down
2 changes: 1 addition & 1 deletion common/perf-test-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.5.4</version> <!-- {x-version-update;com.azure:azure-core-http-netty;dependency} -->
<version>1.6.1</version> <!-- {x-version-update;com.azure:azure-core-http-netty;dependency} -->
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions common/smoke-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.0.3</version>
<version>1.1.0</version>
</dependency>

<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-security-keyvault-secrets</artifactId>
<version>4.1.0</version>
<version>4.2.0</version>
</dependency>

<dependency>
Expand Down
29 changes: 21 additions & 8 deletions common/smoke-tests/src/main/java/com/azure/KeyVaultSecrets.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
// Licensed under the MIT License.
package com.azure;

import com.azure.identity.AzureAuthorityHosts;
import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.identity.KnownAuthorityHosts;
import com.azure.security.keyvault.secrets.SecretClient;
import com.azure.security.keyvault.secrets.SecretClientBuilder;
import com.azure.security.keyvault.secrets.SecretServiceVersion;
import com.azure.security.keyvault.secrets.models.DeletedSecret;
import com.azure.security.keyvault.secrets.models.KeyVaultSecret;
import com.azure.core.util.polling.SyncPoller;
Expand All @@ -24,10 +25,18 @@ public class KeyVaultSecrets {
private static final Logger LOGGER = LoggerFactory.getLogger(KeyVaultSecrets.class);

private static HashMap<String, String> AUTHORITY_HOST_MAP = new HashMap<String, String>() {{
put("AzureCloud", KnownAuthorityHosts.AZURE_CLOUD);
put("AzureChinaCloud", KnownAuthorityHosts.AZURE_CHINA_CLOUD);
put("AzureGermanCloud", KnownAuthorityHosts.AZURE_GERMAN_CLOUD);
put("AzureUSGovernment", KnownAuthorityHosts.AZURE_US_GOVERNMENT);
put("AzureCloud", AzureAuthorityHosts.AZURE_PUBLIC_CLOUD);
put("AzureChinaCloud", AzureAuthorityHosts.AZURE_CHINA);
put("AzureGermanCloud", AzureAuthorityHosts.AZURE_GERMANY);
put("AzureUSGovernment", AzureAuthorityHosts.AZURE_GOVERNMENT);
}};

private static HashMap<String, SecretServiceVersion> AUTHORITY_HOST_SERVICE_VERSION_MAP =
new HashMap<String, SecretServiceVersion>() {{
put("AzureCloud", SecretServiceVersion.V7_1);
put("AzureChinaCloud", SecretServiceVersion.V7_0);
put("AzureGermanCloud", SecretServiceVersion.V7_0);
put("AzureUSGovernment", SecretServiceVersion.V7_0);
}};

private static void setSecret() {
Expand Down Expand Up @@ -59,7 +68,10 @@ public static void main(String[] args) {
// Configure authority host from AZURE_CLOUD
String azureCloud = System.getenv("AZURE_CLOUD");
String authorityHost = AUTHORITY_HOST_MAP.getOrDefault(
azureCloud, KnownAuthorityHosts.AZURE_CLOUD);
azureCloud, AzureAuthorityHosts.AZURE_PUBLIC_CLOUD);

SecretServiceVersion serviceVersion =
AUTHORITY_HOST_SERVICE_VERSION_MAP.getOrDefault(azureCloud, SecretServiceVersion.getLatest());


/* DefaultAzureCredentialBuilder() is expecting the following environment variables:
Expand All @@ -72,8 +84,9 @@ public static void main(String[] args) {
.credential(
new DefaultAzureCredentialBuilder()
.authorityHost(authorityHost)
.build()
).buildClient();
.build())
.serviceVersion(serviceVersion)
.buildClient();
try {
setSecret();
getSecret();
Expand Down
4 changes: 4 additions & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ known_presence_issues:
- ['sdk/core/azure-core-auth', '#2847']
- ['sdk/core/azure-core-management', '#2847']
- ['sdk/e2e', '#2847']
- ['sdk/eventgrid/azure-messaging-eventgrid', '#2847']
- ['sdk/eventhubs/microsoft-azure-eventhubs-extensions', '#2847']
- ['sdk/keyvault/microsoft-azure-keyvault', '#2847']
- ['sdk/keyvault/microsoft-azure-keyvault-core', '#2847']
Expand Down Expand Up @@ -93,6 +94,7 @@ known_presence_issues:
- ['sdk/cosmos/azure-cosmos-examples/CHANGELOG.md', '#2847']
- ['sdk/cosmos/azure-cosmos-benchmark/CHANGELOG.md', '#2847']
- ['sdk/cosmos/CHANGELOG.md', '#2847']
- ['sdk/eventgrid/azure-messaging-eventgrid/CHANGELOG.md', '#2847']
- ['sdk/eventgrid/microsoft-azure-eventgrid/CHANGELOG.md', '#2847']
- ['sdk/eventhubs/microsoft-azure-eventhubs/CHANGELOG.md', '#2847']
- ['sdk/eventhubs/microsoft-azure-eventhubs-eph/CHANGELOG.md', '#2847']
Expand Down Expand Up @@ -128,11 +130,13 @@ known_content_issues:
- ['sdk/cosmos/azure-cosmos/README.md', '#3113']
- ['sdk/cosmos/azure-cosmos-encryption/README.md', '#3113']
- ['sdk/e2e/README.md', '#3113']
- ['sdk/eventgrid/azure-messaging-eventgrid/swagger/README.md', '#3113']
- ['sdk/eventgrid/microsoft-azure-eventgrid/README.md', '#3113']
- ['sdk/eventhubs/microsoft-azure-eventhubs-eph/README.md', '#3113']
- ['sdk/eventhubs/README.md', '#3113']
- ['sdk/formrecognizer/azure-ai-formrecognizer/swagger/README.md', '#3113']
- ['sdk/keyvault/README.md', '#3113']
- ['sdk/keyvault/azure-security-keyvault-administration/README.md', '#3113']
- ['sdk/loganalytics/microsoft-azure-loganalytics/README.md', '#3113']
- ['sdk/parents/azure-client-sdk-parent/README.md', '#3113']
- ['sdk/search/azure-search-documents/swagger/readme.md', '#3113']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@

<!-- Public API already exposed: Common vocabulary errors, refer to Java Spec: https://azure.github.io/azure-sdk/java_introduction.html,
issue link: https://github.com/Azure/azure-sdk-for-java/issues/5145 -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.security.keyvault.administration.KeyVaultBackupAsyncClient"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.security.keyvault.administration.KeyVaultBackupClient"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.security.keyvault.secrets.SecretAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
Expand Down Expand Up @@ -359,9 +363,10 @@
<!-- Allows the HttpPipelinePolicy derived class in Implementation folder -->
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.messaging.servicebus.implementation.ServiceBusTokenCredentialHttpPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.storage.common.implementation.policy.SasTokenCredentialPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.security.keyvault.secrets.implementation.KeyVaultCredentialPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.security.keyvault.administration.implementation.KeyVaultCredentialPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.security.keyvault.certificates.implementation.KeyVaultCredentialPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.security.keyvault.keys.implementation.KeyVaultCredentialPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.security.keyvault.secrets.implementation.KeyVaultCredentialPolicy.java"/>

<!-- Empty while loop waiting for Reactor stream completion -->
<suppress checks="EmptyBlock" files="com.azure.storage.blob.batch.BlobBatch.java"/>
Expand Down Expand Up @@ -420,6 +425,8 @@
<suppress checks="LineLength" files="com.azure.ai.formrecognizer.Transforms.java"/>

<suppress checks="Indentation" files="com.azure.ai.formrecognizer.implementation.FormRecognizerClientImpl" />
<suppress checks="Indentation" files="com.azure.security.keyvault.administration.implementation.RoleAssignmentsImpl" />
<suppress checks="Indentation" files="com.azure.security.keyvault.administration.implementation.RoleDefinitionsImpl" />

<suppress checks="GoodLoggingCheck" files="com.azure.ai.formrecognizer.models.FieldValueType.java" />

Expand Down Expand Up @@ -525,6 +532,7 @@
<!-- False positive as the methods are implemented in an anonymous class that is not exposed publicly. EntityHelper's
accessor classes are not visible. -->
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.QueueProperties.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.RuleProperties.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.SubscriptionProperties.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.TopicProperties.java"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,6 @@
name="com.azure.data.appconfiguration.credentials.ConfigurationClientCredentials$AuthorizationHeaderProvider"/>
<Class name="com.azure.messaging.eventhubs.EventData$SystemProperties"/>
<Class name="com.azure.messaging.eventhubs.implementation.ReactorSender$WeightedDeliveryTag"/>
<Class name="com.azure.identity.implementation.AuthorizationCodeListener"/>
</Or>
<Bug pattern="UPM_UNCALLED_PRIVATE_METHOD"/>
</Match>
Expand Down
6 changes: 4 additions & 2 deletions eng/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ The 'Sync eng/common directory' PRs will be created in the language repositories
2. `azure-sdk-tools - sync - eng-common` is run automatically. It creates **Sync PRs** in each of the connected language repositories using the format `Sync eng/common directory with azure-sdk-tools for PR {Tools PR Number}`. Each **Sync PR** will contain a link back to the **Tools PR** that triggered it.
3. More changes pushed to the **Tools PR**, will automatically triggered new pipeline runs in the respective **Sync PRs**. The **Sync PRs** are used to make sure the changes would not break any of the connected pipelines.
4. Once satisfied with the changes;
- First merge all the **Sync PRs**. The **Tools PR** contains links to all the **Sync PRs**
- Finally merge the **Tools PR**. Each **Sync PR** contains the link to the corresponding **Tools PR**.
- First make sure all checks in the **Sync PRs** are green and approved. The **Tools PR** contains links to all the **Sync PRs**. If for some reason the PRs is blocked by a CI gate get someone with permission to override and manually merge the PR.
- To test the state of all the **Sync PRs**, you can download the `PRsCreated.txt` artifact from your `azure-sdk-tools - sync - eng-common` pipeline, then run `./eng/scripts/Verify-And-Merge.ps1 <path to PRsCreated.txt>` which will output the status of each associated PR.
- Next approve the `VerifyAndMerge` job for the `azure-sdk-tools - sync - eng-common` pipeline triggered by your **Tools PR** which will automatically merge all the **Sync PRs**. You need `azure-sdk` devops contributor permissions to reach the `azure-sdk-tools - sync - eng-common` pipeline.
- Finally merge the **Tools PR**.
15 changes: 10 additions & 5 deletions eng/common/Update-Change-Log.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Note: This script will add or replace version title in change log
# Note: This script will add or replace version title in change log

# Parameter description
# Version : Version to add or replace in change log
Expand All @@ -12,7 +12,8 @@ param (
[Parameter(Mandatory = $true)]
[String]$ChangeLogPath,
[String]$Unreleased = $True,
[String]$ReplaceVersion = $False
[String]$ReplaceVersion = $False,
[String]$ReleaseDate
)


Expand Down Expand Up @@ -46,8 +47,12 @@ function Get-VersionTitle($Version, $Unreleased)
# Generate version title
$newVersionTitle = "## $Version $UNRELEASED_TAG"
if ($Unreleased -eq $False) {
$releaseDate = Get-Date -Format "(yyyy-MM-dd)"
$newVersionTitle = "## $Version $releaseDate"
$actualReleaseDate = $ReleaseDate;

if (!$actualReleaseDate) {
$actualReleaseDate = Get-Date -Format "yyyy-MM-dd"
}
$newVersionTitle = "## $Version ($actualReleaseDate)"
}
return $newVersionTitle
}
Expand Down Expand Up @@ -95,7 +100,7 @@ function Get-NewChangeLog( [System.Collections.ArrayList]$ChangelogLines, $Versi
exit(0)
}

if (($ReplaceVersion -eq $True) -and ($Unreleased -eq $False) -and $CurrentTitle.Contains($version) -and (-not $CurrentTitle.Contains($UNRELEASED_TAG))) {
if (($ReplaceVersion -eq $True) -and ($Unreleased -eq $False) -and $CurrentTitle.Contains($version) -and (-not $CurrentTitle.Contains($UNRELEASED_TAG)) -and (-not $ReleaseDate)) {
Write-Host "Version is already present in change log with a release date."
exit(0)
}
Expand Down
35 changes: 13 additions & 22 deletions eng/common/pipelines/templates/steps/get-pr-owners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,19 @@ steps:
- pwsh: |
git clone https://github.com/Azure/azure-sdk-tools.git $(Build.SourcesDirectory)/tools_repo
cd $(Build.SourcesDirectory)/tools_repo
git checkout 564ad63ae72d18422533fa1da9d396e7703c1cb5
git checkout 35ad98f821913eb0e8872f861ee60589b563c865
displayName: Setup Identity Resolver

- pwsh: |
$result = dotnet run -v q -- `
dotnet run -v q -- `
--aad-app-id-var APP_ID `
--aad-app-secret-var APP_SECRET `
--aad-tenant-var AAD_TENANT `
--kusto-url-var KUSTO_URL `
--kusto-database-var KUSTO_DB `
--kusto-table-var KUSTO_TABLE `
--identity "$(Build.QueuedBy)"

$resolvedIdentity = ""
try { $resolvedIdentity = $result[-1] | ConvertFrom-Json } catch {}

if($resolvedIdentity) {
Write-Host $resolvedIdentity

Write-Host "##vso[task.setvariable variable=${{ parameters.TargetVariable }}]$($resolvedIdentity.GithubUserName)"
}
else {
Write-Host "Unable to locate a github user for identity $(Build.QueuedBy)"
}
--identity "$(Build.QueuedBy)" `
--targetvar "${{ parameters.TargetVariable }}"
displayName: 'Resolving Queuing User'
continueOnError: true
workingDirectory: $(Build.SourcesDirectory)/tools_repo/tools/notification-configuration/identity-resolver
Expand All @@ -45,10 +34,12 @@ steps:
Remove-Item -Force -Recurse $(Build.SourcesDirectory)/tools_repo
displayName: Clean Up Cloned Tools Repo

- pwsh: |
$originalValue = "$(${{ parameters.TargetVariable }})"
$result = $(Build.SourcesDirectory)/eng/common/scripts/get-codeowners.ps1 -TargetDirectory /sdk/${{ parameters.ServiceDirectory }}/ -RootDirectory $(Build.SourcesDirectory)
if ($result) {
Write-Host "##vso[task.setvariable variable=${{ parameters.TargetVariable }}]$originalValue,$result"
}
displayName: Add CodeOwners if Present
- task: PowerShell@2
displayName: Add CodeOwners if Present
inputs:
pwsh: true
filePath: $(Build.SourcesDirectory)/eng/common/scripts/get-codeowners.ps1
arguments: >
-TargetDirectory "/sdk/${{ parameters.ServiceDirectory }}/"
-RootDirectory "$(Build.SourcesDirectory)"
-VsoVariable "${{ parameters.TargetVariable }}"
4 changes: 4 additions & 0 deletions eng/common/pipelines/templates/steps/publish-blobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ parameters:
TargetLanguage: ''
BlobName: ''
ScriptPath: ''
ArtifactLocation: ''
RepoId: $(Build.Repository.Name)

steps:
- pwsh: |
Expand All @@ -21,6 +23,8 @@ steps:
-SASKey "${{ parameters.BlobSASKey }}"
-Language "${{ parameters.TargetLanguage }}"
-BlobName "${{ parameters.BlobName }}"
-PublicArtifactLocation "${{ parameters.ArtifactLocation }}"
-RepoReplaceRegex "(https://github.com/${{ parameters.RepoId }}/(?:blob|tree)/)master"
pwsh: true
workingDirectory: $(Pipeline.Workspace)
displayName: Copy Docs to Blob
Expand Down
7 changes: 4 additions & 3 deletions eng/common/pipelines/templates/steps/verify-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ parameters:
- name: ServiceName
type: string
default: 'not-specified'
- name: ServiceDirectory
type: string
default: ''
- name: ForRelease
type: boolean
default: false
Expand All @@ -15,9 +18,7 @@ steps:
filePath: $(Build.SourcesDirectory)/eng/common/scripts/Verify-ChangeLog.ps1
arguments: >
-PackageName ${{ parameters.PackageName }}
-ServiceName ${{ parameters.ServiceName }}
-RepoRoot $(Build.SourcesDirectory)
-RepoName $(Build.Repository.Name)
-ServiceDirectory ${{ coalesce(parameters.ServiceDirectory, parameters.ServiceName) }}
-ForRelease $${{ parameters.ForRelease }}
pwsh: true
workingDirectory: $(Pipeline.Workspace)
Expand Down
Loading