From b912ad47753a314ce9ef6de8d1e8756a81fee599 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Tue, 25 Aug 2020 15:07:43 +0800 Subject: [PATCH 01/13] add attach for deployment --- .../SpringAppDeploymentImpl.java | 9 ++- .../SpringAppDeploymentsImpl.java | 2 +- .../implementation/SpringAppImpl.java | 18 +++++- .../appplatform/models/SpringApp.java | 36 ++++++++--- .../models/SpringAppDeployment.java | 64 +++++++++++-------- .../models/SpringAppDeployments.java | 4 +- 6 files changed, 91 insertions(+), 42 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java index 6a4a6a17b4b06..8ed73a68f8844 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java @@ -30,7 +30,9 @@ public class SpringAppDeploymentImpl extends ExternalChildResourceImpl - implements SpringAppDeployment, SpringAppDeployment.Definition, SpringAppDeployment.Update { + implements SpringAppDeployment, SpringAppDeployment.Definition, SpringAppDeployment.Update, + SpringAppDeployment.DefinitionStages.WithCreate, + SpringAppDeployment.DefinitionStages.WithAttach { SpringAppDeploymentImpl(String name, SpringAppImpl parent, DeploymentResourceInner innerObject) { @@ -389,4 +391,9 @@ public SpringAppDeploymentImpl update() { private AppPlatformManager manager() { return parent().manager(); } + + @Override + public SpringAppImpl attach() { + return parent().addActiveDeployment(this); + } } diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentsImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentsImpl.java index 3815f685c418b..9e598c8f376a5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentsImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentsImpl.java @@ -18,7 +18,7 @@ public class SpringAppDeploymentsImpl extends ExternalChildResourcesNonCachedImpl< SpringAppDeploymentImpl, SpringAppDeployment, DeploymentResourceInner, SpringAppImpl, SpringApp> - implements SpringAppDeployments { + implements SpringAppDeployments { SpringAppDeploymentsImpl(SpringAppImpl parent) { super(parent, parent.taskGroup(), "SpringAppDeployment"); diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java index f7fa76de3498a..0bdc9d2b233e6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java @@ -121,7 +121,8 @@ public Mono getActiveDeploymentAsync() { } @Override - public SpringAppDeployments deployments() { + @SuppressWarnings("unchecked") + public SpringAppDeployments deployments() { return deployments; } @@ -291,10 +292,23 @@ public SpringAppImpl withoutServiceBinding(String name) { return this; } - public void withDefaultActiveDeployment() { + @Override + public SpringAppImpl withDefaultActiveDeployment() { String defaultDeploymentName = "default"; withActiveDeployment(defaultDeploymentName); springAppDeploymentToCreate = deployments().define(defaultDeploymentName) .withExistingSource(UserSourceType.JAR, String.format("<%s>", defaultDeploymentName)); + return this; + } + + @Override + @SuppressWarnings("unchecked") + public SpringAppDeploymentImpl defineActiveDeployment(String name) { + return deployments.define(name); + } + + SpringAppImpl addActiveDeployment(SpringAppDeploymentImpl deployment) { + springAppDeploymentToCreate = deployment; + return this; } } diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java index 3e9eefc637c45..291219da72b86 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.azure.core.implementation.annotation.Beta; import com.azure.resourcemanager.appplatform.fluent.inner.AppResourceInner; +import com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl; import com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource; import com.azure.resourcemanager.resources.fluentcore.model.Appliable; import com.azure.resourcemanager.resources.fluentcore.model.Creatable; @@ -56,7 +57,8 @@ public interface SpringApp Mono getActiveDeploymentAsync(); /** @return the entry point of the spring app deployment */ - SpringAppDeployments deployments(); + > + SpringAppDeployments deployments(); /** @return the entry point of the spring app service binding */ SpringAppServiceBindings serviceBindings(); @@ -72,12 +74,33 @@ public interface SpringApp /** Container interface for all the definitions that need to be implemented. */ interface Definition - extends DefinitionStages.Blank { } + extends DefinitionStages.Blank, + DefinitionStages.WithCreate { } /** Grouping of all the spring app definition stages. */ interface DefinitionStages { /** The first stage of the spring app definition. */ - interface Blank extends WithCreate { } + interface Blank extends WithDeployment { } + + /** + * The stage of a spring app definition allowing to specify an active deployment. + */ + interface WithDeployment { + /** + * Deploys a default package for the spring app with default scale. + * @return the next stage of spring app definition + */ + WithCreate withDefaultActiveDeployment(); + + /** + * Starts the definition of the active deployment for the spring app. + * @param name the name of the deployment + * @return the first stage of spring app deployment definition + */ + > + SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name); + } /** The stage of a spring app definition allowing to specify the endpoint. */ interface WithEndpoint { @@ -128,13 +151,6 @@ interface WithDisk { WithCreate withPersistentDisk(int sizeInGB, String mountPath); } - /** - * The stage of a spring app definition allowing to specify an simple active deployment. - * for more operations, use {@link #deployments()} - */ - interface WithDeployment { - } - /** The stage of a spring app update allowing to specify the service binding. */ interface WithServiceBinding { /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java index a6107d02307fd..20fb9d07ae144 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java @@ -8,6 +8,7 @@ import com.azure.resourcemanager.appplatform.fluent.inner.DeploymentResourceInner; import com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource; import com.azure.resourcemanager.resources.fluentcore.model.Appliable; +import com.azure.resourcemanager.resources.fluentcore.model.Attachable; import com.azure.resourcemanager.resources.fluentcore.model.Creatable; import com.azure.resourcemanager.resources.fluentcore.model.HasInner; import com.azure.resourcemanager.resources.fluentcore.model.Updatable; @@ -75,26 +76,30 @@ public interface SpringAppDeployment /** @return the log file url of the deployment */ Mono getLogFileUrlAsync(); - /** Container interface for all the definitions that need to be implemented. */ - interface Definition - extends DefinitionStages.Blank, - DefinitionStages.WithSource, - DefinitionStages.WithModule, - DefinitionStages.WithCreate { } + /** + * Container interface for all the definitions that need to be implemented. + * @param The return type of final stage, + * usually {@link DefinitionStages.WithCreate} or {@link DefinitionStages.WithAttach} + */ + interface Definition + extends DefinitionStages.Blank, + DefinitionStages.WithSource, + DefinitionStages.WithModule, + DefinitionStages.Final { } /** Grouping of all the deployment definition stages. */ interface DefinitionStages { /** The first stage of the deployment definition. */ - interface Blank extends WithSource { } + interface Blank extends WithSource { } /** The stage of a deployment definition allowing to specify the source code or package. */ - interface WithSource { + interface WithSource { /** * Specifies the jar package for the deployment. * @param jar the file of the jar * @return the next stage of deployment definition */ - WithCreate withJarFile(File jar); + T withJarFile(File jar); // Remove compression first due to tar.gz needs extern dependency // /** @@ -109,7 +114,7 @@ interface WithSource { * @param sourceCodeTarGz a tar.gz file of the source code * @return the next stage of deployment definition */ - WithModule withSourceCodeTarGzFile(File sourceCodeTarGz); + WithModule withSourceCodeTarGzFile(File sourceCodeTarGz); /** * Specifies the a existing source in the cloud storage. @@ -117,61 +122,61 @@ interface WithSource { * @param relativePath the relative path gotten from getResourceUploadUrl * @return the next stage of deployment definition */ - WithCreate withExistingSource(UserSourceType type, String relativePath); + T withExistingSource(UserSourceType type, String relativePath); } /** The stage of a deployment definition allowing to specify the module of the source code. */ - interface WithModule { + interface WithModule { /** * Specifies the module of the source code. * @param moduleName the target module of the multi-module source code * @return the next stage of deployment definition */ - WithCreate withTargetModule(String moduleName); + T withTargetModule(String moduleName); /** * Specifies the only module of the source code. * @return the next stage of deployment definition */ - WithCreate withSingleModule(); + T withSingleModule(); } /** The stage of a deployment definition allowing to specify deployment settings. */ - interface WithSettings { + interface WithSettings { /** * Specifies the instance number of the deployment. * @param count the number of the instance * @return the next stage of deployment definition */ - WithCreate withInstance(int count); + T withInstance(int count); /** * Specifies the cpu number of the deployment. * @param cpuCount the number of the cpu * @return the next stage of deployment definition */ - WithCreate withCpu(int cpuCount); + T withCpu(int cpuCount); /** * Specifies the memory of the deployment. * @param sizeInGB the size of the memory in GB * @return the next stage of deployment definition */ - WithCreate withMemory(int sizeInGB); + T withMemory(int sizeInGB); /** * Specifies the runtime version of the deployment. * @param version the runtime version of Java * @return the next stage of deployment definition */ - WithCreate withRuntime(RuntimeVersion version); + T withRuntime(RuntimeVersion version); /** * Specifies the jvm options of the deployment. * @param jvmOptions the argument of jvm * @return the next stage of deployment definition */ - WithCreate withJvmOptions(String jvmOptions); + T withJvmOptions(String jvmOptions); /** * Specifies a environment variable of the deployment. @@ -179,29 +184,36 @@ interface WithSettings { * @param value the value of the environment * @return the next stage of deployment definition */ - WithCreate withEnvironment(String key, String value); + T withEnvironment(String key, String value); /** * Specifies the version of the deployment. * @param versionName the version name of the deployment * @return the next stage of deployment definition */ - WithCreate withVersionName(String versionName); + T withVersionName(String versionName); /** * Activates of the deployment after definition. * @return the next stage of deployment definition */ - WithCreate withActivation(); + T withActivation(); } /** * The stage of the definition which contains all the minimum required inputs for the resource to be created, * but also allows for any other optional settings to be specified. */ - interface WithCreate - extends Creatable, - WithSettings { } + interface Final + extends WithSettings { } + + /** The final stage of the definition allowing to create a deployment */ + interface WithCreate + extends Creatable, Final { } + + /** The final stage of the definition allowing to attach a deployment to its parent */ + interface WithAttach + extends Attachable, Final { } } /** The template for an update operation, containing all the settings that can be modified. */ diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployments.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployments.java index 94b05124a722e..17918b6497b79 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployments.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployments.java @@ -20,11 +20,11 @@ /** Entry point for Spring App Deployments API. */ @Fluent @Beta -public interface SpringAppDeployments +public interface SpringAppDeployments extends HasManager, HasInner, HasParent, - SupportsCreating, + SupportsCreating>, SupportsGettingById, SupportsGettingByName, SupportsListing, From c038283bc16e314702382ac5ca83ec9e32bd9cc3 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Tue, 25 Aug 2020 15:50:38 +0800 Subject: [PATCH 02/13] update test --- .../appplatform/SpringCloudTest.java | 32 +++++++------------ .../samples/ManageSpringCloud.java | 27 +++++++--------- 2 files changed, 24 insertions(+), 35 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java index 55787e92b4ecb..e1673c64ec823 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java @@ -61,6 +61,7 @@ public void canCRUDSpringAppWithDeployment() throws IOException { String serviceName = generateRandomResourceName("springsvc", 15); String appName = "gateway"; String deploymentName = generateRandomResourceName("deploy", 15); + String deploymentName1 = generateRandomResourceName("deploy", 15); Region region = Region.US_EAST; Assertions.assertTrue(appPlatformManager.springServices().checkNameAvailability(serviceName, region).nameAvailable()); @@ -101,6 +102,13 @@ public void canCRUDSpringAppWithDeployment() throws IOException { } SpringApp app = service.apps().define(appName) + .defineActiveDeployment(deploymentName) + .withJarFile(jarFile) + .withInstance(2) + .withCpu(2) + .withMemory(4) + .withRuntime(RuntimeVersion.JAVA_11) + .attach() .withDefaultPublicEndpoint() .create(); @@ -110,18 +118,6 @@ public void canCRUDSpringAppWithDeployment() throws IOException { Assertions.assertTrue(requestSuccess(app.url())); SpringAppDeployment deployment = app.getActiveDeployment(); - deployment - .update() - .withInstance(2) - .withCpu(2) - .withMemory(4) - .withRuntime(RuntimeVersion.JAVA_11) - .apply(); - - // Deployment cannot be scaled and updated at the same time. - deployment.update() - .withJarFile(jarFile) - .apply(); Assertions.assertNotNull(app.url()); Assertions.assertEquals(1, app.deployments().list().stream().count()); @@ -143,14 +139,14 @@ public void canCRUDSpringAppWithDeployment() throws IOException { connection.disconnect(); } - deployment = app.deployments().define(deploymentName) + deployment = app.deployments().define(deploymentName1) .withSourceCodeTarGzFile(gzFile) .withTargetModule("gateway") .withActivation() .create(); app.refresh(); - Assertions.assertEquals(deploymentName, app.activeDeploymentName()); + Assertions.assertEquals(deploymentName1, app.activeDeploymentName()); Assertions.assertEquals(1, deployment.settings().cpu()); Assertions.assertNotNull(deployment.getLogFileUrl()); @@ -161,11 +157,7 @@ public void canCRUDSpringAppWithDeployment() throws IOException { .apply(); Assertions.assertFalse(app.isPublic()); - app.deployments().list().forEach(deploy -> { - if (!deploy.name().equals(deploymentName)) { - app.deployments().deleteById(deploy.id()); - } - }); + app.deployments().deleteByName(deploymentName); Assertions.assertEquals(1, app.deployments().list().stream().count()); service.apps().deleteById(app.id()); @@ -273,7 +265,7 @@ public void canCreateCustomDomainWithSsl() throws Exception { .withCertificate("test", vault.vaultUri(), certName) .create(); - service.apps().define(appName).withDefaultPublicEndpoint().create(); + service.apps().define(appName).withDefaultActiveDeployment().withDefaultPublicEndpoint().create(); SpringApp app = service.apps().getByName(appName); dnsZone.update() diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java b/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java index 51e3808340fba..372b359a26eb1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java @@ -112,14 +112,13 @@ public static boolean runSample(Azure azure, String clientId) { System.out.printf("Creating spring cloud app gateway in resource group %s ...%n", rgName); SpringApp gateway = service.apps().define("gateway") + .defineActiveDeployment("default") + .withSourceCodeTarGzFile(gzFile) + .withTargetModule("gateway") + .attach() .withDefaultPublicEndpoint() .withHttpsOnly() .create(); - gateway.getActiveDeployment() - .update() - .withSourceCodeTarGzFile(gzFile) - .withTargetModule("gateway") - .apply(); System.out.println("Created spring cloud service gateway"); Utils.print(gateway); @@ -129,12 +128,11 @@ public static boolean runSample(Azure azure, String clientId) { System.out.printf("Creating spring cloud app auth-service in resource group %s ...%n", rgName); SpringApp authService = service.apps().define("auth-service") + .defineActiveDeployment("default") + .withSourceCodeTarGzFile(gzFile) + .withTargetModule("auth-service") + .attach() .create(); - authService.getActiveDeployment() - .update() - .withSourceCodeTarGzFile(gzFile) - .withTargetModule("auth-service") - .apply(); System.out.println("Created spring cloud service auth-service"); Utils.print(authService); @@ -144,12 +142,11 @@ public static boolean runSample(Azure azure, String clientId) { System.out.printf("Creating spring cloud app account-service in resource group %s ...%n", rgName); SpringApp accountService = service.apps().define("account-service") + .defineActiveDeployment("default") + .withSourceCodeTarGzFile(gzFile) + .withTargetModule("account-service") + .attach() .create(); - accountService.getActiveDeployment() - .update() - .withSourceCodeTarGzFile(gzFile) - .withTargetModule("account-service") - .apply(); System.out.println("Created spring cloud service account-service"); Utils.print(accountService); From 120ad0de5e871dab16a1c96c9bb5300f5e64fd77 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Tue, 25 Aug 2020 16:11:42 +0800 Subject: [PATCH 03/13] fix compile warning --- .../appplatform/implementation/SpringAppImpl.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java index 0bdc9d2b233e6..61ff5976b1f52 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java @@ -122,8 +122,8 @@ public Mono getActiveDeploymentAsync() { @Override @SuppressWarnings("unchecked") - public SpringAppDeployments deployments() { - return deployments; + public > SpringAppDeployments deployments() { + return (SpringAppDeployments) deployments; } @Override @@ -303,8 +303,10 @@ public SpringAppImpl withDefaultActiveDeployment() { @Override @SuppressWarnings("unchecked") - public SpringAppDeploymentImpl defineActiveDeployment(String name) { - return deployments.define(name); + public > + SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name) { + return (SpringAppDeployment.Definition) deployments.define(name); } SpringAppImpl addActiveDeployment(SpringAppDeploymentImpl deployment) { From 4fbccefe12d3e814191da988d5a9bb126c220fab Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Tue, 25 Aug 2020 16:45:22 +0800 Subject: [PATCH 04/13] format code --- .../resourcemanager/appplatform/AppPlatformManager.java | 1 - .../appplatform/implementation/SpringAppDeploymentImpl.java | 5 ++--- .../appplatform/implementation/SpringAppDomainsImpl.java | 2 +- .../implementation/SpringServiceCertificateImpl.java | 5 ++--- .../appplatform/implementation/SpringServiceImpl.java | 1 + .../appplatform/implementation/SpringServicesImpl.java | 1 + .../azure/resourcemanager/appplatform/models/SpringApp.java | 3 +-- .../azure/resourcemanager/appplatform/SpringCloudTest.java | 2 +- 8 files changed, 9 insertions(+), 11 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/AppPlatformManager.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/AppPlatformManager.java index 02426a2949cdf..8a2f0b7b1b939 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/AppPlatformManager.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/AppPlatformManager.java @@ -3,7 +3,6 @@ package com.azure.resourcemanager.appplatform; - import com.azure.core.credential.TokenCredential; import com.azure.core.http.HttpPipeline; import com.azure.resourcemanager.appplatform.implementation.SpringServicesImpl; diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java index 8ed73a68f8844..9d498957b27f8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java @@ -34,8 +34,7 @@ public class SpringAppDeploymentImpl SpringAppDeployment.DefinitionStages.WithCreate, SpringAppDeployment.DefinitionStages.WithAttach { - SpringAppDeploymentImpl(String name, SpringAppImpl parent, - DeploymentResourceInner innerObject) { + SpringAppDeploymentImpl(String name, SpringAppImpl parent, DeploymentResourceInner innerObject) { super(name, parent, innerObject); } @@ -192,7 +191,7 @@ private Mono uploadToStorage(File source, ResourceUploadDefinition option) ShareFileAsyncClient shareFileAsyncClient = createShareFileAsyncClient(option); return shareFileAsyncClient.create(source.length()) .flatMap(fileInfo -> shareFileAsyncClient.uploadFromFile(source.getAbsolutePath())) - .then(Mono.empty()); + .then(Mono.empty()); } catch (Exception e) { return Mono.error(e); } diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDomainsImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDomainsImpl.java index 16462e8241175..1becb376b7be7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDomainsImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDomainsImpl.java @@ -19,7 +19,7 @@ public class SpringAppDomainsImpl extends ExternalChildResourcesNonCachedImpl< - SpringAppDomainImpl, SpringAppDomain, CustomDomainResourceInner, SpringAppImpl, SpringApp> + SpringAppDomainImpl, SpringAppDomain, CustomDomainResourceInner, SpringAppImpl, SpringApp> implements SpringAppDomains { SpringAppDomainsImpl(SpringAppImpl parent) { super(parent, parent.taskGroup(), "SpringAppDomain"); diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceCertificateImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceCertificateImpl.java index d517c28cc2c35..9316d87b23a90 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceCertificateImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceCertificateImpl.java @@ -13,10 +13,9 @@ public class SpringServiceCertificateImpl extends ExternalChildResourceImpl< - SpringServiceCertificate, CertificateResourceInner, SpringServiceImpl, SpringService> + SpringServiceCertificate, CertificateResourceInner, SpringServiceImpl, SpringService> implements SpringServiceCertificate { - SpringServiceCertificateImpl(String name, SpringServiceImpl parent, - CertificateResourceInner innerObject) { + SpringServiceCertificateImpl(String name, SpringServiceImpl parent, CertificateResourceInner innerObject) { super(name, parent, innerObject); } diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceImpl.java index 93440d1dd0608..4c1fa7c5a0e0e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServiceImpl.java @@ -34,6 +34,7 @@ public class SpringServiceImpl SpringServiceImpl(String name, ServiceResourceInner innerObject, AppPlatformManager manager) { super(name, innerObject, manager); } + @Override public Sku sku() { return inner().sku(); diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServicesImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServicesImpl.java index b94599001a474..8812da59472ee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServicesImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringServicesImpl.java @@ -22,6 +22,7 @@ public class SpringServicesImpl SpringService, SpringServiceImpl, ServiceResourceInner, ServicesClient, AppPlatformManager> implements SpringServices { private static final String SPRING_TYPE = "Microsoft.AppPlatform/Spring"; + public SpringServicesImpl(AppPlatformManager manager) { super(manager.inner().getServices(), manager); } diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java index 291219da72b86..4f9b80bac353a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java @@ -57,8 +57,7 @@ public interface SpringApp Mono getActiveDeploymentAsync(); /** @return the entry point of the spring app deployment */ - > - SpringAppDeployments deployments(); + > SpringAppDeployments deployments(); /** @return the entry point of the spring app service binding */ SpringAppServiceBindings serviceBindings(); diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java index e1673c64ec823..c6e7f6d361e80 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java @@ -304,7 +304,7 @@ private boolean checkRedirect(String url) throws IOException { } } catch (Exception e) { System.err.printf("Do request to %s with error %s%n", url, e.getMessage()); - } finally { + } finally { connection.disconnect(); } SdkContext.sleep(5000); From f297b62f374dd8cc0f7becb25aaec77daa682a8e Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Tue, 25 Aug 2020 17:39:01 +0800 Subject: [PATCH 05/13] fix test --- .../appplatform/implementation/SpringAppImpl.java | 3 ++- .../appplatform/samples/ManageSpringCloud.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java index 61ff5976b1f52..3ae8d7f03908c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java @@ -303,13 +303,14 @@ public SpringAppImpl withDefaultActiveDeployment() { @Override @SuppressWarnings("unchecked") - public > SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name) { return (SpringAppDeployment.Definition) deployments.define(name); } SpringAppImpl addActiveDeployment(SpringAppDeploymentImpl deployment) { + withActiveDeployment(deployment.name()); springAppDeploymentToCreate = deployment; return this; } diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java b/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java index 372b359a26eb1..6ffaec5f4f500 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/main/java/com/azure/resourcemanager/appplatform/samples/ManageSpringCloud.java @@ -247,12 +247,12 @@ public static boolean runSample(Azure azure, String clientId) { .withCertificate(certName, vault.vaultUri(), certName) .apply(); - System.out.printf("Updating Spring Cloud App with domain ssl.%s ...", domainName); + System.out.printf("Updating Spring Cloud App with domain ssl.%s ...%n", domainName); gateway.update() .withCustomDomain(String.format("ssl.%s", domainName), thumbprint) .apply(); - System.out.printf("Successfully expose domain ssl.%s", domainName); + System.out.printf("Successfully expose domain ssl.%s%n", domainName); return true; } catch (Exception e) { From 0efdcc2ea0221b172d740bb2bc2dad8444366aab Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Wed, 26 Aug 2020 10:11:30 +0800 Subject: [PATCH 06/13] fix checkstyle --- .../appplatform/implementation/SpringAppImpl.java | 2 +- .../resourcemanager/appplatform/models/SpringApp.java | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java index 3ae8d7f03908c..9ad667085c04c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java @@ -305,7 +305,7 @@ public SpringAppImpl withDefaultActiveDeployment() { @SuppressWarnings("unchecked") public > - SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name) { + SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name) { return (SpringAppDeployment.Definition) deployments.define(name); } diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java index 4f9b80bac353a..e927073eb72a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java @@ -6,7 +6,6 @@ import com.azure.core.annotation.Fluent; import com.azure.core.implementation.annotation.Beta; import com.azure.resourcemanager.appplatform.fluent.inner.AppResourceInner; -import com.azure.resourcemanager.appplatform.implementation.SpringAppDeploymentImpl; import com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource; import com.azure.resourcemanager.resources.fluentcore.model.Appliable; import com.azure.resourcemanager.resources.fluentcore.model.Creatable; @@ -56,7 +55,10 @@ public interface SpringApp /** @return the active deployment */ Mono getActiveDeploymentAsync(); - /** @return the entry point of the spring app deployment */ + /** + * @param derived type of {@link SpringAppDeployment.DefinitionStages.WithCreate} + * @return the entry point of the spring app deployment + */ > SpringAppDeployments deployments(); /** @return the entry point of the spring app service binding */ @@ -94,11 +96,12 @@ interface WithDeployment { /** * Starts the definition of the active deployment for the spring app. * @param name the name of the deployment + * @param derived type of {@link SpringAppDeployment.DefinitionStages.WithAttach} * @return the first stage of spring app deployment definition */ > - SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name); + SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name); } /** The stage of a spring app definition allowing to specify the endpoint. */ From fcb9aeaa4db4b8e1186f954d1628285cd53dcd34 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Wed, 26 Aug 2020 10:11:54 +0800 Subject: [PATCH 07/13] grouping all definition --- .../appplatform/implementation/SpringAppDeploymentImpl.java | 6 +++--- .../appplatform/implementation/SpringAppImpl.java | 2 +- .../appplatform/models/SpringAppDeployment.java | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java index 9d498957b27f8..48a8d0137f25b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppDeploymentImpl.java @@ -30,9 +30,9 @@ public class SpringAppDeploymentImpl extends ExternalChildResourceImpl - implements SpringAppDeployment, SpringAppDeployment.Definition, SpringAppDeployment.Update, - SpringAppDeployment.DefinitionStages.WithCreate, - SpringAppDeployment.DefinitionStages.WithAttach { + implements SpringAppDeployment, + SpringAppDeployment.Definition, + SpringAppDeployment.Update { SpringAppDeploymentImpl(String name, SpringAppImpl parent, DeploymentResourceInner innerObject) { super(name, parent, innerObject); diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java index 9ad667085c04c..6d7a304ff98a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java @@ -306,7 +306,7 @@ public SpringAppImpl withDefaultActiveDeployment() { public > SpringAppDeployment.DefinitionStages.Blank defineActiveDeployment(String name) { - return (SpringAppDeployment.Definition) deployments.define(name); + return (SpringAppDeployment.DefinitionStages.Blank) deployments.define(name); } SpringAppImpl addActiveDeployment(SpringAppDeploymentImpl deployment) { diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java index 20fb9d07ae144..f9c3b572e63b4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringAppDeployment.java @@ -78,14 +78,16 @@ public interface SpringAppDeployment /** * Container interface for all the definitions that need to be implemented. + * @param the stage of the parent definition to return to after attaching this definition * @param The return type of final stage, * usually {@link DefinitionStages.WithCreate} or {@link DefinitionStages.WithAttach} */ - interface Definition + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithSource, DefinitionStages.WithModule, - DefinitionStages.Final { } + DefinitionStages.WithCreate, + DefinitionStages.WithAttach { } /** Grouping of all the deployment definition stages. */ interface DefinitionStages { From 0f62a6664f51b28b6965827db8edc1d524d2f013 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Wed, 26 Aug 2020 10:13:13 +0800 Subject: [PATCH 08/13] rename spring cloud test --- .../{SpringCloudTest.java => SpringCloudLiveOnlyTest.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/{SpringCloudTest.java => SpringCloudLiveOnlyTest.java} (99%) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java similarity index 99% rename from sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java rename to sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java index c6e7f6d361e80..c62569d60623d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java @@ -45,14 +45,14 @@ import java.util.Base64; import java.util.Collections; -public class SpringCloudTest extends AppPlatformTest { +public class SpringCloudLiveOnlyTest extends AppPlatformTest { private static final String PIGGYMETRICS_CONFIG_URL = "https://github.com/Azure-Samples/piggymetrics-config"; private static final String GATEWAY_JAR_URL = "https://github.com/weidongxu-microsoft/azure-sdk-for-java-management-tests/raw/master/spring-cloud/gateway.jar"; private static final String PIGGYMETRICS_TAR_GZ_URL = "https://github.com/weidongxu-microsoft/azure-sdk-for-java-management-tests/raw/master/spring-cloud/piggymetrics.tar.gz"; private static final String SPRING_CLOUD_SERVICE_PRINCIPAL = "03b39d0f-4213-4864-a245-b1476ec03169"; - SpringCloudTest() { + SpringCloudLiveOnlyTest() { super(RunCondition.LIVE_ONLY); // need storage data-plane and url check } From aad924e420288a4a81e9bade26ca205c40bb4aea Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Wed, 26 Aug 2020 10:31:20 +0800 Subject: [PATCH 09/13] separate some playback test --- .../appplatform/AppPlatformTest.java | 46 ++++++++ .../appplatform/SpringCloudLiveOnlyTest.java | 101 ++-------------- .../appplatform/SpringCloudTest.java | 109 ++++++++++++++++++ 3 files changed, 164 insertions(+), 92 deletions(-) create mode 100644 sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/AppPlatformTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/AppPlatformTest.java index e7261b470278d..d4fb6dcf3191b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/AppPlatformTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/AppPlatformTest.java @@ -9,8 +9,11 @@ import com.azure.resourcemanager.keyvault.KeyVaultManager; import com.azure.resourcemanager.resources.core.TestBase; import com.azure.resourcemanager.resources.fluentcore.profile.AzureProfile; +import com.azure.resourcemanager.resources.fluentcore.utils.SdkContext; import java.io.IOException; +import java.net.HttpURLConnection; +import java.net.URL; public class AppPlatformTest extends TestBase { protected AppPlatformManager appPlatformManager; @@ -41,4 +44,47 @@ protected void cleanUpResources() { appPlatformManager.resourceManager().resourceGroups().beginDeleteByName(rgName); } catch (Exception e) { } } + + protected boolean checkRedirect(String url) throws IOException { + for (int i = 0; i < 60; ++i) { + HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); + connection.setInstanceFollowRedirects(false); + try { + connection.connect(); + if (200 <= connection.getResponseCode() && connection.getResponseCode() < 400) { + connection.getInputStream().close(); + if (connection.getResponseCode() / 100 == 3) { + return true; + } + System.out.printf("Do request to %s with response code %d%n", url, connection.getResponseCode()); + } + } catch (Exception e) { + System.err.printf("Do request to %s with error %s%n", url, e.getMessage()); + } finally { + connection.disconnect(); + } + SdkContext.sleep(5000); + } + return false; + } + + protected boolean requestSuccess(String url) throws IOException { + for (int i = 0; i < 60; ++i) { + HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); + try { + connection.connect(); + if (connection.getResponseCode() == 200) { + connection.getInputStream().close(); + return true; + } + System.out.printf("Do request to %s with response code %d%n", url, connection.getResponseCode()); + } catch (Exception e) { + System.err.printf("Do request to %s with error %s%n", url, e.getMessage()); + } finally { + connection.disconnect(); + } + SdkContext.sleep(5000); + } + return false; + } } diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java index c62569d60623d..4e50c7824e7ce 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java @@ -57,39 +57,18 @@ public class SpringCloudLiveOnlyTest extends AppPlatformTest { } @Test - public void canCRUDSpringAppWithDeployment() throws IOException { + public void canCRUDDeployment() throws Exception { String serviceName = generateRandomResourceName("springsvc", 15); String appName = "gateway"; String deploymentName = generateRandomResourceName("deploy", 15); String deploymentName1 = generateRandomResourceName("deploy", 15); Region region = Region.US_EAST; - Assertions.assertTrue(appPlatformManager.springServices().checkNameAvailability(serviceName, region).nameAvailable()); - SpringService service = appPlatformManager.springServices().define(serviceName) - .withRegion(Region.US_EAST) + .withRegion(region) .withNewResourceGroup(rgName) - .withSku("B0") - .withGitUri(PIGGYMETRICS_CONFIG_URL) .create(); - Assertions.assertEquals("B0", service.sku().name()); - Assertions.assertEquals(PIGGYMETRICS_CONFIG_URL, service.getServerProperties().configServer().gitProperty().uri()); - - service.update() - .withSku("S0", 2) - .withoutGitConfig() - .apply(); - - Assertions.assertEquals("S0", service.sku().name()); - - ConfigServerProperties serverProperties = service.getServerProperties(); - Assertions.assertTrue(serverProperties == null - || serverProperties.configServer() == null - || serverProperties.configServer().gitProperty() == null - || serverProperties.configServer().gitProperty().uri() == null - || serverProperties.configServer().gitProperty().uri().isEmpty()); - File jarFile = new File("gateway.jar"); if (!jarFile.exists()) { HttpURLConnection connection = (HttpURLConnection) new URL(GATEWAY_JAR_URL).openConnection(); @@ -103,26 +82,23 @@ public void canCRUDSpringAppWithDeployment() throws IOException { SpringApp app = service.apps().define(appName) .defineActiveDeployment(deploymentName) - .withJarFile(jarFile) - .withInstance(2) - .withCpu(2) - .withMemory(4) - .withRuntime(RuntimeVersion.JAVA_11) - .attach() + .withJarFile(jarFile) + .withInstance(2) + .withCpu(2) + .withMemory(4) + .withRuntime(RuntimeVersion.JAVA_11) + .attach() .withDefaultPublicEndpoint() .create(); Assertions.assertNotNull(app.url()); Assertions.assertNotNull(app.activeDeploymentName()); + Assertions.assertEquals(1, app.deployments().list().stream().count()); Assertions.assertTrue(requestSuccess(app.url())); SpringAppDeployment deployment = app.getActiveDeployment(); - Assertions.assertNotNull(app.url()); - Assertions.assertEquals(1, app.deployments().list().stream().count()); - Assertions.assertTrue(requestSuccess(app.url())); - Assertions.assertEquals(2, deployment.settings().cpu()); Assertions.assertEquals(4, deployment.settings().memoryInGB()); Assertions.assertEquals(RuntimeVersion.JAVA_11, deployment.settings().runtimeVersion()); @@ -159,20 +135,6 @@ public void canCRUDSpringAppWithDeployment() throws IOException { app.deployments().deleteByName(deploymentName); Assertions.assertEquals(1, app.deployments().list().stream().count()); - - service.apps().deleteById(app.id()); - Assertions.assertEquals(404, - service.apps().getByIdAsync(app.id()).map(o -> 200) - .onErrorResume(e -> - Mono.just(e instanceof ManagementException ? ((ManagementException) e).getResponse().getStatusCode() : 400)) - .block()); - - appPlatformManager.springServices().deleteById(service.id()); - Assertions.assertEquals(404, - appPlatformManager.springServices().getByIdAsync(service.id()).map(o -> 200) - .onErrorResume(e -> - Mono.just(e instanceof ManagementException ? ((ManagementException) e).getResponse().getStatusCode() : 400)) - .block()); } @Test @@ -257,8 +219,6 @@ public void canCreateCustomDomainWithSsl() throws Exception { String alias = Collections.list(store.aliases()).get(0); String thumbprint = DatatypeConverter.printHexBinary(MessageDigest.getInstance("SHA-1").digest(store.getCertificate(alias).getEncoded())); - Assertions.assertTrue(appPlatformManager.springServices().checkNameAvailability(serviceName, region).nameAvailable()); - SpringService service = appPlatformManager.springServices().define(serviceName) .withRegion(region) .withExistingResourceGroup(rgName) @@ -289,49 +249,6 @@ public void canCreateCustomDomainWithSsl() throws Exception { Assertions.assertTrue(checkRedirect(String.format("http://ssl.%s", domainName))); } - private boolean checkRedirect(String url) throws IOException { - for (int i = 0; i < 60; ++i) { - HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); - connection.setInstanceFollowRedirects(false); - try { - connection.connect(); - if (200 <= connection.getResponseCode() && connection.getResponseCode() < 400) { - connection.getInputStream().close(); - if (connection.getResponseCode() / 100 == 3) { - return true; - } - System.out.printf("Do request to %s with response code %d%n", url, connection.getResponseCode()); - } - } catch (Exception e) { - System.err.printf("Do request to %s with error %s%n", url, e.getMessage()); - } finally { - connection.disconnect(); - } - SdkContext.sleep(5000); - } - return false; - } - - private boolean requestSuccess(String url) throws IOException { - for (int i = 0; i < 60; ++i) { - HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); - try { - connection.connect(); - if (connection.getResponseCode() == 200) { - connection.getInputStream().close(); - return true; - } - System.out.printf("Do request to %s with response code %d%n", url, connection.getResponseCode()); - } catch (Exception e) { - System.err.printf("Do request to %s with error %s%n", url, e.getMessage()); - } finally { - connection.disconnect(); - } - SdkContext.sleep(5000); - } - return false; - } - private void extraTarGzSource(File folder, URL url) throws IOException { HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.connect(); diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java new file mode 100644 index 0000000000000..8b8dcc925cd11 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.resourcemanager.appplatform; + +import com.azure.core.management.exception.ManagementException; +import com.azure.resourcemanager.appplatform.models.ConfigServerProperties; +import com.azure.resourcemanager.appplatform.models.SpringApp; +import com.azure.resourcemanager.appplatform.models.SpringService; +import com.azure.resourcemanager.resources.fluentcore.arm.Region; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; + +public class SpringCloudTest extends AppPlatformTest { + private static final String PIGGYMETRICS_CONFIG_URL = "https://github.com/Azure-Samples/piggymetrics-config"; + + @Test + public void canCRUDServie() { + String serviceName = generateRandomResourceName("springsvc", 15); + Region region = Region.US_EAST; + + Assertions.assertTrue(appPlatformManager.springServices().checkNameAvailability(serviceName, region).nameAvailable()); + + SpringService service = appPlatformManager.springServices().define(serviceName) + .withRegion(region) + .withNewResourceGroup(rgName) + .withSku("B0") + .withGitUri(PIGGYMETRICS_CONFIG_URL) + .create(); + + Assertions.assertEquals("B0", service.sku().name()); + Assertions.assertEquals(PIGGYMETRICS_CONFIG_URL, service.getServerProperties().configServer().gitProperty().uri()); + + service.update() + .withSku("S0", 2) + .withoutGitConfig() + .apply(); + + Assertions.assertEquals("S0", service.sku().name()); + + ConfigServerProperties serverProperties = service.getServerProperties(); + Assertions.assertTrue(serverProperties == null + || serverProperties.configServer() == null + || serverProperties.configServer().gitProperty() == null + || serverProperties.configServer().gitProperty().uri() == null + || serverProperties.configServer().gitProperty().uri().isEmpty()); + + Assertions.assertEquals(1, appPlatformManager.springServices().list().stream().filter(s -> s.name().equals(serviceName)).count()); + + appPlatformManager.springServices().deleteById(service.id()); + Assertions.assertEquals(404, + appPlatformManager.springServices().getByIdAsync(service.id()).map(o -> 200) + .onErrorResume(e -> + Mono.just(e instanceof ManagementException ? ((ManagementException) e).getResponse().getStatusCode() : 400)) + .block()); + } + + @Test + public void canCRUDApp() throws Exception { + String serviceName = generateRandomResourceName("springsvc", 15); + String appName = "gateway"; + Region region = Region.US_EAST; + + SpringService service = appPlatformManager.springServices().define(serviceName) + .withRegion(region) + .withNewResourceGroup(rgName) + .create(); + + SpringApp app = service.apps().define(appName) + .withDefaultActiveDeployment() + .withDefaultPublicEndpoint() + .withHttpsOnly() + .withPersistentDisk(10, "/per") + .withTemporaryDisk(4, "/tmp") + .create(); + + Assertions.assertNotNull(app.url()); + Assertions.assertNotNull(app.activeDeploymentName()); + Assertions.assertTrue(app.isPublic()); + Assertions.assertTrue(app.isHttpsOnly()); + Assertions.assertEquals("/per", app.persistentDisk().mountPath()); + Assertions.assertEquals(10, app.persistentDisk().sizeInGB()); + Assertions.assertEquals("/tmp", app.temporaryDisk().mountPath()); + Assertions.assertEquals(4, app.temporaryDisk().sizeInGB()); + + if (isRecordMode()) { + Assertions.assertTrue(requestSuccess(app.url())); + } + + app.update() + .withoutDefaultPublicEndpoint() + .withoutHttpsOnly() + .withoutPersistentDisk() + .apply(); + + Assertions.assertFalse(app.isPublic()); + Assertions.assertFalse(app.isHttpsOnly()); + + Assertions.assertEquals(1, service.apps().list().stream().filter(s -> s.name().equals(appName)).count()); + + service.apps().deleteById(app.id()); + Assertions.assertEquals(404, + service.apps().getByIdAsync(app.id()).map(o -> 200) + .onErrorResume( + e -> Mono.just((e instanceof ManagementException) ? ((ManagementException) e).getResponse().getStatusCode() : 400) + ).block()); + } +} From 4fcf6158367187e3960f8600328338249837b946 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Wed, 26 Aug 2020 10:45:59 +0800 Subject: [PATCH 10/13] cannot remove disk from app --- .../appplatform/implementation/SpringAppImpl.java | 14 -------------- .../appplatform/models/SpringApp.java | 12 ------------ .../appplatform/SpringCloudTest.java | 1 - 3 files changed, 27 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java index 6d7a304ff98a4..0fafab58ba016 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/implementation/SpringAppImpl.java @@ -206,13 +206,6 @@ public SpringAppImpl withTemporaryDisk(int sizeInGB, String mountPath) { return this; } - @Override - public SpringAppImpl withoutTemporaryDisk() { - ensureProperty(); - inner().properties().withTemporaryDisk(null); - return this; - } - @Override public SpringAppImpl withPersistentDisk(int sizeInGB, String mountPath) { ensureProperty(); @@ -220,13 +213,6 @@ public SpringAppImpl withPersistentDisk(int sizeInGB, String mountPath) { return this; } - @Override - public SpringAppImpl withoutPersistentDisk() { - ensureProperty(); - inner().properties().withPersistentDisk(null); - return this; - } - @Override public SpringAppImpl withActiveDeployment(String name) { ensureProperty(); diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java index e927073eb72a4..db86874da7eed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/main/java/com/azure/resourcemanager/appplatform/models/SpringApp.java @@ -252,12 +252,6 @@ interface WithDisk { */ Update withTemporaryDisk(int sizeInGB, String mountPath); - /** - * Removes the temporary disk for the spring app. - * @return the next stage of spring app update - */ - Update withoutTemporaryDisk(); - /** * Specifies the persistent disk for the spring app. * @param sizeInGB the size of the disk @@ -265,12 +259,6 @@ interface WithDisk { * @return the next stage of spring app update */ Update withPersistentDisk(int sizeInGB, String mountPath); - - /** - * Removes the persistent disk for the spring app. - * @return the next stage of spring app update - */ - Update withoutPersistentDisk(); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java index 8b8dcc925cd11..e4b1e98e75b26 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudTest.java @@ -91,7 +91,6 @@ public void canCRUDApp() throws Exception { app.update() .withoutDefaultPublicEndpoint() .withoutHttpsOnly() - .withoutPersistentDisk() .apply(); Assertions.assertFalse(app.isPublic()); From 19ae77006e5a51db4f4ddf38acef82be5fe34438 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Wed, 26 Aug 2020 10:57:37 +0800 Subject: [PATCH 11/13] update session-records --- .../resources/session-records/canCRUDApp.json | 763 ++++++++ .../session-records/canCRUDServie.json | 1684 +++++++++++++++++ 2 files changed, 2447 insertions(+) create mode 100644 sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDApp.json create mode 100644 sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDServie.json diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDApp.json b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDApp.json new file mode 100644 index 0000000000000..d66cc79803aec --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDApp.json @@ -0,0 +1,763 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgf8d873765ba72?api-version=2020-06-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:46:27 GMT", + "content-length" : "360", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "e851b70d-0819-4b21-954f-5c333047dc35", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024627Z:e851b70d-0819-4b21-954f-5c333047dc35", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "e851b70d-0819-4b21-954f-5c333047dc35", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72\",\"name\":\"rgf8d873765ba72\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"tags\":{\"date\":\"2020-08-26T02:46:23.386325600Z\",\"product\":\"javasdk\",\"cause\":\"automation\",\"StorageType\":\"Standard_LRS\",\"type\":\"test\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:46:45 GMT", + "server" : "nginx/1.17.7", + "content-length" : "380", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "797a2c05-15ea-4dae-8e14-a6a254ddc834", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "1199", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024645Z:797a2c05-15ea-4dae-8e14-a6a254ddc834", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationResults/fee92c57-3b04-4523-9f48-d0aa831c2324/Spring/springsvc60651?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "797a2c05-15ea-4dae-8e14-a6a254ddc834", + "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"version\":2,\"serviceId\":\"f3b5b42c6b3c431d8e11539f0edb921f\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651\",\"name\":\"springsvc60651\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324?api-version=2020-07-01", + "x-ms-client-request-id" : "55758268-f95d-433b-b452-6d1ebbbbd054" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:47:15 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "3b06253a-65fa-4485-a956-050326308302", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024716Z:3b06253a-65fa-4485-a956-050326308302", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3b06253a-65fa-4485-a956-050326308302", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324\",\"name\":\"fee92c57-3b04-4523-9f48-d0aa831c2324\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:46:37.9723363Z\"}", + "x-ms-client-request-id" : "cd150846-a0df-4307-a1b5-63bcc1b31bd5" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:47:46 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "ef4e7854-1665-4eff-8023-82b40e4a765b", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024746Z:ef4e7854-1665-4eff-8023-82b40e4a765b", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ef4e7854-1665-4eff-8023-82b40e4a765b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324\",\"name\":\"fee92c57-3b04-4523-9f48-d0aa831c2324\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:46:37.9723363Z\"}", + "x-ms-client-request-id" : "7acd0913-f8ee-4b26-b980-72c94e914f40" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:48:17 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "5ffb1fb9-a97d-41ac-a28f-ebc82257c33c", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024817Z:5ffb1fb9-a97d-41ac-a28f-ebc82257c33c", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5ffb1fb9-a97d-41ac-a28f-ebc82257c33c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324\",\"name\":\"fee92c57-3b04-4523-9f48-d0aa831c2324\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:46:37.9723363Z\"}", + "x-ms-client-request-id" : "ecbb1c70-43ba-4f0e-a545-80b028284e7a" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:48:47 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "3b746166-3ac9-49f1-86ef-9ade176c42b8", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024847Z:3b746166-3ac9-49f1-86ef-9ade176c42b8", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3b746166-3ac9-49f1-86ef-9ade176c42b8", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324\",\"name\":\"fee92c57-3b04-4523-9f48-d0aa831c2324\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:46:37.9723363Z\"}", + "x-ms-client-request-id" : "ef49c161-fbcf-46ee-b780-c3f99b112e88" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:17 GMT", + "server" : "nginx/1.17.7", + "content-length" : "370", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "37a480e3-1384-4e32-a4e2-e7457a3e2baa", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024918Z:37a480e3-1384-4e32-a4e2-e7457a3e2baa", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "37a480e3-1384-4e32-a4e2-e7457a3e2baa", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc60651/operationId/fee92c57-3b04-4523-9f48-d0aa831c2324\",\"name\":\"fee92c57-3b04-4523-9f48-d0aa831c2324\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:46:37.9723363Z\",\"endTime\":\"2020-08-26T02:49:15.420329Z\"}", + "x-ms-client-request-id" : "bd32359e-894a-418c-8541-d0a49dde7cc8" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:17 GMT", + "server" : "nginx/1.17.7", + "content-length" : "381", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "6dc9b2a6-bfde-49f7-af6f-f25a7c94efd9", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11999", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024918Z:6dc9b2a6-bfde-49f7-af6f-f25a7c94efd9", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6dc9b2a6-bfde-49f7-af6f-f25a7c94efd9", + "Body" : "{\"properties\":{\"provisioningState\":\"Succeeded\",\"version\":2,\"serviceId\":\"f3b5b42c6b3c431d8e11539f0edb921f\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651\",\"name\":\"springsvc60651\"}", + "x-ms-client-request-id" : "e508cf32-49ac-408f-84ee-74a5eb52ed8b" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:18 GMT", + "server" : "nginx/1.17.7", + "content-length" : "333", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "edab1b09-9da9-4eac-b791-6716fc1c8c33", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "1199", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024919Z:edab1b09-9da9-4eac-b791-6716fc1c8c33", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationResults/a1c8a64a-33dd-41bd-972e-5ad7111da364/Spring/gateway?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "edab1b09-9da9-4eac-b791-6716fc1c8c33", + "Body" : "{\"properties\":{\"public\":false,\"provisioningState\":\"Creating\",\"httpsOnly\":false},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"name\":\"gateway\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/a1c8a64a-33dd-41bd-972e-5ad7111da364?api-version=2020-07-01", + "x-ms-client-request-id" : "46b77c44-69b2-4379-89a9-79729b6d6bb0" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/a1c8a64a-33dd-41bd-972e-5ad7111da364?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:49 GMT", + "server" : "nginx/1.17.7", + "content-length" : "364", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "bd7770b7-ffde-4f87-9691-31c2c13c342e", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024949Z:bd7770b7-ffde-4f87-9691-31c2c13c342e", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bd7770b7-ffde-4f87-9691-31c2c13c342e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/a1c8a64a-33dd-41bd-972e-5ad7111da364\",\"name\":\"a1c8a64a-33dd-41bd-972e-5ad7111da364\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:49:18.9018644Z\",\"endTime\":\"2020-08-26T02:49:25.1038418Z\"}", + "x-ms-client-request-id" : "66d583f5-e625-4f27-a9de-b753aed431d0" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:50 GMT", + "server" : "nginx/1.17.7", + "content-length" : "529", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "92bf515d-7acf-46d0-ad20-a9ff8398fc2e", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11999", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024950Z:92bf515d-7acf-46d0-ad20-a9ff8398fc2e", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "92bf515d-7acf-46d0-ad20-a9ff8398fc2e", + "Body" : "{\"properties\":{\"public\":false,\"provisioningState\":\"Succeeded\",\"fqdn\":\"springsvc60651.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-26T02:49:25.065Z\",\"temporaryDisk\":{\"sizeInGB\":5,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":0,\"mountPath\":\"/persistent\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"name\":\"gateway\"}", + "x-ms-client-request-id" : "950f660f-f6a3-4548-9151-7494a4f21941" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway/deployments/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:55 GMT", + "server" : "nginx/1.17.7", + "content-length" : "569", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "686e6e6a-c7e3-4f3c-98d2-ef01b7711da5", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "1199", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024955Z:686e6e6a-c7e3-4f3c-98d2-ef01b7711da5", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationResults/c7c5e221-9412-4f58-a573-c10966262dd7/Spring/default?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "686e6e6a-c7e3-4f3c-98d2-ef01b7711da5", + "Body" : "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":1,\"environmentVariables\":null,\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Creating\",\"status\":\"Running\",\"active\":false,\"instances\":null},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway/deployments/default\",\"name\":\"default\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/c7c5e221-9412-4f58-a573-c10966262dd7?api-version=2020-07-01", + "x-ms-client-request-id" : "09b245bd-05af-4443-83ca-d5e46672b252" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/c7c5e221-9412-4f58-a573-c10966262dd7?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:50:25 GMT", + "server" : "nginx/1.17.7", + "content-length" : "321", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "c4fe4ecb-ece7-4aa5-b04a-4da84f86351d", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025025Z:c4fe4ecb-ece7-4aa5-b04a-4da84f86351d", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c4fe4ecb-ece7-4aa5-b04a-4da84f86351d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/c7c5e221-9412-4f58-a573-c10966262dd7\",\"name\":\"c7c5e221-9412-4f58-a573-c10966262dd7\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:49:55.3990037Z\"}", + "x-ms-client-request-id" : "448096f7-a48a-4a6b-9822-5f2aae8fd5ac" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/c7c5e221-9412-4f58-a573-c10966262dd7?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:50:55 GMT", + "server" : "nginx/1.17.7", + "content-length" : "364", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "ba47350f-ea25-4bda-bc2e-627810908c16", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025056Z:ba47350f-ea25-4bda-bc2e-627810908c16", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ba47350f-ea25-4bda-bc2e-627810908c16", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/c7c5e221-9412-4f58-a573-c10966262dd7\",\"name\":\"c7c5e221-9412-4f58-a573-c10966262dd7\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:49:55.3990037Z\",\"endTime\":\"2020-08-26T02:50:44.5673336Z\"}", + "x-ms-client-request-id" : "3a564216-252e-4be3-a4ca-c8bd8176d3a6" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway/deployments/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:50:57 GMT", + "server" : "nginx/1.17.7", + "content-length" : "691", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "6d850e01-6add-44b8-b2d2-7124e00378bc", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11999", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025058Z:6d850e01-6add-44b8-b2d2-7124e00378bc", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6d850e01-6add-44b8-b2d2-7124e00378bc", + "Body" : "{\"properties\":{\"source\":{\"type\":\"Jar\",\"relativePath\":\"\"},\"appName\":\"gateway\",\"deploymentSettings\":{\"cpu\":1,\"memoryInGB\":1,\"environmentVariables\":null,\"runtimeVersion\":\"Java_8\"},\"provisioningState\":\"Succeeded\",\"status\":\"Running\",\"active\":false,\"instances\":[{\"name\":\"gateway-default-7-84dcb4d66-2pz2k\",\"status\":\"Running\",\"discoveryStatus\":\"DOWN\",\"startTime\":\"2020-08-26T02:49:52Z\"}]},\"type\":\"Microsoft.AppPlatform/Spring/apps/deployments\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\",\"capacity\":1},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway/deployments/default\",\"name\":\"default\"}", + "x-ms-client-request-id" : "71733ece-bbc5-4229-b6dc-b3c1c46425ca" + } + }, { + "Method" : "PATCH", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:50:58 GMT", + "server" : "nginx/1.17.7", + "content-length" : "554", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "71daa708-a3ee-4de0-8451-3cb264f7b226", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "1198", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025059Z:71daa708-a3ee-4de0-8451-3cb264f7b226", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationResults/908ba225-e319-451a-bf28-41d94c8c0d9b/Spring/gateway?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "71daa708-a3ee-4de0-8451-3cb264f7b226", + "Body" : "{\"properties\":{\"public\":true,\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"default\",\"fqdn\":\"springsvc60651.azuremicroservices.io\",\"httpsOnly\":true,\"createdTime\":\"2020-08-26T02:49:25.065Z\",\"temporaryDisk\":{\"sizeInGB\":4,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":10,\"mountPath\":\"/per\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"name\":\"gateway\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/908ba225-e319-451a-bf28-41d94c8c0d9b?api-version=2020-07-01", + "x-ms-client-request-id" : "eb22af89-c8f7-41fc-a119-af37a43c05ea" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/908ba225-e319-451a-bf28-41d94c8c0d9b?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:51:29 GMT", + "server" : "nginx/1.17.7", + "content-length" : "364", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "5cdfffc7-01b7-4d5c-a3df-984318948fdd", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025129Z:5cdfffc7-01b7-4d5c-a3df-984318948fdd", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5cdfffc7-01b7-4d5c-a3df-984318948fdd", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/908ba225-e319-451a-bf28-41d94c8c0d9b\",\"name\":\"908ba225-e319-451a-bf28-41d94c8c0d9b\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:50:58.9951424Z\",\"endTime\":\"2020-08-26T02:51:10.4609849Z\"}", + "x-ms-client-request-id" : "9a67f28c-4c8c-42bf-ba3d-9a59802434c4" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:51:29 GMT", + "server" : "nginx/1.17.7", + "content-length" : "615", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "9fee11d5-51fc-4cb8-90b3-7ac2a44aba98", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11998", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025129Z:9fee11d5-51fc-4cb8-90b3-7ac2a44aba98", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9fee11d5-51fc-4cb8-90b3-7ac2a44aba98", + "Body" : "{\"properties\":{\"public\":true,\"url\":\"https://springsvc60651-gateway.azuremicroservices.io\",\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"default\",\"fqdn\":\"springsvc60651.azuremicroservices.io\",\"httpsOnly\":true,\"createdTime\":\"2020-08-26T02:49:25.065Z\",\"temporaryDisk\":{\"sizeInGB\":4,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":10,\"mountPath\":\"/per\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"name\":\"gateway\"}", + "x-ms-client-request-id" : "35e4c66a-6d12-4f94-9b29-b872b1bc714a" + } + }, { + "Method" : "PATCH", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:52:05 GMT", + "server" : "nginx/1.17.7", + "content-length" : "617", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "9242cbe2-3f47-4454-88bd-802c2d06588b", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "1197", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025205Z:9242cbe2-3f47-4454-88bd-802c2d06588b", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationResults/a0b6774b-eead-4f45-a8d8-d3f522a03415/Spring/gateway?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "9242cbe2-3f47-4454-88bd-802c2d06588b", + "Body" : "{\"properties\":{\"public\":false,\"url\":\"https://springsvc60651-gateway.azuremicroservices.io\",\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"default\",\"fqdn\":\"springsvc60651.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-26T02:49:25.065Z\",\"temporaryDisk\":{\"sizeInGB\":4,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":10,\"mountPath\":\"/per\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"name\":\"gateway\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/a0b6774b-eead-4f45-a8d8-d3f522a03415?api-version=2020-07-01", + "x-ms-client-request-id" : "686edf43-c3df-4ce7-850b-1f407b3898d9" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/a0b6774b-eead-4f45-a8d8-d3f522a03415?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:52:35 GMT", + "server" : "nginx/1.17.7", + "content-length" : "364", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "1c3618b7-fb1f-4017-b9ac-601c0b0245ca", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025235Z:1c3618b7-fb1f-4017-b9ac-601c0b0245ca", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1c3618b7-fb1f-4017-b9ac-601c0b0245ca", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/a0b6774b-eead-4f45-a8d8-d3f522a03415\",\"name\":\"a0b6774b-eead-4f45-a8d8-d3f522a03415\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:52:05.2947541Z\",\"endTime\":\"2020-08-26T02:52:13.0853965Z\"}", + "x-ms-client-request-id" : "9c0a0780-cb81-4763-b93d-07238c4234ac" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:52:35 GMT", + "server" : "nginx/1.17.7", + "content-length" : "569", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "0b7cd358-229e-422a-b0d1-4330ad569d49", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11997", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025236Z:0b7cd358-229e-422a-b0d1-4330ad569d49", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0b7cd358-229e-422a-b0d1-4330ad569d49", + "Body" : "{\"properties\":{\"public\":false,\"url\":\"None\",\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"default\",\"fqdn\":\"springsvc60651.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-26T02:49:25.065Z\",\"temporaryDisk\":{\"sizeInGB\":4,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":10,\"mountPath\":\"/per\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"name\":\"gateway\"}", + "x-ms-client-request-id" : "71398a23-1ccb-497f-bb60-5011565c236b" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:52:35 GMT", + "server" : "nginx/1.17.7", + "content-length" : "581", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "b7584917-831f-4df5-90cb-6bc4a7f9da27", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11996", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025236Z:b7584917-831f-4df5-90cb-6bc4a7f9da27", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b7584917-831f-4df5-90cb-6bc4a7f9da27", + "Body" : "{\"value\":[{\"properties\":{\"public\":false,\"url\":\"None\",\"provisioningState\":\"Succeeded\",\"activeDeploymentName\":\"default\",\"fqdn\":\"springsvc60651.azuremicroservices.io\",\"httpsOnly\":false,\"createdTime\":\"2020-08-26T02:49:25.065Z\",\"temporaryDisk\":{\"sizeInGB\":4,\"mountPath\":\"/tmp\"},\"persistentDisk\":{\"sizeInGB\":10,\"mountPath\":\"/per\"}},\"type\":\"Microsoft.AppPlatform/Spring/apps\",\"identity\":null,\"location\":\"eastus\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"name\":\"gateway\"}]}", + "x-ms-client-request-id" : "1cde3ec1-d168-484d-afab-172a9e2b790a" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:52:36 GMT", + "server" : "nginx/1.17.7", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "b3a6ea1b-6a27-4e5d-8989-71ae9dfadda9", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025236Z:b3a6ea1b-6a27-4e5d-8989-71ae9dfadda9", + "connection" : "keep-alive", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationResults/6516144e-9273-4ac2-81a8-8251045c6f09/Spring/gateway?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "b3a6ea1b-6a27-4e5d-8989-71ae9dfadda9", + "Body" : "", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/6516144e-9273-4ac2-81a8-8251045c6f09?api-version=2020-07-01", + "x-ms-client-request-id" : "7f58a168-5041-4e40-9def-89919e5b787e" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/6516144e-9273-4ac2-81a8-8251045c6f09?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:53:06 GMT", + "server" : "nginx/1.17.7", + "content-length" : "364", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "887a268c-6a8c-434c-87f5-a23646a80943", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025307Z:887a268c-6a8c-434c-87f5-a23646a80943", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "887a268c-6a8c-434c-87f5-a23646a80943", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/gateway/operationId/6516144e-9273-4ac2-81a8-8251045c6f09\",\"name\":\"6516144e-9273-4ac2-81a8-8251045c6f09\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:52:36.7854059Z\",\"endTime\":\"2020-08-26T02:52:44.5982679Z\"}", + "x-ms-client-request-id" : "e1bcc5ce-2eb0-4eb7-ab3b-6641b553ab08" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/locations/eastus/operationResults/6516144e-9273-4ac2-81a8-8251045c6f09/Spring/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:53:07 GMT", + "server" : "nginx/1.17.7", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "204", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "5cc5592c-c1ff-4efa-8066-6c6e6af1c2d0", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025308Z:5cc5592c-c1ff-4efa-8066-6c6e6af1c2d0", + "connection" : "keep-alive", + "cache-control" : "no-cache", + "x-ms-request-id" : "5cc5592c-c1ff-4efa-8066-6c6e6af1c2d0", + "Body" : "", + "x-ms-client-request-id" : "6a580828-aac1-4e91-9ecf-0efb9ea6bf02" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:53:07 GMT", + "server" : "nginx/1.17.7", + "content-length" : "235", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "7f89c660-0394-40d6-b5ab-3921e17be389", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11995", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025308Z:7f89c660-0394-40d6-b5ab-3921e17be389", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7f89c660-0394-40d6-b5ab-3921e17be389", + "Body" : "{\"error\":{\"code\":\"NotFound\",\"message\":\"App was not found\",\"target\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgf8d873765ba72/providers/Microsoft.AppPlatform/Spring/springsvc60651/apps/gateway\",\"details\":null}}", + "x-ms-client-request-id" : "37ffb6c3-dde0-4352-8ccd-de1f0d7310c2" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgf8d873765ba72?api-version=2020-06-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:53:11 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "16618c87-a007-4cb7-884c-4a6b024a4ab5", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025312Z:16618c87-a007-4cb7-884c-4a6b024a4ab5", + "connection" : "keep-alive", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0Y4RDg3Mzc2NUJBNzItRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2020-06-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "16618c87-a007-4cb7-884c-4a6b024a4ab5", + "Body" : "" + } + } ], + "variables" : [ "rgf8d873765ba72", "springsvc60651" ] +} \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDServie.json b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDServie.json new file mode 100644 index 0000000000000..29246bd6dd250 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/resources/session-records/canCRUDServie.json @@ -0,0 +1,1684 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppPlatform/locations/eastus/checkNameAvailability?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:31:54 GMT", + "server" : "nginx/1.17.7", + "content-length" : "22", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "41f52b91-f064-46af-acd3-f2700356c24f", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023154Z:41f52b91-f064-46af-acd3-f2700356c24f", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "41f52b91-f064-46af-acd3-f2700356c24f", + "Body" : "{\"nameAvailable\":true}", + "x-ms-client-request-id" : "3327363c-7469-422b-acbe-3e8323e0011e" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgb0d583251971e?api-version=2020-06-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:31:56 GMT", + "content-length" : "360", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "15019c1b-ae19-4f4d-8650-de2b08a22124", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023157Z:15019c1b-ae19-4f4d-8650-de2b08a22124", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "15019c1b-ae19-4f4d-8650-de2b08a22124", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e\",\"name\":\"rgb0d583251971e\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"tags\":{\"date\":\"2020-08-26T02:31:55.290472400Z\",\"product\":\"javasdk\",\"cause\":\"automation\",\"StorageType\":\"Standard_LRS\",\"type\":\"test\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}" + } + }, { + "Method" : "PUT", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:32:15 GMT", + "server" : "nginx/1.17.7", + "content-length" : "377", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "201", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "88d77d9f-c8ca-497f-bfff-436c6823adca", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "1199", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023215Z:88d77d9f-c8ca-497f-bfff-436c6823adca", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationResults/ac552aef-e47f-4822-b0ef-6a3679c5eb5d/Spring/springsvc44969?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "88d77d9f-c8ca-497f-bfff-436c6823adca", + "Body" : "{\"properties\":{\"provisioningState\":\"Creating\",\"version\":2,\"serviceId\":\"cbc99866e80e4a218fcb419bfda336a8\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"B0\",\"tier\":\"Basic\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969\",\"name\":\"springsvc44969\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d?api-version=2020-07-01", + "x-ms-client-request-id" : "60227c02-4e6e-4f6c-9b20-85fa9729ca30" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:32:45 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "79a4d33e-cfd1-4427-8f98-8e683a14e556", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023246Z:79a4d33e-cfd1-4427-8f98-8e683a14e556", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "79a4d33e-cfd1-4427-8f98-8e683a14e556", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"name\":\"ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:32:07.7746588Z\"}", + "x-ms-client-request-id" : "f3c0f6cb-bc1f-4ea6-9238-1722d996bb54" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:33:16 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "1e3a6eda-9e24-48df-9bb0-b97e4507b2b4", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023316Z:1e3a6eda-9e24-48df-9bb0-b97e4507b2b4", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1e3a6eda-9e24-48df-9bb0-b97e4507b2b4", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"name\":\"ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:32:07.7746588Z\"}", + "x-ms-client-request-id" : "24a68141-a9c4-46a7-a099-5af04889ce9f" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:33:46 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "780a34d4-7296-494a-9cf3-8dd29a0d3b3c", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023346Z:780a34d4-7296-494a-9cf3-8dd29a0d3b3c", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "780a34d4-7296-494a-9cf3-8dd29a0d3b3c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"name\":\"ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:32:07.7746588Z\"}", + "x-ms-client-request-id" : "c3710cb8-0164-4a09-8298-60f19ee1cd6d" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:34:16 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "8748eba5-27ba-4b33-8548-08f4cfd44852", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023417Z:8748eba5-27ba-4b33-8548-08f4cfd44852", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8748eba5-27ba-4b33-8548-08f4cfd44852", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"name\":\"ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:32:07.7746588Z\"}", + "x-ms-client-request-id" : "f06d583c-7c6e-405f-8053-170710c297dc" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:34:46 GMT", + "server" : "nginx/1.17.7", + "content-length" : "371", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "4937fe24-9796-4d60-8013-40f22a4690c7", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023447Z:4937fe24-9796-4d60-8013-40f22a4690c7", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4937fe24-9796-4d60-8013-40f22a4690c7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"name\":\"ac552aef-e47f-4822-b0ef-6a3679c5eb5d\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:32:07.7746588Z\",\"endTime\":\"2020-08-26T02:34:43.9717382Z\"}", + "x-ms-client-request-id" : "d9730b11-51a6-4126-b55f-c9916fc83116" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:34:47 GMT", + "server" : "nginx/1.17.7", + "content-length" : "378", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "1791608f-60bb-425c-b56d-9f8999dc2290", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11999", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023447Z:1791608f-60bb-425c-b56d-9f8999dc2290", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "1791608f-60bb-425c-b56d-9f8999dc2290", + "Body" : "{\"properties\":{\"provisioningState\":\"Succeeded\",\"version\":2,\"serviceId\":\"cbc99866e80e4a218fcb419bfda336a8\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"B0\",\"tier\":\"Basic\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969\",\"name\":\"springsvc44969\"}", + "x-ms-client-request-id" : "0e5e7fc8-41f4-4a12-ade2-bc194fceda88" + } + }, { + "Method" : "PATCH", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:34:47 GMT", + "server" : "nginx/1.17.7", + "content-length" : "270", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "85f21b67-3855-497a-bbf3-f93a61d3c9cb", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023448Z:85f21b67-3855-497a-bbf3-f93a61d3c9cb", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationResults/b13647dd-4099-41fd-b54e-f02215c1673e/Spring/springsvc44969?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "85f21b67-3855-497a-bbf3-f93a61d3c9cb", + "Body" : "{\"properties\":{\"state\":\"Updating\"},\"type\":\"Microsoft.AppPlatform/Spring/configServers\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default\",\"name\":\"default\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/b13647dd-4099-41fd-b54e-f02215c1673e?api-version=2020-07-01", + "x-ms-client-request-id" : "52de3770-d3b5-4a93-8ade-9bce95d6ea88" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/b13647dd-4099-41fd-b54e-f02215c1673e?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:35:18 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "518f2124-b194-42ee-bf11-a58a367f2cc3", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023518Z:518f2124-b194-42ee-bf11-a58a367f2cc3", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "518f2124-b194-42ee-bf11-a58a367f2cc3", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/b13647dd-4099-41fd-b54e-f02215c1673e\",\"name\":\"b13647dd-4099-41fd-b54e-f02215c1673e\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:34:48.2131362Z\"}", + "x-ms-client-request-id" : "47d7beaf-5ae4-4393-b875-599ef78906bb" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/b13647dd-4099-41fd-b54e-f02215c1673e?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:35:48 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "c7aedbfa-9f58-494f-a6b1-0e87b33d81d8", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023549Z:c7aedbfa-9f58-494f-a6b1-0e87b33d81d8", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c7aedbfa-9f58-494f-a6b1-0e87b33d81d8", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/b13647dd-4099-41fd-b54e-f02215c1673e\",\"name\":\"b13647dd-4099-41fd-b54e-f02215c1673e\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:34:48.2131362Z\"}", + "x-ms-client-request-id" : "461f1800-7ad8-4b9a-aab3-5ba9664faf84" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/b13647dd-4099-41fd-b54e-f02215c1673e?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:36:18 GMT", + "server" : "nginx/1.17.7", + "content-length" : "371", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "13a1115c-343f-43dd-965f-b7a409e13f4b", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023619Z:13a1115c-343f-43dd-965f-b7a409e13f4b", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "13a1115c-343f-43dd-965f-b7a409e13f4b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/b13647dd-4099-41fd-b54e-f02215c1673e\",\"name\":\"b13647dd-4099-41fd-b54e-f02215c1673e\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:34:48.2131362Z\",\"endTime\":\"2020-08-26T02:35:58.5329169Z\"}", + "x-ms-client-request-id" : "0eee3792-5d47-4071-9441-c19025f208df" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:36:19 GMT", + "server" : "nginx/1.17.7", + "content-length" : "365", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "51033d2f-646f-4200-af6f-f284c291fcc5", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023619Z:51033d2f-646f-4200-af6f-f284c291fcc5", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "51033d2f-646f-4200-af6f-f284c291fcc5", + "Body" : "{\"properties\":{\"state\":\"Succeeded\",\"configServer\":{\"gitProperty\":{\"uri\":\"https://github.com/Azure-Samples/piggymetrics-config\"}}},\"type\":\"Microsoft.AppPlatform/Spring/configServers\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default\",\"name\":\"default\"}", + "x-ms-client-request-id" : "d5458dd4-95cf-45f7-82e8-1ef0898b7ef4" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:36:19 GMT", + "server" : "nginx/1.17.7", + "content-length" : "365", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "4b25bee0-78ff-4a4f-bd97-28e299db29f0", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023620Z:4b25bee0-78ff-4a4f-bd97-28e299db29f0", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4b25bee0-78ff-4a4f-bd97-28e299db29f0", + "Body" : "{\"properties\":{\"state\":\"Succeeded\",\"configServer\":{\"gitProperty\":{\"uri\":\"https://github.com/Azure-Samples/piggymetrics-config\"}}},\"type\":\"Microsoft.AppPlatform/Spring/configServers\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default\",\"name\":\"default\"}", + "x-ms-client-request-id" : "34012b5a-d01b-4e8e-851b-de771a94490a" + } + }, { + "Method" : "PATCH", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:36:21 GMT", + "server" : "nginx/1.17.7", + "content-length" : "377", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "90e68e55-4ff9-4304-ae3a-3b70c9010d51", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "1198", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023622Z:90e68e55-4ff9-4304-ae3a-3b70c9010d51", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationResults/a278460d-07e8-438f-8c52-664ce2fdfd24/Spring/springsvc44969?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "90e68e55-4ff9-4304-ae3a-3b70c9010d51", + "Body" : "{\"properties\":{\"provisioningState\":\"Updating\",\"version\":2,\"serviceId\":\"cbc99866e80e4a218fcb419bfda336a8\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"B0\",\"tier\":\"Basic\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969\",\"name\":\"springsvc44969\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "x-ms-client-request-id" : "ff2fa57d-81c4-4d35-b77a-0c34a12e345a" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:36:51 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "56a5eee1-0bfe-422d-87ab-8604f65acf4f", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023652Z:56a5eee1-0bfe-422d-87ab-8604f65acf4f", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "56a5eee1-0bfe-422d-87ab-8604f65acf4f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "06562378-9d5e-463d-b00a-fc8d77a29449" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:37:22 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "ae86dcd3-4ae7-46da-ac38-5cdee951d902", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023722Z:ae86dcd3-4ae7-46da-ac38-5cdee951d902", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ae86dcd3-4ae7-46da-ac38-5cdee951d902", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "53e2b24c-4648-431d-bbae-965231c9cd1f" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:37:52 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "59c7ccd6-b4ff-480a-b7c4-1739965cb746", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023753Z:59c7ccd6-b4ff-480a-b7c4-1739965cb746", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "59c7ccd6-b4ff-480a-b7c4-1739965cb746", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "dcd948b2-c4bf-4948-a3a1-a68a8fcd2b6d" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:38:23 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "53fd261c-fc41-40a2-9783-139e1a014313", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023823Z:53fd261c-fc41-40a2-9783-139e1a014313", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "53fd261c-fc41-40a2-9783-139e1a014313", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "ca47ec8d-2ad2-4cc5-aa93-55b6248d6f72" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:38:53 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "6c0c1826-f071-4843-95c0-893be6022fe1", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023854Z:6c0c1826-f071-4843-95c0-893be6022fe1", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6c0c1826-f071-4843-95c0-893be6022fe1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "acee43f5-3f19-4077-b3d3-886ae12beda4" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:39:24 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "8ceeada7-28d5-4ea9-b079-f374184756ad", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023924Z:8ceeada7-28d5-4ea9-b079-f374184756ad", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8ceeada7-28d5-4ea9-b079-f374184756ad", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "805d92a1-d353-4445-94fa-344535d551e0" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:39:54 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "74297052-e46f-40ab-8e1d-af60ca9e2ee9", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T023954Z:74297052-e46f-40ab-8e1d-af60ca9e2ee9", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "74297052-e46f-40ab-8e1d-af60ca9e2ee9", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "d8f2b56b-5fd2-4ea2-8fb6-fc7a135a3908" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:40:24 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "cea48e2d-5057-47a6-b711-816d63e964b0", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024025Z:cea48e2d-5057-47a6-b711-816d63e964b0", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "cea48e2d-5057-47a6-b711-816d63e964b0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "3d92cd5d-ccc7-4219-b2f5-49c68482d4e7" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:40:54 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "92682565-fc43-4b4e-9bf9-1f32437f5dd3", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024055Z:92682565-fc43-4b4e-9bf9-1f32437f5dd3", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "92682565-fc43-4b4e-9bf9-1f32437f5dd3", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "9a2cdd6b-6d64-472d-867b-97f671f4e7b8" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:41:25 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "5a7559c7-81fb-4b11-8327-7c1e3eb9a54d", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024125Z:5a7559c7-81fb-4b11-8327-7c1e3eb9a54d", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "5a7559c7-81fb-4b11-8327-7c1e3eb9a54d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "44ef29c9-75dd-44b2-a377-dfc3763292ba" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:41:55 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "40689c22-7c3b-43d8-92dd-9d0d0c57f21c", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024156Z:40689c22-7c3b-43d8-92dd-9d0d0c57f21c", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "40689c22-7c3b-43d8-92dd-9d0d0c57f21c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "bea62c50-e7cd-469c-a806-c37dc1346ca9" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:42:25 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "c5a4cd8b-8169-4421-a932-009b6754d08e", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024226Z:c5a4cd8b-8169-4421-a932-009b6754d08e", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c5a4cd8b-8169-4421-a932-009b6754d08e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\"}", + "x-ms-client-request-id" : "4d995c89-9363-4c04-b5cd-359fcc8623c4" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:42:56 GMT", + "server" : "nginx/1.17.7", + "content-length" : "371", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "3035968d-8d26-499c-8af9-0ba8cbdc275a", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024256Z:3035968d-8d26-499c-8af9-0ba8cbdc275a", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3035968d-8d26-499c-8af9-0ba8cbdc275a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/a278460d-07e8-438f-8c52-664ce2fdfd24\",\"name\":\"a278460d-07e8-438f-8c52-664ce2fdfd24\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:36:21.6859161Z\",\"endTime\":\"2020-08-26T02:42:37.2436053Z\"}", + "x-ms-client-request-id" : "95e075cf-6378-4c55-b2cc-e7dd5ab5388a" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:42:56 GMT", + "server" : "nginx/1.17.7", + "content-length" : "381", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "fd70c426-4b58-457d-8e2f-27cc776a3200", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11998", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024257Z:fd70c426-4b58-457d-8e2f-27cc776a3200", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "fd70c426-4b58-457d-8e2f-27cc776a3200", + "Body" : "{\"properties\":{\"provisioningState\":\"Succeeded\",\"version\":2,\"serviceId\":\"cbc99866e80e4a218fcb419bfda336a8\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969\",\"name\":\"springsvc44969\"}", + "x-ms-client-request-id" : "48a9f37c-b3df-4975-a443-97388bbc35b0" + } + }, { + "Method" : "PATCH", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:42:57 GMT", + "server" : "nginx/1.17.7", + "content-length" : "364", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "ab16a9bf-5da1-4fdd-9956-bb457a331d1d", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024257Z:ab16a9bf-5da1-4fdd-9956-bb457a331d1d", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationResults/4516f95b-5272-43a1-880e-0f05d402cda3/Spring/springsvc44969?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "ab16a9bf-5da1-4fdd-9956-bb457a331d1d", + "Body" : "{\"properties\":{\"state\":\"Updating\",\"configServer\":{\"gitProperty\":{\"uri\":\"https://github.com/Azure-Samples/piggymetrics-config\"}}},\"type\":\"Microsoft.AppPlatform/Spring/configServers\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default\",\"name\":\"default\"}", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/4516f95b-5272-43a1-880e-0f05d402cda3?api-version=2020-07-01", + "x-ms-client-request-id" : "b1d7c5cb-23ca-4bb2-be30-c02dd2ae2580" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/4516f95b-5272-43a1-880e-0f05d402cda3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:43:27 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "7eaaf225-384f-45a0-9ff1-7368333514b3", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024328Z:7eaaf225-384f-45a0-9ff1-7368333514b3", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "7eaaf225-384f-45a0-9ff1-7368333514b3", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/4516f95b-5272-43a1-880e-0f05d402cda3\",\"name\":\"4516f95b-5272-43a1-880e-0f05d402cda3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:42:57.5207095Z\"}", + "x-ms-client-request-id" : "31c7f61f-3b98-4825-b37f-40f85fa6dcc9" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/4516f95b-5272-43a1-880e-0f05d402cda3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:43:58 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "0a832e66-eb6f-4634-9cde-bb45d11514c9", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024358Z:0a832e66-eb6f-4634-9cde-bb45d11514c9", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "0a832e66-eb6f-4634-9cde-bb45d11514c9", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/4516f95b-5272-43a1-880e-0f05d402cda3\",\"name\":\"4516f95b-5272-43a1-880e-0f05d402cda3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:42:57.5207095Z\"}", + "x-ms-client-request-id" : "7fcda775-4794-474d-b7a2-045014e56842" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/4516f95b-5272-43a1-880e-0f05d402cda3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:44:28 GMT", + "server" : "nginx/1.17.7", + "content-length" : "371", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "3555329a-1103-49c2-8003-4b28ccd62d17", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024428Z:3555329a-1103-49c2-8003-4b28ccd62d17", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "3555329a-1103-49c2-8003-4b28ccd62d17", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/4516f95b-5272-43a1-880e-0f05d402cda3\",\"name\":\"4516f95b-5272-43a1-880e-0f05d402cda3\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:42:57.5207095Z\",\"endTime\":\"2020-08-26T02:44:06.2895464Z\"}", + "x-ms-client-request-id" : "cb0d259a-7d3b-42f8-a036-6bfe04205186" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:44:30 GMT", + "server" : "nginx/1.17.7", + "content-length" : "271", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "67a740c6-11b3-4fdd-be9b-2ddf7d378458", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024430Z:67a740c6-11b3-4fdd-be9b-2ddf7d378458", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "67a740c6-11b3-4fdd-be9b-2ddf7d378458", + "Body" : "{\"properties\":{\"state\":\"Succeeded\"},\"type\":\"Microsoft.AppPlatform/Spring/configServers\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default\",\"name\":\"default\"}", + "x-ms-client-request-id" : "853757c9-a353-4c41-9384-6432ca6ea4f3" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:44:31 GMT", + "server" : "nginx/1.17.7", + "content-length" : "271", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "067d5135-9226-4d29-86ca-0571d2980e22", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024431Z:067d5135-9226-4d29-86ca-0571d2980e22", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "067d5135-9226-4d29-86ca-0571d2980e22", + "Body" : "{\"properties\":{\"state\":\"Succeeded\"},\"type\":\"Microsoft.AppPlatform/Spring/configServers\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969/configServers/default\",\"name\":\"default\"}", + "x-ms-client-request-id" : "c4aec0f1-0e9a-4353-9f47-905e97d46331" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.AppPlatform/Spring?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:44:31 GMT", + "server" : "nginx/1.17.7", + "content-length" : "1155", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "bf6fb80d-09b4-4b2e-84d2-c7db0e42badd", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11997", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024432Z:bf6fb80d-09b4-4b2e-84d2-c7db0e42badd", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "bf6fb80d-09b4-4b2e-84d2-c7db0e42badd", + "Body" : "{\"value\":[{\"properties\":{\"provisioningState\":\"Deleting\",\"version\":2,\"serviceId\":\"0013adc401624bd9a17e84162703b9f3\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg95a50425821b1/providers/Microsoft.AppPlatform/Spring/springsvc87938\",\"name\":\"springsvc87938\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"version\":2,\"serviceId\":\"cbc99866e80e4a218fcb419bfda336a8\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969\",\"name\":\"springsvc44969\"},{\"properties\":{\"provisioningState\":\"Deleting\",\"version\":2,\"serviceId\":\"a560b7fa6da644e2a038e8f4c6d88af5\"},\"type\":\"Microsoft.AppPlatform/Spring\",\"sku\":{\"name\":\"S0\",\"tier\":\"Standard\"},\"location\":\"eastus\",\"tags\":{},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgd45036868731a/providers/Microsoft.AppPlatform/Spring/springsvc45572\",\"name\":\"springsvc45572\"}]}", + "x-ms-client-request-id" : "01577b3c-18e7-412a-a4a3-123dae4cf079" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:44:32 GMT", + "server" : "nginx/1.17.7", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "4c93dfbb-f4fa-43b5-a852-5e05fe727b04", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024433Z:4c93dfbb-f4fa-43b5-a852-5e05fe727b04", + "connection" : "keep-alive", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationResults/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3/Spring/springsvc44969?api-version=2020-07-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "4c93dfbb-f4fa-43b5-a852-5e05fe727b04", + "Body" : "", + "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "x-ms-client-request-id" : "c49ee2e5-1238-4439-96ab-f7aee0a2e21c" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:45:03 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "6d10e491-d0d3-4313-9325-5bb357ac2e84", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024503Z:6d10e491-d0d3-4313-9325-5bb357ac2e84", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6d10e491-d0d3-4313-9325-5bb357ac2e84", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "c1538a52-58fd-4e66-8624-0b8cbaaf4a42" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:45:33 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "9f52b622-1ffc-4cae-8d70-08b2caf831a1", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024533Z:9f52b622-1ffc-4cae-8d70-08b2caf831a1", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "9f52b622-1ffc-4cae-8d70-08b2caf831a1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "5fbbb014-f0e8-4465-b6be-09de9beeb8f0" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:46:04 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "359b7c31-b8a5-46cc-a4ea-3c4b58d1915d", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024604Z:359b7c31-b8a5-46cc-a4ea-3c4b58d1915d", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "359b7c31-b8a5-46cc-a4ea-3c4b58d1915d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "cd838373-9b3b-4b5b-b635-d09da3783949" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:46:34 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "b8d77db3-c581-4470-9865-dd23902cdfba", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024634Z:b8d77db3-c581-4470-9865-dd23902cdfba", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b8d77db3-c581-4470-9865-dd23902cdfba", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "9acc3d88-31a7-4284-ab01-2299e5c0a457" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:47:04 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "2bca5964-6506-4e05-a91a-53c4d69d99f1", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024704Z:2bca5964-6506-4e05-a91a-53c4d69d99f1", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2bca5964-6506-4e05-a91a-53c4d69d99f1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "8d2c2ae0-8d8c-4aa8-af74-d83189952278" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:47:34 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "2049d2bc-55ce-45a7-b65a-d79fb9135ec1", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024735Z:2049d2bc-55ce-45a7-b65a-d79fb9135ec1", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "2049d2bc-55ce-45a7-b65a-d79fb9135ec1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "dd36245d-0102-424c-801e-fa234104b2cf" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:48:04 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "ffbc3c29-cdff-40e4-9a85-f3a1ec95f780", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024805Z:ffbc3c29-cdff-40e4-9a85-f3a1ec95f780", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ffbc3c29-cdff-40e4-9a85-f3a1ec95f780", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "b070255a-c65d-40f8-a782-886e25077cc9" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:48:34 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "4854f8a7-fd29-44a6-9cb1-be13e2afda37", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024835Z:4854f8a7-fd29-44a6-9cb1-be13e2afda37", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "4854f8a7-fd29-44a6-9cb1-be13e2afda37", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "48251ed3-c27d-4194-adbb-79670c5b1356" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:06 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "6a7c949f-a6f4-44b3-9fa7-d89114448515", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024906Z:6a7c949f-a6f4-44b3-9fa7-d89114448515", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "6a7c949f-a6f4-44b3-9fa7-d89114448515", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "388ab9b3-53d1-4911-893c-a726c958f8af" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:49:36 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "64be1d7f-90e0-4fba-bad3-ed875a7e6eae", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T024936Z:64be1d7f-90e0-4fba-bad3-ed875a7e6eae", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "64be1d7f-90e0-4fba-bad3-ed875a7e6eae", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "488cc27b-2608-4e35-ba06-d535ae331087" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:50:06 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "a2d041ed-cc7f-489a-a283-03a182426d54", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025006Z:a2d041ed-cc7f-489a-a283-03a182426d54", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "a2d041ed-cc7f-489a-a283-03a182426d54", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "92115ba9-a555-41f6-a38e-a3b12c082639" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:50:37 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "ecf89f9a-9aad-4c73-84b8-8fd3b7b64ce9", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025037Z:ecf89f9a-9aad-4c73-84b8-8fd3b7b64ce9", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "ecf89f9a-9aad-4c73-84b8-8fd3b7b64ce9", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "e2597610-fced-4754-8245-27cc731bf8b1" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:51:08 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "c4a73042-8c32-49a0-b2a7-79cbc80fa09c", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025108Z:c4a73042-8c32-49a0-b2a7-79cbc80fa09c", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "c4a73042-8c32-49a0-b2a7-79cbc80fa09c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "54330fed-b59e-4858-9f0b-b32d877673ed" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:51:38 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "b072ee2d-521a-46a3-923b-669ab0f49862", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025138Z:b072ee2d-521a-46a3-923b-669ab0f49862", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "b072ee2d-521a-46a3-923b-669ab0f49862", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "5e8a7c99-915d-4aa7-9511-05a903f793d3" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:52:08 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "be1bc153-c2c1-4286-961b-351e29991e8e", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025208Z:be1bc153-c2c1-4286-961b-351e29991e8e", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "be1bc153-c2c1-4286-961b-351e29991e8e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "0f513b39-ff60-412f-b4a3-308b42e2feb6" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:52:38 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11956", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "8fc27942-2e08-4399-b95f-5ed145703806", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025239Z:8fc27942-2e08-4399-b95f-5ed145703806", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8fc27942-2e08-4399-b95f-5ed145703806", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "c0641c65-894a-4308-896f-8b6f1d13969a" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:53:09 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11955", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "8468d91c-8e06-4f26-9251-7d9d2f25c2ae", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025309Z:8468d91c-8e06-4f26-9251-7d9d2f25c2ae", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "8468d91c-8e06-4f26-9251-7d9d2f25c2ae", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "57cf381d-c8d3-45d0-bc61-b699b9830c22" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:53:39 GMT", + "server" : "nginx/1.17.7", + "content-length" : "328", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11954", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "44b6a37b-b676-4025-b205-8e733944cf1f", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025339Z:44b6a37b-b676-4025-b205-8e733944cf1f", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "44b6a37b-b676-4025-b205-8e733944cf1f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Running\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\"}", + "x-ms-client-request-id" : "4e9fed5e-e518-4283-821b-ba83ebed81cf" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:54:10 GMT", + "server" : "nginx/1.17.7", + "content-length" : "371", + "expires" : "-1", + "vary" : "Accept-Encoding", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11953", + "StatusCode" : "200", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "44d67c5b-ae31-4de8-af79-ed465146d241", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025411Z:44d67c5b-ae31-4de8-af79-ed465146d241", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "44d67c5b-ae31-4de8-af79-ed465146d241", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/springsvc44969/operationId/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"name\":\"6fd1d074-21d4-4ccb-b74d-07f8a135f2f3\",\"status\":\"Succeeded\",\"startTime\":\"2020-08-26T02:44:33.0900235Z\",\"endTime\":\"2020-08-26T02:53:55.9360746Z\"}", + "x-ms-client-request-id" : "f0f8779a-aa1f-487e-88a7-8917465a9309" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/locations/eastus/operationResults/6fd1d074-21d4-4ccb-b74d-07f8a135f2f3/Spring/springsvc44969?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:54:10 GMT", + "server" : "nginx/1.17.7", + "expires" : "-1", + "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11952", + "StatusCode" : "204", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "fc8b202a-59aa-4a01-908b-1827b5d1489e", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-rp-server-mvid" : "d8cff8a2-0549-4ee1-8c3d-fa9d1b5306d8", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025411Z:fc8b202a-59aa-4a01-908b-1827b5d1489e", + "connection" : "keep-alive", + "cache-control" : "no-cache", + "x-ms-request-id" : "fc8b202a-59aa-4a01-908b-1827b5d1489e", + "Body" : "", + "x-ms-client-request-id" : "6524b2fd-a5ea-4816-8cd7-e615086b6595" + } + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgb0d583251971e/providers/Microsoft.AppPlatform/Spring/springsvc44969?api-version=2020-07-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.appplatform/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:54:11 GMT", + "content-length" : "230", + "expires" : "-1", + "retry-after" : "0", + "StatusCode" : "404", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "12ab688a-e2bd-4252-88b3-97a1b3960411", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-content-type-options" : "nosniff", + "x-ms-failure-cause" : "gateway", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025411Z:12ab688a-e2bd-4252-88b3-97a1b3960411", + "connection" : "keep-alive", + "content-type" : "application/json; charset=utf-8", + "cache-control" : "no-cache", + "x-ms-request-id" : "12ab688a-e2bd-4252-88b3-97a1b3960411", + "Body" : "{\"error\":{\"code\":\"ResourceNotFound\",\"message\":\"The Resource 'Microsoft.AppPlatform/Spring/springsvc44969' under resource group 'rgb0d583251971e' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"}}" + } + }, { + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgb0d583251971e?api-version=2020-06-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", + "Content-Type" : "application/json" + }, + "Response" : { + "date" : "Wed, 26 Aug 2020 02:54:15 GMT", + "content-length" : "0", + "expires" : "-1", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "retry-after" : "0", + "StatusCode" : "202", + "pragma" : "no-cache", + "x-ms-correlation-request-id" : "d1e291de-6e06-43c9-ba86-351e7b01c79e", + "strict-transport-security" : "max-age=31536000; includeSubDomains", + "x-content-type-options" : "nosniff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20200826T025416Z:d1e291de-6e06-43c9-ba86-351e7b01c79e", + "connection" : "keep-alive", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0IwRDU4MzI1MTk3MUUtRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2020-06-01", + "cache-control" : "no-cache", + "x-ms-request-id" : "d1e291de-6e06-43c9-ba86-351e7b01c79e", + "Body" : "" + } + } ], + "variables" : [ "rgb0d583251971e", "springsvc44969" ] +} \ No newline at end of file From b4af4eeeded4fc35ce6b9dbaefb05afc7c3a9962 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Wed, 26 Aug 2020 13:20:58 +0800 Subject: [PATCH 12/13] fix checkstyle --- .../resourcemanager/appplatform/SpringCloudLiveOnlyTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java index 4e50c7824e7ce..830e2a34e670b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/src/test/java/com/azure/resourcemanager/appplatform/SpringCloudLiveOnlyTest.java @@ -3,8 +3,6 @@ package com.azure.resourcemanager.appplatform; -import com.azure.core.management.exception.ManagementException; -import com.azure.resourcemanager.appplatform.models.ConfigServerProperties; import com.azure.resourcemanager.appplatform.models.RuntimeVersion; import com.azure.resourcemanager.appplatform.models.SpringApp; import com.azure.resourcemanager.appplatform.models.SpringAppDeployment; @@ -19,7 +17,6 @@ import com.azure.resourcemanager.resources.fluentcore.arm.CountryIsoCode; import com.azure.resourcemanager.resources.fluentcore.arm.CountryPhoneCode; import com.azure.resourcemanager.resources.fluentcore.arm.Region; -import com.azure.resourcemanager.resources.fluentcore.utils.SdkContext; import com.azure.security.keyvault.certificates.CertificateClient; import com.azure.security.keyvault.certificates.CertificateClientBuilder; import com.azure.security.keyvault.certificates.models.ImportCertificateOptions; @@ -29,7 +26,6 @@ import org.apache.commons.compress.utils.IOUtils; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; import javax.xml.bind.DatatypeConverter; import java.io.ByteArrayInputStream; From e0d15c8ff34b5083719489fceca1f748cce57b55 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Thu, 27 Aug 2020 13:58:27 +0800 Subject: [PATCH 13/13] Add changelog --- .../azure-resourcemanager-appplatform/CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md index 003c434ede62c..277a90dc04c24 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md @@ -2,4 +2,9 @@ ## 2.0.0-beta.4 (Unreleased) -- TODO +- Updated `api-version` to `2020-07-01` +- Add `defineActiveDeployment` and `getActiveDeployment` in SpringApp +- Removed `withoutTemporaryDisk` and `withoutPersistentDisk` in SpringAppDeployment +- Removed `withSettingsFromDeployment` in SpringAppDeployment +- Removed `deployJar` and `deploySource` in SpringApp +- Changed `serverProperties` to `getServerProperties` and `traceProperties` to `getMonitoringSetting` in SpringService