Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
6c63b93
Add pull config
Aug 7, 2019
ef4e55e
Remove unused imports. (#4886)
conniey Aug 7, 2019
64c6143
Update/fix README links (#4889)
conniey Aug 7, 2019
3a55073
Fixed StackOverflow error loading configurations (#4853)
alzimmermsft Aug 8, 2019
d6e9e0e
Cosmos Key Credential (#4885)
kushagraThapar Aug 8, 2019
d3becab
HDInsight: v2018_06_01 update. (#4895)
yaohaizh Aug 8, 2019
206e316
Version bump 3.1.0 (#4896)
kushagraThapar Aug 8, 2019
fe9f37a
README consolidation and link fixes (#4890)
conniey Aug 8, 2019
d364372
add pull config
Aug 14, 2019
81b0d20
Optimize checkout (#4982)
mitchdenny Aug 14, 2019
3527f66
Prep for splitting keyvault ci. (#4984)
mitchdenny Aug 14, 2019
8edbcd8
Datamigration: update package 2018-07-15-preview. (#4937)
yaohaizh Aug 14, 2019
5be7f5b
ContainerService: genereate v2019_06_01 (#4990)
yaohaizh Aug 14, 2019
aac8a96
Merge pull request #116 from Azure/master
pull[bot] Aug 14, 2019
5c28f74
Disable Jetty by default. (#4964)
mitchdenny Aug 14, 2019
df4c310
Update package groups and add description in pom.xml for client libra…
srnagar Aug 14, 2019
f8085c9
Event Hubs: Synchronous APIs Part 2 (#4970)
conniey Aug 14, 2019
baf1f47
Split the eventhubs client and data pipelines. (#4995)
mitchdenny Aug 14, 2019
484e9a4
Add null check to fix spotbugs warning. (#4998)
conniey Aug 14, 2019
55e3509
Seeing if we can speed up spotbugs (#4988)
JonathanGiles Aug 14, 2019
5979a53
Generated from d0e65933a9e0764079436e3f000fe80796479542 (#65)
openapi-sdkautomation[bot] Aug 15, 2019
5fbd93c
Enabling javadoc production for template. (#4963)
mitchdenny Aug 15, 2019
d043adc
Update link to Java Guidelines. (#4842)
Aug 15, 2019
3f0befe
Fixes on Check on checkstyle (#5003)
mssfang Aug 15, 2019
2f1b778
Update Storage swagger (#4981)
tg-msft Aug 15, 2019
98341e7
Added spock test framework and tests for queue service (#4940)
sima-zhu Aug 15, 2019
9bea3e2
Fix directory path. (#5012)
mitchdenny Aug 16, 2019
aa3d4e4
Update/fix README links (#4889)
conniey Aug 7, 2019
e936aa2
Cosmos Key Credential (#4885)
kushagraThapar Aug 8, 2019
4bd9805
README consolidation and link fixes (#4890)
conniey Aug 8, 2019
223b6fd
Generated from d0e65933a9e0764079436e3f000fe80796479542 (#65)
openapi-sdkautomation[bot] Aug 15, 2019
18f85b0
Merge branch 'sdkAutomation/recoveryservices.backup/resource-manager/…
Aug 19, 2019
a028317
Update/fix README links (#4889)
conniey Aug 7, 2019
70e936b
Cosmos Key Credential (#4885)
kushagraThapar Aug 8, 2019
fbc4996
README consolidation and link fixes (#4890)
conniey Aug 8, 2019
43ed1c6
Generated from d0e65933a9e0764079436e3f000fe80796479542 (#65)
openapi-sdkautomation[bot] Aug 15, 2019
b33a6a3
Merge branch 'sdkAutomation/recoveryservices.backup/resource-manager/…
Aug 19, 2019
2d26cb9
Update/fix README links (#4889)
conniey Aug 7, 2019
b9efe35
Cosmos Key Credential (#4885)
kushagraThapar Aug 8, 2019
8b0bdd0
README consolidation and link fixes (#4890)
conniey Aug 8, 2019
00bf75a
Generated from d0e65933a9e0764079436e3f000fe80796479542 (#65)
openapi-sdkautomation[bot] Aug 15, 2019
84a5ccd
Merge branch 'sdkAutomation/recoveryservices.backup/resource-manager/…
Aug 19, 2019
191d72e
Update/fix README links (#4889)
conniey Aug 7, 2019
738c35d
Cosmos Key Credential (#4885)
kushagraThapar Aug 8, 2019
86b133d
README consolidation and link fixes (#4890)
conniey Aug 8, 2019
b97425f
Generated from d0e65933a9e0764079436e3f000fe80796479542 (#65)
openapi-sdkautomation[bot] Aug 15, 2019
81c1cd3
Merge branch 'sdkAutomation/recoveryservices.backup/resource-manager/…
Aug 21, 2019
0b4be6f
Update/fix README links (#4889)
conniey Aug 7, 2019
ded084e
Cosmos Key Credential (#4885)
kushagraThapar Aug 8, 2019
6f5d3d1
README consolidation and link fixes (#4890)
conniey Aug 8, 2019
6e7e361
Generated from d0e65933a9e0764079436e3f000fe80796479542 (#65)
openapi-sdkautomation[bot] Aug 15, 2019
b33f286
Merge branch 'sdkAutomation/recoveryservices.backup/resource-manager/…
Aug 21, 2019
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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .github/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://github.com/wei/pull#advanced-setup-with-config
version: "1"
rules:
- base: master
upstream: Azure:master
mergeMethod: rebase
label: "AutoPull"
3 changes: 3 additions & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ known_content_issues:
- ['sdk/cosmos/changelog/README.md', '#3113']
- ['sdk/cosmos/microsoft-azure-cosmos-benchmark/README.md', '#3113']
- ['sdk/cosmos/README.md', '#3113']
- ['sdk/storage/azure-storage-blob/swagger/README.md', '#3113']
- ['sdk/storage/azure-storage-queue/swagger/README.md', '#3113']
- ['sdk/storage/azure-storage-file/swagger/README.md', '#3113']
package_indexing_exclusion_list:
- azure-loganalytics-sample
- azure-applicationinsights-query-sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Licensed under the MIT License.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.tools.checkstyle.checks;

Expand All @@ -19,8 +19,8 @@
*/
public class OnlyFinalFieldsForImmutableClassCheck extends AbstractCheck {
private static final String IMMUTABLE_NOTATION = "Immutable";
private static final String ERROR_MSG = "The variable field ''%s'' should be final." +
"Classes annotated with @Immutable are supposed to be immutable.";
private static final String ERROR_MSG = "The variable field ''%s'' should be final."
+ "Classes annotated with @Immutable are supposed to be immutable.";

private boolean hasImmutableAnnotation;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void visitToken(DetailAST token) {
// method name has prefix 'build' but not 'build*Client' or 'build*AsyncClient'
if (!methodName.endsWith("Client")) {
log(token, String.format(
"@ServiceClientBuilder class should not have a method name, ''%s'' starting with ''build'' but not ending with ''Client''." , methodName));
"@ServiceClientBuilder class should not have a method name, ''%s'' starting with ''build'' but not ending with ''Client''.", methodName));
}
break;
default:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.tools.checkstyle.checks;

import com.puppycrawl.tools.checkstyle.api.DetailAST;
Expand Down Expand Up @@ -39,7 +42,7 @@ protected static boolean hasIllegalCombination(DetailAST modifiers) {
Optional<DetailAST> illegalCombination = TokenUtil.findFirstTokenByPredicate(modifiers, (node) -> {
final int type = node.getType();
return INVALID_FINAL_COMBINATION.contains(node.getType()) || (TokenTypes.ANNOTATION == type
&& INVALID_FINAL_ANNOTATIONS.contains(node.findFirstToken(TokenTypes.IDENT).getText()));
&& INVALID_FINAL_ANNOTATIONS.contains(node.findFirstToken(TokenTypes.IDENT).getText()));
});

return illegalCombination.isPresent();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck" files=".*[/\\]samples[/\\].*\.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicyCheck" files=".*[/\\]samples[/\\].*\.java"/>

<!-- Don't apply custom Checkstyle rules to files under checkstyle package. -->
<suppress checks="com\.azure\.tools\.checkstyle\.checks\..+" files=".*[/\\]tools[/\\]checkstyle[/\\].*"/>

<!-- JavaPackage suppression -->
<suppress checks="JavadocPackage" files=".*[/\\]samples[/\\].*\.java"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<Or>
<Class name="com.microsoft.azure.keyvault.authentication.KeyVaultCredentials"/>
<Class name="com.azure.storage.blob.implementation.AzureBlobStorageBuilder"/>
<Class name="com.azure.storage.file.implementation.AzureFileStorageBuilder"/>
<Class name="com.azure.storage.queue.implementation.AzureQueueStorageBuilder"/>
</Or>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
</Match>
Expand Down
10 changes: 10 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
JavaVersion: '1.11'

steps:
- checkout: self
fetchDepth: 1

- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: 'Tag scheduled builds'
Expand Down Expand Up @@ -87,6 +90,9 @@ jobs:
vmImage: 'ubuntu-16.04'

steps:
- checkout: self
fetchDepth: 1

- task: UsePythonVersion@0
displayName: 'Use Python 3.6'
inputs:
Expand Down Expand Up @@ -222,12 +228,16 @@ jobs:
vmImage: $(OSVmImage)

steps:
- checkout: self
fetchDepth: 1

- template: ../steps/verify-agent-os.yml
parameters:
OSName: $(OSName)

- task: Maven@3
displayName: 'Start Jetty'
condition: ne(variables['SdkType'], 'client')
inputs:
mavenPomFile: pom.client.xml
options: '$(DefaultOptions) $(ProfileFlag)'
Expand Down
23 changes: 15 additions & 8 deletions pom.client.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.azure</groupId>
<artifactId>azure-client-sdk-parent</artifactId>
Expand Down Expand Up @@ -164,12 +164,13 @@
</dependency>
</dependencies>
<configuration>
<effort>Max</effort>
<effort>max</effort>
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
<excludeFilterFile>spotbugs/spotbugs-exclude.xml</excludeFilterFile>
<failOnError>true</failOnError>
<fork>false</fork>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -341,7 +342,6 @@
</footer>
<linksource>false</linksource>
<excludePackageNames>
com.microsoft.azure.template:
*.impl*:
*.implementation*:
com.azure.tools.checkstyle*
Expand Down Expand Up @@ -401,6 +401,10 @@
<title>Azure Storage - Queues</title>
<packages>com.azure.storage.queue*</packages>
</group>
<group>
<title>Azure Telemetry</title>
<packages>com.azure.tracing.opentelemetry*</packages>
</group>
</groups>
<links>
<link>https://docs.oracle.com/javase/8/docs/api/</link>
Expand Down Expand Up @@ -438,12 +442,13 @@
</dependency>
</dependencies>
<configuration>
<effort>Max</effort>
<effort>max</effort>
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
<excludeFilterFile>spotbugs/spotbugs-exclude.xml</excludeFilterFile>
<failOnError>true</failOnError>
<fork>false</fork>
</configuration>
</plugin>

Expand Down Expand Up @@ -511,12 +516,13 @@
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${spotbugs.maven.version}</version>
<configuration>
<effort>Max</effort>
<effort>max</effort>
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
<excludeFilterFile>eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml</excludeFilterFile>
<failOnError>true</failOnError>
<fork>false</fork>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -724,12 +730,13 @@
<module>./eng/jacoco-test-coverage</module>
</modules>
</profile>

<profile>
<id>template-module</id>
<activation>
<property>
<name>include-template</name>
<name>env.ENABLETEMPLATEDOCS</name>
<value>true</value>
</property>
</activation>
<modules>
Expand Down
2 changes: 1 addition & 1 deletion pom.data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@
<module>./sdk/cosmos</module>
<module>./sdk/eventhubs/pom.data.xml</module>
<module>./sdk/keyvault/pom.data.xml</module>
<module>./sdk/servicebus/azure-servicebus</module>
<module>./sdk/servicebus/microsoft-azure-servicebus</module>
<module>./sdk/storage/microsoft-azure-storage-blob</module>
</modules>
</project>
10 changes: 5 additions & 5 deletions recoveryservices.backup/resource-manager/v2016_08_10/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.microsoft.azure.recoveryservices.backup.v2016_08_10</groupId>
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-recoveryservices</artifactId>
<version>1.0.0-beta</version>
Expand Down Expand Up @@ -71,8 +73,6 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10.implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10.implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10.implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* abc
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10.implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10.implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

package com.microsoft.azure.management.recoveryservices.backup.v2016_08_10.implementation;
Expand Down
Loading