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

Increment azure core version to 1.7.0-beta.2 #13013

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
d0150c8
Skip Changelog processing for data track (#12787)
JimSuplizio Jul 2, 2020
405219c
ClassCastExceptionForTopQueryWithAggregate (#12633)
xinlian12 Jul 2, 2020
c39454c
Adding namespace and missing exists methods (#12780)
conniey Jul 3, 2020
f27af36
Update README.md (#12756)
justbert Jul 3, 2020
7685539
Not let our sample down if property 'azure.activedirectory.tenant-id'…
Jul 3, 2020
31029c5
Servicebus track2 readme changes 10327 (#12735)
hemanttanwar Jul 3, 2020
22ce2f8
Servicebus track2 live test receive renew lock (#12737)
hemanttanwar Jul 3, 2020
78ed9ef
disable flaky assert (#12793)
weidongxu-microsoft Jul 3, 2020
486c321
fix bug of auto configuration of spring boot starters (#12795)
yiliuTo Jul 3, 2020
e2e242c
mgmt regen resources (#12794)
weidongxu-microsoft Jul 3, 2020
6410184
mgmt fix todo (#12798)
weidongxu-microsoft Jul 6, 2020
0ba3641
Mgmt: Appplatform (#12350)
ChenTanyi Jul 6, 2020
02155b4
[Event Hubs] Consolidate all javadoc codesnippet Java files into a si…
srnagar Jul 6, 2020
60cde34
FormRecognizer Receipt design update (#12380)
samvaity Jul 6, 2020
2fc46dc
Sync eng/common directory with azure-sdk-tools repository (#12738)
azure-sdk Jul 6, 2020
714c26b
Removing bridge API for reactor. (#12827)
hemanttanwar Jul 6, 2020
b730543
Fix single upload retry. (#12834)
kasobol-msft Jul 6, 2020
3d49736
Fixes bug in buffered upload where data would be uploaded incorrectly…
gapra-msft Jul 7, 2020
d8afe9c
mgmt, add url to pom description (#12844)
weidongxu-microsoft Jul 7, 2020
467c9e7
update link in AUTH.md (#12845)
xseeseesee Jul 7, 2020
da149bb
mgmt resources fix TODOs (#12814)
xseeseesee Jul 7, 2020
00e5096
Cache refresh for container recreate with same id (#12747)
xinlian12 Jul 7, 2020
1961116
Migrate integration tests for spring-data-cosmosdb (#12609)
yiliuTo Jul 7, 2020
86afb16
Testing for Tables Autorest Code (#12512)
eboyd23 Jul 7, 2020
927fa43
Update Search APIs Based on Review (#12791)
alzimmermsft Jul 7, 2020
5a6bd8c
Enable blocking operation in batch receive (#12822)
srnagar Jul 7, 2020
9e4911b
update versions. (#12872)
g2vinay Jul 7, 2020
e59b888
Prepping 73 release (#12873)
gapra-msft Jul 7, 2020
aa1e607
Added versions and added REST docs (#12874)
gapra-msft Jul 7, 2020
c548afc
change RNTBD defaults as per learning and to be in par with .Net (#12…
moderakh Jul 7, 2020
c4e54cd
Nio read attr (#12621)
rickle-msft Jul 7, 2020
afe7b59
July patch release preparation for AppConfig, TA and FR (#12833)
mssfang Jul 7, 2020
5dfe115
Sync eng/common directory with azure-sdk-tools repository (#12870)
azure-sdk Jul 7, 2020
9009f12
Add plugin to internal avro to add empty javadoc (#12879)
gapra-msft Jul 8, 2020
34e9894
Add missing changelogs (#12876)
chidozieononiwu Jul 8, 2020
6aea90f
SpotBugs step to use the Maven proxy. (#12889)
mitchdenny Jul 8, 2020
f5fcfa2
Increment package version after release of com.azure azure-ai-textana…
azure-sdk Jul 8, 2020
f8c7aae
Increment version for storage releases (#12877)
azure-sdk Jul 8, 2020
3221338
Remove ServiceBusMessageProcessor (#12885)
conniey Jul 8, 2020
dc84cf7
Increment package version after release of com.azure azure-data-appco…
azure-sdk Jul 8, 2020
67ab775
open to azure-core, for f.setAccessible(true); in FlatteningSerialize…
weidongxu-microsoft Jul 8, 2020
d59bd7c
move AzureServiceClient to fluentcore (#12908)
weidongxu-microsoft Jul 8, 2020
ff484b6
Add Javadoc Escapes to README Overview (#12627)
alzimmermsft Jul 8, 2020
04bf47f
Increment version for formrecognizer release (#12916)
samvaity Jul 8, 2020
3df5560
Ignored flaky CF tests (#12915)
gapra-msft Jul 8, 2020
2a3e40b
Renamed azure-spring-data-cosmosdb to azure-spring-data-cosmos (#12881)
kushagraThapar Jul 8, 2020
9a509bd
Sync eng/common directory with azure-sdk-tools repository (#12912)
azure-sdk Jul 8, 2020
c4b3c17
Update versions for EH July release (#12913)
srnagar Jul 8, 2020
2f4f39f
Added script logging enabled API to CosmosStoredProcedureRequestOptio…
kushagraThapar Jul 8, 2020
2c6eb8a
Creating yml file for ctl image build ci (#12926)
simplynaveen20 Jul 8, 2020
7a9d5f5
Revert storabge blob version in version_client.txt (#12928)
srnagar Jul 8, 2020
a1800e5
Increment version for eventhubs releases (#12927)
azure-sdk Jul 8, 2020
1007365
Use proper variable syntax (#12930)
danieljurek Jul 8, 2020
f29f725
Increment package version after release of com.azure azure-core
azure-sdk Jul 8, 2020
e896387
Tweaking the Java Cosmos CTL pipeline yml (#12933)
JimSuplizio Jul 9, 2020
46e87cf
add CONTRIBUTING.MD for azure-spring-boot (#12901)
yiliuTo Jul 9, 2020
08bba18
Increment azure core version to 1.7.0-beta.2 (#12958)
jianghaolu Jul 9, 2020
5399396
Close message processor downstream. (#12921)
conniey Jul 9, 2020
d2719b2
Clean up repository resources (#12892)
chidozieononiwu Jul 9, 2020
23b3517
Sync eng/common directory with azure-sdk-tools repository (#12938)
azure-sdk Jul 9, 2020
9bdecc5
mgmt support api version detection (#12907)
xseeseesee Jul 9, 2020
0526b69
Create Migration Guide from Track 1 to Track 2 (#12909)
nickzhums Jul 9, 2020
9361802
add key vault certificate permission (#12965)
ChenTanyi Jul 9, 2020
7d211b4
PR for EH + serializer integration (#12205)
arerlend Jul 9, 2020
e7be51b
Increment version for core releases (#12969)
azure-sdk Jul 9, 2020
037e12d
Add workaround for Checkstyle error, closes #6216 (#6593)
karianna Jul 9, 2020
be3d197
Revert "PR for EH + serializer integration (#12205)" (#12976)
arerlend Jul 9, 2020
8705591
Fix the issue of ChangeFeedProcessorCodeSnippet (#12894)
Melanie-Ma Jul 9, 2020
feaf5d4
Updated azure spring data cosmos group id and artifact id (#12925)
kushagraThapar Jul 9, 2020
9861529
Added an exception to unsupported provider methods instead of no-op'i…
rickle-msft Jul 9, 2020
4bb00ef
Update ctl-image-build.yml (#12973)
simplynaveen20 Jul 9, 2020
32f2037
Remove search model builder classes (#12796)
srnagar Jul 10, 2020
a08a57b
Add some wagon options. (#12991)
mitchdenny Jul 10, 2020
e0772d4
Added idle tcp connection timeout bug where gateway connection overri…
kushagraThapar Jul 10, 2020
f627f82
Use Varargs in Model APIs (#12878)
alzimmermsft Jul 10, 2020
734b8cd
Spring - Remove Intermediate Poms (#12966)
saragluna Jul 10, 2020
eadf80d
Updates prefetch algorithm and test updates. (#12975)
conniey Jul 10, 2020
078e4e0
Add beta_tag to 1.7.0-beta.1 azure core
jianghaolu Jul 10, 2020
9a89e2a
Merge branch 'master' of github.com:Azure/azure-sdk-for-java into inc…
jianghaolu Jul 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mgmt regen resources (#12794)
  • Loading branch information
weidongxu-microsoft authored Jul 3, 2020
commit e2e242c433c6f933aa917c6545086a751df02b57
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.azure.resourcemanager.keyvault.models.NetworkRuleSet;
import com.azure.resourcemanager.keyvault.models.Secrets;
import com.azure.resourcemanager.keyvault.models.Sku;
import com.azure.resourcemanager.keyvault.models.SkuFamily;
import com.azure.resourcemanager.keyvault.models.SkuName;
import com.azure.resourcemanager.keyvault.models.Vault;
import com.azure.resourcemanager.keyvault.models.VaultCreateOrUpdateParameters;
Expand Down Expand Up @@ -283,7 +284,7 @@ public VaultImpl withSku(SkuName skuName) {
if (inner().properties() == null) {
inner().withProperties(new VaultProperties());
}
inner().properties().withSku(new Sku().withName(skuName));
inner().properties().withSku(new Sku().withName(skuName).withFamily(SkuFamily.A));
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.azure.resourcemanager.keyvault.models.CreateMode;
import com.azure.resourcemanager.keyvault.models.DeletedVault;
import com.azure.resourcemanager.keyvault.models.Sku;
import com.azure.resourcemanager.keyvault.models.SkuFamily;
import com.azure.resourcemanager.keyvault.models.SkuName;
import com.azure.resourcemanager.keyvault.models.Vault;
import com.azure.resourcemanager.keyvault.models.VaultCreateOrUpdateParameters;
Expand Down Expand Up @@ -145,7 +146,7 @@ public Mono<Vault> recoverSoftDeletedVaultAsync(
.withProperties(
new VaultProperties()
.withCreateMode(CreateMode.RECOVER)
.withSku(new Sku().withName(SkuName.STANDARD))
.withSku(new Sku().withName(SkuName.STANDARD).withFamily(SkuFamily.A))
.withTenantId(UUID.fromString(tenantId)));
return inner()
.createOrUpdateAsync(resourceGroupName, vaultName, parameters)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public final class Sku {
* SKU family name
*/
@JsonProperty(value = "family", required = true)
private String family;
private SkuFamily family;

/*
* SKU name to specify whether the key vault is a standard vault or a
Expand All @@ -27,17 +27,12 @@ public final class Sku {
@JsonProperty(value = "name", required = true)
private SkuName name;

/** Creates an instance of Sku class. */
public Sku() {
family = "A";
}

/**
* Get the family property: SKU family name.
*
* @return the family value.
*/
public String family() {
public SkuFamily family() {
return this.family;
}

Expand All @@ -47,7 +42,7 @@ public String family() {
* @param family the family value to set.
* @return the Sku object itself.
*/
public Sku withFamily(String family) {
public Sku withFamily(SkuFamily family) {
this.family = family;
return this;
}
Expand Down Expand Up @@ -78,6 +73,10 @@ public Sku withName(SkuName name) {
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (family() == null) {
throw logger
.logExceptionAsError(new IllegalArgumentException("Missing required property family in model Sku"));
}
if (name() == null) {
throw logger
.logExceptionAsError(new IllegalArgumentException("Missing required property name in model Sku"));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.keyvault.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for SkuFamily. */
public final class SkuFamily extends ExpandableStringEnum<SkuFamily> {
/** Static value A for SkuFamily. */
public static final SkuFamily A = fromString("A");

/**
* Creates or finds a SkuFamily from its string representation.
*
* @param name a name to look for.
* @return the corresponding SkuFamily.
*/
@JsonCreator
public static SkuFamily fromString(String name) {
return fromString(name, SkuFamily.class);
}

/** @return known SkuFamily values. */
public static Collection<SkuFamily> values() {
return values(SkuFamily.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.network.models.UsageName;
import com.azure.resourcemanager.network.models.UsageUnit;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

Expand All @@ -25,7 +26,7 @@ public final class UsageInner {
* An enum describing the unit of measurement.
*/
@JsonProperty(value = "unit", required = true)
private String unit;
private UsageUnit unit;

/*
* The current value of the usage.
Expand All @@ -45,11 +46,6 @@ public final class UsageInner {
@JsonProperty(value = "name", required = true)
private UsageName name;

/** Creates an instance of UsageInner class. */
public UsageInner() {
unit = "Count";
}

/**
* Get the id property: Resource identifier.
*
Expand All @@ -64,7 +60,7 @@ public String id() {
*
* @return the unit value.
*/
public String unit() {
public UsageUnit unit() {
return this.unit;
}

Expand All @@ -74,7 +70,7 @@ public String unit() {
* @param unit the unit value to set.
* @return the UsageInner object itself.
*/
public UsageInner withUnit(String unit) {
public UsageInner withUnit(UsageUnit unit) {
this.unit = unit;
return this;
}
Expand Down Expand Up @@ -145,6 +141,11 @@ public UsageInner withName(UsageName name) {
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (unit() == null) {
throw logger
.logExceptionAsError(
new IllegalArgumentException("Missing required property unit in model UsageInner"));
}
if (name() == null) {
throw logger
.logExceptionAsError(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
package com.azure.resourcemanager.network.implementation;

import com.azure.resourcemanager.network.models.NetworkUsage;
import com.azure.resourcemanager.network.models.NetworkUsageUnit;
import com.azure.resourcemanager.network.models.UsageName;
import com.azure.resourcemanager.network.fluent.inner.UsageInner;
import com.azure.resourcemanager.network.models.UsageUnit;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
import com.azure.resourcemanager.resources.fluentcore.utils.Utils;

Expand All @@ -16,8 +16,8 @@ class NetworkUsageImpl extends WrapperImpl<UsageInner> implements NetworkUsage {
}

@Override
public NetworkUsageUnit unit() {
return NetworkUsageUnit.fromString(inner().unit());
public UsageUnit unit() {
return inner().unit();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,28 @@

package com.azure.resourcemanager.network.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;

/** Defines values for AzureFirewallSkuTier. */
public enum AzureFirewallSkuTier {
/** Enum value Standard. */
STANDARD("Standard");

/** The actual serialized value for a AzureFirewallSkuTier instance. */
private final String value;

AzureFirewallSkuTier(String value) {
this.value = value;
}
public final class AzureFirewallSkuTier extends ExpandableStringEnum<AzureFirewallSkuTier> {
/** Static value Standard for AzureFirewallSkuTier. */
public static final AzureFirewallSkuTier STANDARD = fromString("Standard");

/**
* Parses a serialized value to a AzureFirewallSkuTier instance.
* Creates or finds a AzureFirewallSkuTier from its string representation.
*
* @param value the serialized value to parse.
* @return the parsed AzureFirewallSkuTier object, or null if unable to parse.
* @param name a name to look for.
* @return the corresponding AzureFirewallSkuTier.
*/
@JsonCreator
public static AzureFirewallSkuTier fromString(String value) {
AzureFirewallSkuTier[] items = AzureFirewallSkuTier.values();
for (AzureFirewallSkuTier item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
public static AzureFirewallSkuTier fromString(String name) {
return fromString(name, AzureFirewallSkuTier.class);
}

@JsonValue
@Override
public String toString() {
return this.value;
/** @return known AzureFirewallSkuTier values. */
public static Collection<AzureFirewallSkuTier> values() {
return values(AzureFirewallSkuTier.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,29 @@

package com.azure.resourcemanager.network.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;

/** Defines values for ConnectionMonitorEndpointFilterItemType. */
public enum ConnectionMonitorEndpointFilterItemType {
/** Enum value AgentAddress. */
AGENT_ADDRESS("AgentAddress");

/** The actual serialized value for a ConnectionMonitorEndpointFilterItemType instance. */
private final String value;

ConnectionMonitorEndpointFilterItemType(String value) {
this.value = value;
}
public final class ConnectionMonitorEndpointFilterItemType
extends ExpandableStringEnum<ConnectionMonitorEndpointFilterItemType> {
/** Static value AgentAddress for ConnectionMonitorEndpointFilterItemType. */
public static final ConnectionMonitorEndpointFilterItemType AGENT_ADDRESS = fromString("AgentAddress");

/**
* Parses a serialized value to a ConnectionMonitorEndpointFilterItemType instance.
* Creates or finds a ConnectionMonitorEndpointFilterItemType from its string representation.
*
* @param value the serialized value to parse.
* @return the parsed ConnectionMonitorEndpointFilterItemType object, or null if unable to parse.
* @param name a name to look for.
* @return the corresponding ConnectionMonitorEndpointFilterItemType.
*/
@JsonCreator
public static ConnectionMonitorEndpointFilterItemType fromString(String value) {
ConnectionMonitorEndpointFilterItemType[] items = ConnectionMonitorEndpointFilterItemType.values();
for (ConnectionMonitorEndpointFilterItemType item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
public static ConnectionMonitorEndpointFilterItemType fromString(String name) {
return fromString(name, ConnectionMonitorEndpointFilterItemType.class);
}

@JsonValue
@Override
public String toString() {
return this.value;
/** @return known ConnectionMonitorEndpointFilterItemType values. */
public static Collection<ConnectionMonitorEndpointFilterItemType> values() {
return values(ConnectionMonitorEndpointFilterItemType.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,29 @@

package com.azure.resourcemanager.network.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;

/** Defines values for ConnectionMonitorEndpointFilterType. */
public enum ConnectionMonitorEndpointFilterType {
/** Enum value Include. */
INCLUDE("Include");

/** The actual serialized value for a ConnectionMonitorEndpointFilterType instance. */
private final String value;

ConnectionMonitorEndpointFilterType(String value) {
this.value = value;
}
public final class ConnectionMonitorEndpointFilterType
extends ExpandableStringEnum<ConnectionMonitorEndpointFilterType> {
/** Static value Include for ConnectionMonitorEndpointFilterType. */
public static final ConnectionMonitorEndpointFilterType INCLUDE = fromString("Include");

/**
* Parses a serialized value to a ConnectionMonitorEndpointFilterType instance.
* Creates or finds a ConnectionMonitorEndpointFilterType from its string representation.
*
* @param value the serialized value to parse.
* @return the parsed ConnectionMonitorEndpointFilterType object, or null if unable to parse.
* @param name a name to look for.
* @return the corresponding ConnectionMonitorEndpointFilterType.
*/
@JsonCreator
public static ConnectionMonitorEndpointFilterType fromString(String value) {
ConnectionMonitorEndpointFilterType[] items = ConnectionMonitorEndpointFilterType.values();
for (ConnectionMonitorEndpointFilterType item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
public static ConnectionMonitorEndpointFilterType fromString(String name) {
return fromString(name, ConnectionMonitorEndpointFilterType.class);
}

@JsonValue
@Override
public String toString() {
return this.value;
/** @return known ConnectionMonitorEndpointFilterType values. */
public static Collection<ConnectionMonitorEndpointFilterType> values() {
return values(ConnectionMonitorEndpointFilterType.class);
}
}
Loading