Merge pull request #74 from spring-cloud-incubator/wiremock-dsl

Use wiremock DSL instead of record/playback for sample app component tests.
This commit is contained in:
Scott Frederick
2018-08-21 15:59:24 -05:00
committed by GitHub
240 changed files with 1126 additions and 5656 deletions

View File

@@ -50,4 +50,9 @@ dependencies {
testImplementation("org.mockito:mockito-junit-jupiter:${mockitoVersion}")
testImplementation("io.rest-assured:rest-assured")
testImplementation("com.github.tomakehurst:wiremock:${wiremockVersion}")
}
test {
// force a new fork for every test to eliminate issues with wiremock state
forkEvery = 1
}

View File

@@ -18,25 +18,24 @@ package org.springframework.cloud.appbroker.sample;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.appbroker.sample.fixtures.CloudFoundryApiFixture;
import org.springframework.cloud.appbroker.sample.fixtures.CloudControllerStubFixture;
import org.springframework.cloud.appbroker.sample.fixtures.OpenServiceBrokerApiFixture;
import org.springframework.cloud.servicebroker.model.instance.OperationState;
import org.springframework.http.HttpStatus;
import org.springframework.test.context.TestPropertySource;
import static io.restassured.RestAssured.given;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.equalToIgnoringWhiteSpace;
import static org.hamcrest.Matchers.is;
import static org.springframework.cloud.appbroker.sample.CreateInstanceComponentTest.APP_NAME_1;
import static org.springframework.cloud.appbroker.sample.CreateInstanceComponentTest.APP_NAME_2;
@TestPropertySource(properties = {
"spring.cloud.appbroker.apps[0].path=classpath:demo.jar",
"spring.cloud.appbroker.apps[0].name=" + APP_NAME_1
// "spring.cloud.appbroker.apps[1].path=classpath:demo.jar",
// "spring.cloud.appbroker.apps[1].name=" + APP_NAME_2
"spring.cloud.appbroker.apps[0].name=" + APP_NAME_1,
"spring.cloud.appbroker.apps[1].path=classpath:demo.jar",
"spring.cloud.appbroker.apps[1].name=" + APP_NAME_2
})
class CreateInstanceComponentTest extends WiremockComponentTest {
static final String APP_NAME_1 = "first-app";
@@ -46,10 +45,15 @@ class CreateInstanceComponentTest extends WiremockComponentTest {
private OpenServiceBrokerApiFixture brokerFixture;
@Autowired
private CloudFoundryApiFixture cloudFoundryFixture;
private CloudControllerStubFixture cloudControllerFixture;
@Test
void shouldPushAppWhenCreateServiceEndpointCalled() {
cloudControllerFixture.stubAppDoesNotExist(APP_NAME_1);
cloudControllerFixture.stubPushApp(APP_NAME_1);
cloudControllerFixture.stubAppDoesNotExist(APP_NAME_2);
cloudControllerFixture.stubPushApp(APP_NAME_2);
// when a service instance is created
given(brokerFixture.serviceInstanceRequest())
.when()
@@ -67,22 +71,5 @@ class CreateInstanceComponentTest extends WiremockComponentTest {
String state = brokerFixture.waitForAsyncOperationComplete("instance-id");
assertThat(state).isEqualTo(OperationState.SUCCEEDED.toString());
// then a backing application is deployed
given(cloudFoundryFixture.request())
.when()
.get(cloudFoundryFixture.findApplicationUrl(APP_NAME_1))
.then()
.statusCode(HttpStatus.OK.value())
.body("resources[0].entity.name", is(equalToIgnoringWhiteSpace(APP_NAME_1)));
// then a backing application is deployed
given(cloudFoundryFixture.request())
.when()
.get(cloudFoundryFixture.findApplicationUrl(APP_NAME_2))
.then()
.statusCode(HttpStatus.OK.value())
.body("resources[0].entity.name", is(equalToIgnoringWhiteSpace(APP_NAME_2)));
}
}

View File

@@ -16,19 +16,18 @@
package org.springframework.cloud.appbroker.sample;
import io.restassured.path.json.JsonPath;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.appbroker.sample.fixtures.CloudFoundryApiFixture;
import org.springframework.cloud.appbroker.sample.fixtures.CloudControllerStubFixture;
import org.springframework.cloud.appbroker.sample.fixtures.OpenServiceBrokerApiFixture;
import org.springframework.cloud.servicebroker.model.instance.OperationState;
import org.springframework.http.HttpStatus;
import org.springframework.test.context.TestPropertySource;
import static com.github.tomakehurst.wiremock.client.WireMock.matchingJsonPath;
import static io.restassured.RestAssured.given;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.equalToIgnoringWhiteSpace;
import static org.hamcrest.Matchers.is;
import static org.springframework.cloud.appbroker.sample.CreateInstanceWithEnvironmentComponentTest.APP_NAME;
@@ -45,10 +44,15 @@ class CreateInstanceWithEnvironmentComponentTest extends WiremockComponentTest {
private OpenServiceBrokerApiFixture brokerFixture;
@Autowired
private CloudFoundryApiFixture cloudFoundryFixture;
private CloudControllerStubFixture cloudControllerFixture;
@Test
void shouldPushAppWithEnvironmentWhenCreateServiceEndpointCalled() {
cloudControllerFixture.stubAppDoesNotExist(APP_NAME);
cloudControllerFixture.stubPushApp(APP_NAME,
matchingJsonPath("$.environment_json[?(@.SPRING_APPLICATION_JSON =~ /.*ENV_VAR_1.*:.*value1.*/)]"),
matchingJsonPath("$.environment_json[?(@.SPRING_APPLICATION_JSON =~ /.*ENV_VAR_2.*:.*true.*/)]"));
// when a service instance is created
given(brokerFixture.serviceInstanceRequest())
.when()
@@ -66,26 +70,5 @@ class CreateInstanceWithEnvironmentComponentTest extends WiremockComponentTest {
String state = brokerFixture.waitForAsyncOperationComplete("instance-id");
assertThat(state).isEqualTo(OperationState.SUCCEEDED.toString());
// then a backing application is deployed
String appsUrl = given(cloudFoundryFixture.request())
.when()
.get(cloudFoundryFixture.findApplicationUrl(APP_NAME))
.then()
.statusCode(HttpStatus.OK.value())
.body("resources[0].entity.name", is(equalToIgnoringWhiteSpace(APP_NAME)))
.extract().body().jsonPath().getString("resources[0].metadata.url");
// and the backing application has the services bound to it
String springAppJson = given(cloudFoundryFixture.request())
.when()
.get(appsUrl + "/env")
.then()
.statusCode(HttpStatus.OK.value())
.extract().body().jsonPath().getString("environment_json.SPRING_APPLICATION_JSON");
assertThat(JsonPath.given(springAppJson).getString("ENV_VAR_1")).isEqualTo("value1");
assertThat(JsonPath.given(springAppJson).getBoolean("ENV_VAR_2")).isEqualTo(true);
}
}

View File

@@ -18,16 +18,16 @@ package org.springframework.cloud.appbroker.sample;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.appbroker.sample.fixtures.CloudFoundryApiFixture;
import org.springframework.cloud.appbroker.sample.fixtures.CloudControllerStubFixture;
import org.springframework.cloud.appbroker.sample.fixtures.OpenServiceBrokerApiFixture;
import org.springframework.cloud.servicebroker.model.instance.OperationState;
import org.springframework.http.HttpStatus;
import org.springframework.test.context.TestPropertySource;
import static com.github.tomakehurst.wiremock.client.WireMock.matchingJsonPath;
import static io.restassured.RestAssured.given;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.equalToIgnoringWhiteSpace;
import static org.hamcrest.Matchers.is;
import static org.springframework.cloud.appbroker.sample.CreateInstanceWithPropertiesComponentTest.APP_NAME;
@@ -45,10 +45,16 @@ class CreateInstanceWithPropertiesComponentTest extends WiremockComponentTest {
private OpenServiceBrokerApiFixture brokerFixture;
@Autowired
private CloudFoundryApiFixture cloudFoundryFixture;
private CloudControllerStubFixture cloudControllerFixture;
@Test
void shouldPushAppWithPropertiesWhenCreateServiceEndpointCalled() {
cloudControllerFixture.stubAppDoesNotExist(APP_NAME);
cloudControllerFixture.stubPushApp(APP_NAME,
matchingJsonPath("$.[?(@.memory == '2048')]"),
matchingJsonPath("$.[?(@.instances == '2')]"),
matchingJsonPath("$.[?(@.health_check_timeout == '180')]"));
// when a service instance is created
given(brokerFixture.serviceInstanceRequest())
.when()
@@ -66,17 +72,6 @@ class CreateInstanceWithPropertiesComponentTest extends WiremockComponentTest {
String state = brokerFixture.waitForAsyncOperationComplete("instance-id");
assertThat(state).isEqualTo(OperationState.SUCCEEDED.toString());
// then a backing application is deployed with the specified properties
given(cloudFoundryFixture.request())
.when()
.get(cloudFoundryFixture.findApplicationUrl(APP_NAME))
.then()
.statusCode(HttpStatus.OK.value())
.body("resources[0].entity.name", is(equalToIgnoringWhiteSpace(APP_NAME)))
.body("resources[0].entity.memory", is(2048))
.body("resources[0].entity.instances", is(2))
.body("resources[0].entity.health_check_timeout", is(180));
}
}

View File

@@ -18,7 +18,7 @@ package org.springframework.cloud.appbroker.sample;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.appbroker.sample.fixtures.CloudFoundryApiFixture;
import org.springframework.cloud.appbroker.sample.fixtures.CloudControllerStubFixture;
import org.springframework.cloud.appbroker.sample.fixtures.OpenServiceBrokerApiFixture;
import org.springframework.cloud.servicebroker.model.instance.OperationState;
import org.springframework.http.HttpStatus;
@@ -27,33 +27,41 @@ import org.springframework.test.context.TestPropertySource;
import static io.restassured.RestAssured.given;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.equalToIgnoringWhiteSpace;
import static org.hamcrest.Matchers.is;
import static org.springframework.cloud.appbroker.sample.CreateInstanceWithServicesComponentTest.APP_NAME;
import static org.springframework.cloud.appbroker.sample.CreateInstanceWithServicesComponentTest.SERVICE_INSTANCE_1_NAME;
import static org.springframework.cloud.appbroker.sample.CreateInstanceWithServicesComponentTest.SERVICE_INSTANCE_2_NAME;
@TestPropertySource(properties = {
"spring.cloud.appbroker.apps[0].path=classpath:demo.jar",
"spring.cloud.appbroker.apps[0].name=" + APP_NAME,
"spring.cloud.appbroker.apps[0].services[0]=my-db-service",
"spring.cloud.appbroker.apps[0].services[1]=my-rabbit-service"
"spring.cloud.appbroker.apps[0].services[0]=" + SERVICE_INSTANCE_1_NAME,
"spring.cloud.appbroker.apps[0].services[1]=" + SERVICE_INSTANCE_2_NAME
})
class CreateInstanceWithServicesComponentTest extends WiremockComponentTest {
static final String APP_NAME = "appwithservices";
static final String APP_NAME = "app-with-services";
static final String SERVICE_INSTANCE_1_NAME = "my-db-service";
static final String SERVICE_INSTANCE_2_NAME = "my-rabbit-service";
@Autowired
private OpenServiceBrokerApiFixture brokerFixture;
@Autowired
private CloudFoundryApiFixture cloudFoundryFixture;
private CloudControllerStubFixture cloudControllerFixture;
@Test
void shouldPushAppWithServiceWhenCreateServiceEndpointCalled() {
// given that a service exists
// TODO automate creation or stub bindings
// cf cups my-db-service -p '{}'
// cf cups my-rabbit-service -p '{}'
cloudControllerFixture.stubAppDoesNotExist(APP_NAME);
cloudControllerFixture.stubPushApp(APP_NAME);
// given that service instances exist
cloudControllerFixture.stubServiceInstanceExists(SERVICE_INSTANCE_1_NAME);
cloudControllerFixture.stubServiceInstanceExists(SERVICE_INSTANCE_2_NAME);
cloudControllerFixture.stubCreateServiceBinding(APP_NAME, SERVICE_INSTANCE_1_NAME);
cloudControllerFixture.stubCreateServiceBinding(APP_NAME, SERVICE_INSTANCE_2_NAME);
// when a service instance is created
given(brokerFixture.serviceInstanceRequest())
@@ -72,24 +80,5 @@ class CreateInstanceWithServicesComponentTest extends WiremockComponentTest {
String state = brokerFixture.waitForAsyncOperationComplete("instance-id");
assertThat(state).isEqualTo(OperationState.SUCCEEDED.toString());
// then a backing application is deployed
String appsUrl = given(cloudFoundryFixture.request())
.when()
.get(cloudFoundryFixture.findApplicationUrl(APP_NAME))
.then()
.statusCode(HttpStatus.OK.value())
.body("resources[0].entity.name", is(equalToIgnoringWhiteSpace(APP_NAME)))
.extract().body().jsonPath().getString("resources[0].metadata.url");
// and the backing application has the services bound to it
given(cloudFoundryFixture.request())
.when()
.get(appsUrl + "/env")
.then()
.statusCode(HttpStatus.OK.value())
.body("system_env_json.VCAP_SERVICES.user-provided.name",
containsInAnyOrder("my-db-service", "my-rabbit-service"));
}
}

View File

@@ -18,7 +18,7 @@ package org.springframework.cloud.appbroker.sample;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.appbroker.sample.fixtures.CloudFoundryApiFixture;
import org.springframework.cloud.appbroker.sample.fixtures.CloudControllerStubFixture;
import org.springframework.cloud.appbroker.sample.fixtures.OpenServiceBrokerApiFixture;
import org.springframework.cloud.servicebroker.model.instance.OperationState;
import org.springframework.http.HttpStatus;
@@ -29,40 +29,35 @@ import static io.restassured.RestAssured.given;
import static org.assertj.core.api.Assertions.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.is;
import static org.springframework.cloud.appbroker.sample.DeleteInstanceComponentTest.APP_NAME;
import static org.springframework.cloud.appbroker.sample.DeleteInstanceComponentTest.APP_NAME_1;
import static org.springframework.cloud.appbroker.sample.DeleteInstanceComponentTest.APP_NAME_2;
@TestPropertySource(properties = {
"spring.cloud.appbroker.apps[0].path=classpath:demo.jar",
"spring.cloud.appbroker.apps[0].name=" + APP_NAME,
"spring.cloud.appbroker.apps[0].name=" + APP_NAME_1,
"spring.cloud.appbroker.apps[1].path=classpath:demo.jar",
"spring.cloud.appbroker.apps[1].name=" + APP_NAME_2
})
class DeleteInstanceComponentTest extends WiremockComponentTest {
static final String APP_NAME = "helloworldapp";
static final String APP_NAME_1 = "first-app";
static final String APP_NAME_2 = "second-app";
@Autowired
private OpenServiceBrokerApiFixture brokerFixture;
@Autowired
private CloudFoundryApiFixture cloudFoundryFixture;
private CloudControllerStubFixture cloudControllerFixture;
@Test
void shouldDeleteAppsWhenDeleteServiceEndpointCalled() {
// when a service instance is created
given(brokerFixture.serviceInstanceRequest())
.when()
.put(brokerFixture.createServiceInstanceUrl(), "instance-id")
.then()
.statusCode(HttpStatus.ACCEPTED.value());
cloudControllerFixture.stubAppExists(APP_NAME_1);
cloudControllerFixture.stubAppExists(APP_NAME_2);
// when the "last_operation" API is polled
given(brokerFixture.serviceInstanceRequest())
.when()
.get(brokerFixture.getLastInstanceOperationUrl(), "instance-id")
.then()
.statusCode(HttpStatus.OK.value())
.body("state", is(equalTo(OperationState.IN_PROGRESS.toString())));
cloudControllerFixture.stubServiceBindingDoesNotExist(APP_NAME_1);
cloudControllerFixture.stubServiceBindingDoesNotExist(APP_NAME_2);
String state = brokerFixture.waitForAsyncOperationComplete("instance-id");
assertThat(state).isEqualTo(OperationState.SUCCEEDED.toString());
cloudControllerFixture.stubDeleteApp(APP_NAME_1);
cloudControllerFixture.stubDeleteApp(APP_NAME_2);
// when the service instance is deleted
given(brokerFixture.serviceInstanceRequest())
@@ -79,16 +74,8 @@ class DeleteInstanceComponentTest extends WiremockComponentTest {
.statusCode(HttpStatus.OK.value())
.body("state", is(equalTo(OperationState.IN_PROGRESS.toString())));
state = brokerFixture.waitForAsyncOperationComplete("instance-id");
String state = brokerFixture.waitForAsyncOperationComplete("instance-id");
assertThat(state).isEqualTo(OperationState.SUCCEEDED.toString());
// then the backing application is deleted
given(cloudFoundryFixture.request())
.when()
.get(cloudFoundryFixture.findApplicationUrl(APP_NAME))
.then()
.statusCode(HttpStatus.OK.value())
.body("resources.size", is(equalTo(0)));
}
}

View File

@@ -18,12 +18,12 @@ package org.springframework.cloud.appbroker.sample;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.TestInfo;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.appbroker.sample.fixtures.CloudFoundryApiFixture;
import org.springframework.cloud.appbroker.sample.fixtures.CloudControllerStubFixture;
import org.springframework.cloud.appbroker.sample.fixtures.OpenServiceBrokerApiFixture;
import org.springframework.cloud.appbroker.sample.fixtures.UaaStubFixture;
import org.springframework.cloud.appbroker.sample.fixtures.WiremockServerFixture;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.ActiveProfiles;
@@ -35,7 +35,8 @@ import org.springframework.test.context.junit.jupiter.SpringExtension;
classes = {AppBrokerSampleApplication.class,
WiremockServerFixture.class,
OpenServiceBrokerApiFixture.class,
CloudFoundryApiFixture.class},
CloudControllerStubFixture.class,
UaaStubFixture.class},
properties = {
"spring.cloud.appbroker.deployer.cloudfoundry.api-host=localhost",
"spring.cloud.appbroker.deployer.cloudfoundry.api-port=8080",
@@ -49,24 +50,28 @@ import org.springframework.test.context.junit.jupiter.SpringExtension;
@ActiveProfiles("openservicebroker-catalog")
@DirtiesContext
class WiremockComponentTest {
@Autowired
private WiremockServerFixture wiremockFixture;
@Autowired
private CloudFoundryApiFixture cloudFoundryFixture;
private CloudControllerStubFixture cloudFoundryFixture;
@Autowired
private UaaStubFixture uaaFixture;
@BeforeEach
void setUp(TestInfo testInfo) {
wiremockFixture.startWiremock(getTestMappings(testInfo));
cloudFoundryFixture.init();
void setUp() {
wiremockFixture.startWiremock();
uaaFixture.stubCommonUaaRequests();
cloudFoundryFixture.stubCommonCloudControllerRequests();
}
@AfterEach
void tearDown() {
wiremockFixture.verifyAllRequiredStubsUsed();
wiremockFixture.stopWiremock();
}
private static String getTestMappings(TestInfo testInfo) {
return "src/test/resources/recordings/" + testInfo.getDisplayName().replace("()", "") + "/";
}
}

View File

@@ -0,0 +1,280 @@
/*
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.appbroker.sample.fixtures;
import com.github.tomakehurst.wiremock.client.MappingBuilder;
import com.github.tomakehurst.wiremock.matching.ContentPattern;
import org.springframework.boot.test.context.TestComponent;
import static com.github.tomakehurst.wiremock.client.WireMock.created;
import static com.github.tomakehurst.wiremock.client.WireMock.delete;
import static com.github.tomakehurst.wiremock.client.WireMock.get;
import static com.github.tomakehurst.wiremock.client.WireMock.matchingJsonPath;
import static com.github.tomakehurst.wiremock.client.WireMock.noContent;
import static com.github.tomakehurst.wiremock.client.WireMock.ok;
import static com.github.tomakehurst.wiremock.client.WireMock.post;
import static com.github.tomakehurst.wiremock.client.WireMock.put;
import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
@TestComponent
public class CloudControllerStubFixture extends WiremockStubFixture {
private static final String TEST_SPACE_GUID = "TEST-SPACE-GUID";
private static final String TEST_ORG_GUID = "TEST-ORG-GUID";
public void stubCommonCloudControllerRequests() {
stubGetPlatformInfo();
stubFindTestOrg();
stubFindTestSpace();
stubFindDomains();
}
private void stubGetPlatformInfo() {
stubFor(get(urlEqualTo("/"))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody(cc("get-root"))));
stubFor(get(urlEqualTo("/v2/info"))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody(cc("get-info"))));
}
private void stubFindTestOrg() {
stubFor(get(urlPathEqualTo("/v2/organizations"))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody(cc("list-organizations",
replace("@org-guid", TEST_ORG_GUID)))));
}
private void stubFindTestSpace() {
stubFor(get(urlPathEqualTo("/v2/spaces"))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody(cc("list-spaces",
replace("@org-guid", TEST_ORG_GUID),
replace("@space-guid", TEST_SPACE_GUID)))));
stubFor(get(urlEqualTo("/v2/spaces/" + TEST_SPACE_GUID))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody(cc("get-space",
replace("@org-guid", TEST_ORG_GUID),
replace("@space-guid", TEST_SPACE_GUID)))));
}
private void stubFindDomains() {
stubFor(get(urlPathEqualTo("/v2/shared_domains"))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody(cc("list-shared-domains",
replace("@org-guid", TEST_ORG_GUID)))));
stubFor(get(urlPathEqualTo("/v2/organizations/" + TEST_ORG_GUID + "/private_domains"))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody(cc("empty-query-results"))));
}
public void stubAppDoesNotExist(final String appName) {
stubFor(get(urlEqualTo("/v2/spaces/" + TEST_SPACE_GUID + "/apps?q=name:" + appName + "&page=1"))
.willReturn(ok()
.withBody(cc("empty-query-results"))));
}
public void stubAppExists(final String appName) {
String appGuid = appName + "-GUID";
String stackGuid = appName + "-STACK-GUID";
String routeGuid = appName + "-ROUTE-GUID";
stubFor(get(urlEqualTo("/v2/spaces/" + TEST_SPACE_GUID + "/apps?q=name:" + appName + "&page=1"))
.willReturn(ok()
.withBody(cc("list-space-apps",
replace("@guid", appGuid),
replace("@space-guid", TEST_SPACE_GUID),
replace("@stack-guid", stackGuid)))));
stubFor(get(urlPathEqualTo("/v2/apps/" + appGuid + "/instances"))
.willReturn(ok()
.withBody(cc("get-app-instances"))));
stubFor(get(urlPathEqualTo("/v2/apps/" + appGuid + "/summary"))
.willReturn(ok()
.withBody(cc("get-app-summary",
replace("@name", appName),
replace("@guid", appGuid),
replace("@stack-guid", stackGuid),
replace("@route-guid", routeGuid)))));
stubFor(get(urlPathEqualTo("/v2/apps/" + appGuid + "/stats"))
.willReturn(ok()
.withBody(cc("get-app-stats",
replace("@name", appName)))));
stubFor(get(urlPathEqualTo("/v2/stacks/" + stackGuid))
.willReturn(ok()
.withBody(cc("get-stack",
replace("@guid", stackGuid)))));
}
public void stubPushApp(final String appName, ContentPattern<?>... appMetadataPatterns) {
String appGuid = appName + "-GUID";
String routeGuid = appName + "-ROUTE-GUID";
String uploadBitsJogGuid = appName + "-JOB-GUID";
//
// create app metadata
//
MappingBuilder mappingBuilder = post(urlEqualTo("/v2/apps"))
.withRequestBody(matchingJsonPath("$.[?(@.name == '" + appName + "')]"));
for (ContentPattern<?> appMetadataPattern : appMetadataPatterns) {
mappingBuilder.withRequestBody(appMetadataPattern);
}
stubFor(mappingBuilder
.willReturn(ok()
.withBody(cc("get-app-STOPPED",
replace("@name", appName),
replace("@guid", appGuid)))));
//
// map route to app
//
stubFor(get(urlPathEqualTo("/v2/apps/" + appGuid + "/routes"))
.willReturn(ok()
.withBody(cc("empty-query-results"))));
stubFor(get(urlEqualTo("/v2/routes?q=domain_guid:" + TEST_ORG_GUID + "&q=host:" + appName + "&page=1"))
.willReturn(ok()
.withBody(cc("empty-query-results"))));
stubFor(post(urlEqualTo("/v2/routes"))
.withRequestBody(matchingJsonPath("$.[?(@.host == '" + appName + "')]"))
.willReturn(created()
.withBody(cc("list-routes",
replace("@name", appName),
replace("@guid", routeGuid)))));
stubFor(put(urlEqualTo("/v2/apps/" + appGuid + "/routes/" + routeGuid))
.willReturn(created()
.withBody(cc("get-app-STOPPED",
replace("@name", appName),
replace("@guid", appGuid)))));
//
// perform pre-upload resource matching
//
stubFor(put(urlEqualTo("/v2/resource_match"))
.withMetadata(optionalStubMapping())
.willReturn(ok()
.withBody("[]")));
//
// upload app bits
//
stubFor(put(urlEqualTo("/v2/apps/" + appGuid + "/bits?async=true"))
.willReturn(created()
.withBody(cc("put-app-bits",
replace("@guid", uploadBitsJogGuid)))));
//
// initialize app state
//
stubFor(put(urlEqualTo("/v2/apps/" + appGuid))
.withRequestBody(matchingJsonPath("$.[?(@.state == 'STOPPED')]"))
.willReturn(created()
.withBody(cc("get-app-STOPPED",
replace("@name", appName),
replace("@guid", appGuid)))));
stubFor(put(urlEqualTo("/v2/apps/" + appGuid))
.withRequestBody(matchingJsonPath("$.[?(@.state == 'STARTED')]"))
.willReturn(created()
.withBody(cc("get-app-STARTED",
replace("@name", appName),
replace("@guid", appGuid)))));
//
// poll for app ready
//
stubFor(get(urlEqualTo("/v2/apps/" + appGuid))
.willReturn(ok()
.withBody(cc("get-app-STAGED"))));
stubFor(get(urlEqualTo("/v2/apps/" + appGuid + "/instances"))
.willReturn(ok()
.withBody(cc("get-app-instances"))));
}
public void stubDeleteApp(String appName) {
String appGuid = appName + "-GUID";
String routeGuid = appName + "-ROUTE-GUID";
stubFor(delete(urlPathEqualTo("/v2/routes/" + appName + "-ROUTE-GUID"))
.willReturn(ok()
.withBody(cc("get-route",
replace("@guid", routeGuid)))));
stubFor(delete(urlPathEqualTo("/v2/apps/" + appGuid))
.willReturn(noContent()));
}
public void stubServiceInstanceExists(String serviceInstanceName) {
stubFor(get(urlEqualTo("/v2/spaces/" + TEST_SPACE_GUID + "/service_instances" +
"?q=name:" + serviceInstanceName +
"&page=1" +
"&return_user_provided_service_instances=true"))
.willReturn(ok()
.withBody(cc("list-space-service_instances",
replace("@space-guid", TEST_SPACE_GUID),
replace("@name", serviceInstanceName),
replace("@guid", serviceInstanceName + "-GUID")))));
}
public void stubCreateServiceBinding(String appName, String serviceInstanceName) {
String appGuid = appName + "-GUID";
String serviceInstanceGuid = serviceInstanceName + "-GUID";
String serviceBindingGuid = appGuid + "-" + serviceInstanceGuid;
stubFor(post(urlEqualTo("/v2/service_bindings"))
.withRequestBody(matchingJsonPath("$.[?(@.app_guid == '" + appGuid + "')]"))
.withRequestBody(matchingJsonPath("$.[?(@.service_instance_guid == '" + serviceInstanceGuid + "')]"))
.willReturn(created()
.withBody(cc("list-service-bindings",
replace("@guid", serviceBindingGuid),
replace("@app-guid", appGuid),
replace("@service-instance-guid", serviceInstanceGuid)))));
}
public void stubServiceBindingDoesNotExist(String appName) {
String appGuid = appName + "-GUID";
stubFor(get(urlPathEqualTo("/v2/apps/" + appGuid + "/service_bindings"))
.willReturn(ok()
.withBody(cc("empty-query-results"))));
}
private String cc(String fileRoot, StringReplacementPair... replacements) {
String response = readResponseFromFile(fileRoot, "cloudcontroller");
for (StringReplacementPair pair : replacements) {
response = response.replaceAll(pair.getRegex(), pair.getReplacement());
}
return response;
}
}

View File

@@ -1,79 +0,0 @@
/*
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.appbroker.sample.fixtures;
import io.restassured.http.ContentType;
import io.restassured.http.Header;
import io.restassured.specification.RequestSpecification;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.TestComponent;
import org.springframework.http.HttpStatus;
import static io.restassured.RestAssured.given;
import static io.restassured.RestAssured.with;
@TestComponent
public class CloudFoundryApiFixture {
@Value("${spring.cloud.appbroker.deployer.cloudfoundry.api-host}")
private String cfApiHost;
@Value("${spring.cloud.appbroker.deployer.cloudfoundry.api-port}")
private int cfApiPort;
@Value("${spring.cloud.appbroker.deployer.cloudfoundry.default-org}")
private String cfDefaultOrg;
@Value("${spring.cloud.appbroker.deployer.cloudfoundry.default-space}")
private String cfDefaultSpace;
@Value("${wiremock.cloudfoundry.access-token:an.access.token}")
private String accessToken;
private String defaultSpaceGuid;
public void init() {
String orgGuid = given(request())
.when()
.get("/v2/organizations?q=name:{orgName}", cfDefaultOrg)
.then()
.statusCode(HttpStatus.OK.value())
.extract().body().jsonPath().getString("resources[0].metadata.guid");
defaultSpaceGuid = given(request())
.when()
.get("/v2/spaces?q=name:{spaceName}&q=organization_guid:{orgGuid}", cfDefaultSpace, orgGuid)
.then()
.statusCode(HttpStatus.OK.value())
.extract().body().jsonPath().getString("resources[0].metadata.guid");
}
public String findApplicationUrl(String appName) {
return "/v2/spaces/" + defaultSpaceGuid + "/apps?q=name:" + appName + "&page=1";
}
public RequestSpecification request() {
return with()
.baseUri("http://" + cfApiHost + ":" + cfApiPort)
.accept(ContentType.JSON)
.contentType(ContentType.JSON)
.header(getAuthorizationHeader());
}
private Header getAuthorizationHeader() {
return new Header("Authorization", "bearer " + accessToken);
}
}

View File

@@ -0,0 +1,41 @@
/*
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.appbroker.sample.fixtures;
import org.springframework.boot.test.context.TestComponent;
import static com.github.tomakehurst.wiremock.client.WireMock.ok;
import static com.github.tomakehurst.wiremock.client.WireMock.post;
import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
@TestComponent
public class UaaStubFixture extends WiremockStubFixture {
public void stubCommonUaaRequests() {
stubRetrieveAccessToken();
}
private void stubRetrieveAccessToken() {
stubFor(post(urlPathEqualTo("/oauth/token"))
.willReturn(ok()
.withBody(uaa("put-oauth-token"))));
}
private String uaa(String fileRoot) {
return readResponseFromFile(fileRoot, "uaa");
}
}

View File

@@ -17,19 +17,18 @@
package org.springframework.cloud.appbroker.sample.fixtures;
import com.github.tomakehurst.wiremock.WireMockServer;
import com.github.tomakehurst.wiremock.stubbing.StubMapping;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.TestComponent;
import org.springframework.cloud.appbroker.sample.transformers.URLLocalhostStubResponseTransformer;
import org.springframework.http.HttpStatus;
import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.any;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import java.util.stream.Collectors;
import static com.github.tomakehurst.wiremock.client.WireMock.recordSpec;
import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
import static org.apache.http.HttpHeaders.CONTENT_TYPE;
import static org.apache.http.entity.ContentType.APPLICATION_JSON;
import static org.assertj.core.api.Assertions.assertThat;
@TestComponent
public class WiremockServerFixture {
@@ -47,11 +46,10 @@ public class WiremockServerFixture {
private WireMockServer wiremockServer;
public void startWiremock(String recordingDirectoryName) {
public void startWiremock() {
wiremockServer = new WireMockServer(wireMockConfig()
.port(cfApiPort)
.usingFilesUnderDirectory(recordingDirectoryName)
.extensions(URLLocalhostStubResponseTransformer.class.getName()));
.usingFilesUnderClasspath("recordings"));
if (wiremockRecord) {
wiremockServer.startRecording(
@@ -61,8 +59,6 @@ public class WiremockServerFixture {
}
wiremockServer.start();
stubUAA();
}
public void stopWiremock() {
@@ -73,26 +69,26 @@ public class WiremockServerFixture {
wiremockServer.stop();
}
private void stubUAA() {
String refreshToken = "a.refresh.token";
public void verifyAllRequiredStubsUsed() {
Set<UUID> servedStubIds = wiremockServer.getServeEvents().getRequests().stream()
.filter(event -> event.getStubMapping() != null)
.map(event -> event.getStubMapping().getId())
.collect(Collectors.toSet());
stubFor(any(urlPathEqualTo("/oauth/token"))
.willReturn(aResponse()
.withStatus(HttpStatus.OK.value())
.withHeader(CONTENT_TYPE, APPLICATION_JSON.toString())
.withBody("{" +
"\"access_token\":\"" + accessToken + "\"" +
",\"token_type\":\"bearer\"" +
",\"refresh_token\":\"" + refreshToken + "\"" +
",\"expires_in\":7199" +
",\"scope\":\"network.write cloud_controller.admin " +
"routing.router_groups.read cloud_controller.write " +
"network.admin doppler.firehose openid routing.router_groups.write " +
"scim.read uaa.user cloud_controller.read password.write scim.write\"" +
",\"authorization_endpoint\":\"http://localhost\"" +
",\"jti\":\"287353917d704131a78967c13623a705\"" +
"}")
)
);
List<StubMapping> unusedStubs = wiremockServer.listAllStubMappings().getMappings().stream()
.filter(stub -> !servedStubIds.contains(stub.getId()))
.filter(this::stubIsOptional)
.collect(Collectors.toList());
assertThat(unusedStubs.size())
.as("%d wiremock stubs were unused. Unused stubs are: %s", unusedStubs.size(), unusedStubs)
.isEqualTo(0);
}
private boolean stubIsOptional(StubMapping stub) {
if (stub.getMetadata() != null) {
return !stub.getMetadata().getBoolean("optional");
}
return false;
}
}

View File

@@ -0,0 +1,78 @@
/*
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.appbroker.sample.fixtures;
import com.github.tomakehurst.wiremock.common.Metadata;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.stream.Collectors;
public class WiremockStubFixture {
private static final String RESPONSES_RESOURCE_PATH = "classpath:/responses/";
@Autowired
private ResourceLoader resourceLoader;
CloudControllerStubFixture.StringReplacementPair replace(String regex, String replacement) {
return new CloudControllerStubFixture.StringReplacementPair(regex, replacement);
}
String readResponseFromFile(String fileRoot, String prefix) {
return readTestDataFile(RESPONSES_RESOURCE_PATH + prefix + "/" + fileRoot + ".json");
}
private String readTestDataFile(String filePath) {
try {
Resource resource = resourceLoader.getResource(filePath);
InputStreamReader reader = new InputStreamReader(resource.getInputStream());
return new BufferedReader(reader)
.lines()
.collect(Collectors.joining("\n"));
} catch (IOException e) {
throw new RuntimeException("Error loading resource from location " + filePath, e);
}
}
Metadata optionalStubMapping() {
return Metadata.metadata()
.attr("optional", true)
.build();
}
class StringReplacementPair {
private final String regex;
private final String replacement;
private StringReplacementPair(String regex, String replacement) {
this.regex = regex;
this.replacement = replacement;
}
public String getRegex() {
return regex;
}
public String getReplacement() {
return replacement;
}
}
}

View File

@@ -1,55 +0,0 @@
/*
* Copyright 2016-2018. the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.appbroker.sample.transformers;
import com.github.tomakehurst.wiremock.common.FileSource;
import com.github.tomakehurst.wiremock.extension.Parameters;
import com.github.tomakehurst.wiremock.extension.ResponseTransformer;
import com.github.tomakehurst.wiremock.http.Request;
import com.github.tomakehurst.wiremock.http.Response;
import org.apache.logging.log4j.util.Strings;
public class URLLocalhostStubResponseTransformer extends ResponseTransformer {
@Override
public Response transform(Request request, Response response, FileSource files, Parameters parameters) {
String responseBody = updateUrlsToLocalhost(response);
return Response.Builder.like(response)
.but()
.body(responseBody)
.build();
}
private static String updateUrlsToLocalhost(Response response) {
String responseBody = response.getBodyAsString();
if (Strings.isNotEmpty(responseBody)) {
responseBody = responseBody.replaceAll("\"https://login.cf.*\"", "\"http://localhost\"");
responseBody = responseBody.replaceAll("\"https://uaa.cf.*\"", "\"http://localhost\"");
responseBody = responseBody.replaceAll("\"https://api.cf.*\"", "\"http://localhost\"");
responseBody = responseBody.replaceAll("\"name\": \"apps.*\"", "\"name\": \"localhost\"");
responseBody = responseBody.replaceAll("\"ssh.cf.*\"", "\"localhost\"");
responseBody = responseBody.replaceAll("\"https://credhub.cf.*\"", "\"http://localhost\"");
responseBody = responseBody.replaceAll("\"wss://doppler.cf.*\"", "\"wss://localhost\"");
}
return responseBody;
}
@Override
public String getName() {
return this.getClass().getSimpleName();
}
}

View File

@@ -1,24 +0,0 @@
{
"id" : "ef1e932f-7fd6-4eac-b770-92653a5ec964",
"name" : "",
"request" : {
"url" : "/",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"links\": {\n \"self\": {\n \"href\": \"http://localhost\"\n },\n \"cloud_controller_v2\": {\n \"href\": \"http://localhost\",\n \"meta\": {\n \"version\": \"2.103.0\"\n }\n },\n \"cloud_controller_v3\": {\n \"href\": \"http://localhost\",\n \"meta\": {\n \"version\": \"3.38.0\"\n }\n },\n \"network_policy_v0\": {\n \"href\": \"http://localhost\"\n },\n \"network_policy_v1\": {\n \"href\": \"http://localhost\"\n },\n \"uaa\": {\n \"href\": \"http://localhost\"\n },\n \"credhub\": null,\n \"routing\": {\n \"href\": \"http://localhost\"\n },\n \"logging\": {\n \"href\": \"wss://localhost\"\n },\n \"app_ssh\": {\n \"href\": \"localhost\",\n \"meta\": {\n \"host_key_fingerprint\": \"8c:db:69:39:90:e1:93:6a:f8:56:e9:a7:68:fc:52:d2\",\n \"oauth_client\": \"ssh-proxy\"\n }\n }\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "fd9aed67-425e-4a55-5eb5-fcf0e273f658::0d881191-5823-4282-8bf9-cec2b8ea427c",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "ef1e932f-7fd6-4eac-b770-92653a5ec964",
"persistent" : true,
"insertionIndex" : 4
}

View File

@@ -1,27 +0,0 @@
{
"id" : "0ebfa654-308a-40ad-9a5a-61b3796460ae",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:57 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "9d14baa0-6285-4549-55ef-3ebdc3770348::879f6de6-c179-4315-9964-7f9f9ff087d7",
"Keep-Alive" : "timeout=5, max=84",
"Connection" : "Keep-Alive"
}
},
"uuid" : "0ebfa654-308a-40ad-9a5a-61b3796460ae",
"persistent" : true,
"scenarioName" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452",
"requiredScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-2",
"newScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-3",
"insertionIndex" : 22
}

View File

@@ -1,27 +0,0 @@
{
"id" : "24ac50d5-181c-4db5-9094-ba324bcfc6ad",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:27 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "c46d7891-eae4-48ae-4529-8e8c56f0e0e9::0565065c-9ffe-4b41-a7b7-8c0515c7fc27",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "24ac50d5-181c-4db5-9094-ba324bcfc6ad",
"persistent" : true,
"scenarioName" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452",
"requiredScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-6",
"newScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-7",
"insertionIndex" : 26
}

View File

@@ -1,27 +0,0 @@
{
"id" : "24df806c-d84f-4c81-a2d3-4080bcfcbd4f",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:04 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "02c6e12a-6573-4a24-5b12-45acb7448226::a7880854-c16f-4960-b1fe-9eae294845cf",
"Keep-Alive" : "timeout=5, max=82",
"Connection" : "Keep-Alive"
}
},
"uuid" : "24df806c-d84f-4c81-a2d3-4080bcfcbd4f",
"persistent" : true,
"scenarioName" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452",
"requiredScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-4",
"newScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-5",
"insertionIndex" : 24
}

View File

@@ -1,29 +0,0 @@
{
"id" : "331f7536-4fa2-467a-ae50-71ec876d051b",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"buildpack\":\"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\"disk_quota\":1024,\"environment_json\":{\"SPRING_APPLICATION_INDEX\":\"${vcap.application.instance_index}\",\"SPRING_APPLICATION_JSON\":\"{}\",\"SPRING_CLOUD_APPLICATION_GUID\":\"${vcap.application.name}:${vcap.application.instance_index}\"},\"health_check_http_endpoint\":\"/health\",\"health_check_timeout\":120,\"health_check_type\":\"port\",\"instances\":1,\"memory\":1024,\"name\":\"helloworldapp\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:52Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"a8ab0797-0744-4e1f-8cb1-abde36604429\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"610ebd90-fb60-47bc-8a6e-bbce8d0ef4d1\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:27:32Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "1d64f31b-f322-4bb5-7595-9aaeb38fa4c1::4984eb2d-8c47-4173-9ca1-1264de6aee4e",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "331f7536-4fa2-467a-ae50-71ec876d051b",
"persistent" : true,
"insertionIndex" : 12
}

View File

@@ -1,22 +0,0 @@
{
"id" : "38a4ee5a-ec12-4c67-b9cc-de9ef4b8cb6e",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "DELETE"
},
"response" : {
"status" : 204,
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:49 GMT",
"Server" : "nginx",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "aa1eb970-bdbe-457c-6d54-f5692d77b5e5::087f7c08-0cf3-49c9-802b-83227d084e7c",
"Keep-Alive" : "timeout=5, max=91",
"Connection" : "Keep-Alive"
}
},
"uuid" : "38a4ee5a-ec12-4c67-b9cc-de9ef4b8cb6e",
"persistent" : true,
"insertionIndex" : 43
}

View File

@@ -1,27 +0,0 @@
{
"id" : "4521e0c6-024e-4750-8ef2-c191bab61b9f",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:12 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "cd840f0d-1ff7-43ec-49c7-448559e06d27::5d20e811-1492-4b01-9f6b-f4865233f618",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "4521e0c6-024e-4750-8ef2-c191bab61b9f",
"persistent" : true,
"scenarioName" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452",
"requiredScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-5",
"newScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-6",
"insertionIndex" : 25
}

View File

@@ -1,26 +0,0 @@
{
"id" : "5e708ffa-759b-43b9-a205-2b172fb74829",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:42 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "f5e308a5-5da2-44de-7bd3-aaea3e703008::ba4e4b34-8d16-4d71-8add-741271c8313e",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "5e708ffa-759b-43b9-a205-2b172fb74829",
"persistent" : true,
"scenarioName" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452",
"requiredScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-7",
"insertionIndex" : 27
}

View File

@@ -1,29 +0,0 @@
{
"id" : "b6f1471c-89e0-403d-9997-75b5d805f859",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"state\":\"STOPPED\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STOPPED\",\n \"version\": \"a8ab0797-0744-4e1f-8cb1-abde36604429\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"610ebd90-fb60-47bc-8a6e-bbce8d0ef4d1\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:56 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "055f2cb1-9e9a-48f6-62c5-3253f70564b8::2a280204-07d6-4985-aa91-c8900b6bfe99",
"Keep-Alive" : "timeout=5, max=87",
"Connection" : "Keep-Alive"
}
},
"uuid" : "b6f1471c-89e0-403d-9997-75b5d805f859",
"persistent" : true,
"insertionIndex" : 19
}

View File

@@ -1,29 +0,0 @@
{
"id" : "c607e760-e787-45c9-980c-f8a82230933c",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"state\":\"STARTED\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:56 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "7d0c9288-fb1b-4e40-42e5-35b89fcfeaf4::5732573f-042c-470a-9cf7-236d022eed37",
"Keep-Alive" : "timeout=5, max=86",
"Connection" : "Keep-Alive"
}
},
"uuid" : "c607e760-e787-45c9-980c-f8a82230933c",
"persistent" : true,
"insertionIndex" : 20
}

View File

@@ -1,27 +0,0 @@
{
"id" : "c81534ca-085d-45c4-a4cb-f68fd46ab003",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:00 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "b788d875-d04c-4fbd-65b2-5f5f6e360e4a::05165620-ff90-43c4-86bf-6fc1c5e7fc53",
"Keep-Alive" : "timeout=5, max=83",
"Connection" : "Keep-Alive"
}
},
"uuid" : "c81534ca-085d-45c4-a4cb-f68fd46ab003",
"persistent" : true,
"scenarioName" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452",
"requiredScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-3",
"newScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-4",
"insertionIndex" : 23
}

View File

@@ -1,27 +0,0 @@
{
"id" : "e016b065-b5eb-4a2a-812b-2649d9b52256",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:56 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "9ebdc1cb-10f6-44a3-7225-4bd997ef31b9::e38e89a5-ac26-4810-bc77-8bdd1f629e48",
"Keep-Alive" : "timeout=5, max=85",
"Connection" : "Keep-Alive"
}
},
"uuid" : "e016b065-b5eb-4a2a-812b-2649d9b52256",
"persistent" : true,
"scenarioName" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-apps-e3b0c178-e270-416b-b77c-d75a875c0452-2",
"insertionIndex" : 21
}

View File

@@ -1,27 +0,0 @@
{
"id" : "33ddaa3d-e56a-4efe-9738-ba1d1d832fc5",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_bits",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/bits?async=true",
"method" : "PUT",
"bodyPatterns" : [ {
"anything" : "anything"
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"0c581748-ffb0-443e-b1aa-0a10d9ef97b4\",\n \"created_at\": \"2018-07-19T23:29:53Z\",\n \"url\": \"/v2/jobs/0c581748-ffb0-443e-b1aa-0a10d9ef97b4\"\n },\n \"entity\": {\n \"guid\": \"0c581748-ffb0-443e-b1aa-0a10d9ef97b4\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:53 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "dfb9a770-dced-45d1-6497-3bd620820f19::796d55c0-0944-4df9-bbaa-cdcfb18c0356",
"Keep-Alive" : "timeout=5, max=91",
"Connection" : "Keep-Alive"
}
},
"uuid" : "33ddaa3d-e56a-4efe-9738-ba1d1d832fc5",
"persistent" : true,
"insertionIndex" : 15
}

View File

@@ -1,27 +0,0 @@
{
"id" : "189afded-f9ef-440e-af82-4d2c7c67ed87",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_instances",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"STARTING\",\"uptime\":8,\"since\":1532043033}}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:42 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "602ff9ff-fe98-45b1-6511-3e07dce4555b::e6ae4bb7-ac40-45cf-9939-10fcd6a28863",
"Keep-Alive" : "timeout=5, max=99",
"Connection" : "Keep-Alive"
}
},
"uuid" : "189afded-f9ef-440e-af82-4d2c7c67ed87",
"persistent" : true,
"scenarioName" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances-2",
"insertionIndex" : 28
}

View File

@@ -1,27 +0,0 @@
{
"id" : "6b17c875-6d1f-45f5-a62b-f4272019db06",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_instances",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"STARTING\",\"uptime\":9,\"since\":1532043033}}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:43 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "bc30a35b-4561-49a9-7a76-9d1bb36ae206::a0ab44e9-3752-4d2f-a57d-3ae0963f7b37",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "6b17c875-6d1f-45f5-a62b-f4272019db06",
"persistent" : true,
"scenarioName" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances",
"requiredScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances-2",
"newScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances-3",
"insertionIndex" : 29
}

View File

@@ -1,26 +0,0 @@
{
"id" : "a7470a9e-ec08-4a76-bd57-83066d667583",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_instances",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"RUNNING\",\"uptime\":1,\"since\":1532043044}}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "6460c1c8-f90c-4289-6e53-6149167b5773::705baaf7-a334-4b28-9fa0-28deffa373d2",
"Keep-Alive" : "timeout=5, max=95",
"Connection" : "Keep-Alive"
}
},
"uuid" : "a7470a9e-ec08-4a76-bd57-83066d667583",
"persistent" : true,
"scenarioName" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances",
"requiredScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances-4",
"insertionIndex" : 32
}

View File

@@ -1,27 +0,0 @@
{
"id" : "b94ea2f5-ec55-4b5f-af63-2c9022ba41b3",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_instances",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"RUNNING\",\"uptime\":1,\"since\":1532043044}}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "909f845e-dfda-46bc-7a3b-a73ddde1d1c3::3a87287e-0011-45ba-bd9f-e05b6d5f914f",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "b94ea2f5-ec55-4b5f-af63-2c9022ba41b3",
"persistent" : true,
"scenarioName" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances",
"requiredScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances-3",
"newScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-instances-4",
"insertionIndex" : 30
}

View File

@@ -1,24 +0,0 @@
{
"id" : "9e8a1efe-2ba1-4e23-96db-78b2b0288950",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_routes",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"d80f7cdd-876d-4b54-8ca4-4acdfa9247bf\",\n \"url\": \"/v2/routes/d80f7cdd-876d-4b54-8ca4-4acdfa9247bf\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:27:31Z\"\n },\n \"entity\": {\n \"host\": \"helloworldapp\",\n \"path\": \"\",\n \"domain_guid\": \"28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"service_instance_guid\": null,\n \"port\": null,\n \"domain_url\": \"/v2/shared_domains/28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"apps_url\": \"/v2/routes/d80f7cdd-876d-4b54-8ca4-4acdfa9247bf/apps\",\n \"route_mappings_url\": \"/v2/routes/d80f7cdd-876d-4b54-8ca4-4acdfa9247bf/route_mappings\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:53 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "b178b377-d000-4b4f-4ce2-05fa7da8eba7::27f5628c-5555-4a8f-be35-bd7d384cbac9",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "9e8a1efe-2ba1-4e23-96db-78b2b0288950",
"persistent" : true,
"insertionIndex" : 13
}

View File

@@ -1,24 +0,0 @@
{
"id" : "19c59b3f-2d4e-4db3-9154-4f0c0f51cda0",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_service_bindings",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 0,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:48 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "df820c0f-bd70-4f3e-7eaa-2e39a6043c77::a00c0a2d-5557-4d5e-8227-436a59cfa122",
"Keep-Alive" : "timeout=5, max=92",
"Connection" : "Keep-Alive"
}
},
"uuid" : "19c59b3f-2d4e-4db3-9154-4f0c0f51cda0",
"persistent" : true,
"insertionIndex" : 42
}

View File

@@ -1,24 +0,0 @@
{
"id" : "7103b19d-4bcd-46b7-9d4c-c3800e02a718",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_stats",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/stats",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"RUNNING\",\"isolation_segment\":null,\"stats\":{\"name\":\"helloworldapp\",\"uris\":[\"helloworldapp.apps.scottfrederick.io\"],\"host\":\"192.168.1.106\",\"port\":61012,\"uptime\":1,\"mem_quota\":1073741824,\"disk_quota\":1073741824,\"fds_quota\":16384,\"usage\":{\"time\":\"2018-07-19T23:30:45+00:00\",\"cpu\":0.0,\"mem\":239304704,\"disk\":147185664}}}}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "0b0232cd-b0f6-44dc-4711-9d5e6ee83e7e::cfba620b-ea59-4218-8bac-2573836025f1",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "7103b19d-4bcd-46b7-9d4c-c3800e02a718",
"persistent" : true,
"insertionIndex" : 34
}

View File

@@ -1,27 +0,0 @@
{
"id" : "9bc74743-c1cf-4011-a6c6-926860cf4c73",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_summary",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/summary",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"guid\":\"e3b0c178-e270-416b-b77c-d75a875c0452\",\"name\":\"helloworldapp\",\"routes\":[{\"guid\":\"d80f7cdd-876d-4b54-8ca4-4acdfa9247bf\",\"host\":\"helloworldapp\",\"port\":null,\"path\":\"\",\"domain\":{\"guid\":\"28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\"name\":\"apps.scottfrederick.io\"}}],\"running_instances\":1,\"services\":[],\"available_domains\":[{\"guid\":\"28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\"name\":\"apps.scottfrederick.io\",\"router_group_guid\":null,\"router_group_type\":null},{\"guid\":\"552417c3-b176-4e36-84b8-22ff7eeb0b84\",\"name\":\"apps.internal\",\"router_group_guid\":null,\"router_group_type\":null}],\"production\":false,\"space_guid\":\"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\"stack_guid\":\"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\"buildpack\":\"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\"detected_buildpack\":\"\",\"detected_buildpack_guid\":null,\"environment_json\":{\"SPRING_APPLICATION_INDEX\":\"${vcap.application.instance_index}\",\"SPRING_APPLICATION_JSON\":\"{}\",\"SPRING_CLOUD_APPLICATION_GUID\":\"${vcap.application.name}:${vcap.application.instance_index}\"},\"memory\":1024,\"instances\":1,\"disk_quota\":1024,\"state\":\"STARTED\",\"version\":\"4689920b-c904-4b55-b7ba-5acd488c302f\",\"command\":null,\"console\":false,\"debug\":null,\"staging_task_id\":\"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\"package_state\":\"STAGED\",\"health_check_type\":\"port\",\"health_check_timeout\":120,\"health_check_http_endpoint\":\"/health\",\"staging_failed_reason\":null,\"staging_failed_description\":null,\"diego\":true,\"docker_image\":null,\"package_updated_at\":\"2018-07-19T23:29:53Z\",\"detected_start_command\":\"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\"enable_ssh\":true,\"ports\":null}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "d54956aa-5860-4236-71f9-bdb454236922::15fe093f-52cc-4e74-a232-b97bd80bcada",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "9bc74743-c1cf-4011-a6c6-926860cf4c73",
"persistent" : true,
"scenarioName" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-summary",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-summary-2",
"insertionIndex" : 33
}

View File

@@ -1,26 +0,0 @@
{
"id" : "c9069ce0-c1de-47ac-b5be-a98e99f3a19e",
"name" : "v2_apps_e3b0c178-e270-416b-b77c-d75a875c0452_summary",
"request" : {
"url" : "/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/summary",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"guid\":\"e3b0c178-e270-416b-b77c-d75a875c0452\",\"name\":\"helloworldapp\",\"routes\":[{\"guid\":\"d80f7cdd-876d-4b54-8ca4-4acdfa9247bf\",\"host\":\"helloworldapp\",\"port\":null,\"path\":\"\",\"domain\":{\"guid\":\"28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\"name\":\"apps.scottfrederick.io\"}}],\"running_instances\":1,\"services\":[],\"available_domains\":[{\"guid\":\"28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\"name\":\"apps.scottfrederick.io\",\"router_group_guid\":null,\"router_group_type\":null},{\"guid\":\"552417c3-b176-4e36-84b8-22ff7eeb0b84\",\"name\":\"apps.internal\",\"router_group_guid\":null,\"router_group_type\":null}],\"production\":false,\"space_guid\":\"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\"stack_guid\":\"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\"buildpack\":\"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\"detected_buildpack\":\"\",\"detected_buildpack_guid\":null,\"environment_json\":{\"SPRING_APPLICATION_INDEX\":\"${vcap.application.instance_index}\",\"SPRING_APPLICATION_JSON\":\"{}\",\"SPRING_CLOUD_APPLICATION_GUID\":\"${vcap.application.name}:${vcap.application.instance_index}\"},\"memory\":1024,\"instances\":1,\"disk_quota\":1024,\"state\":\"STARTED\",\"version\":\"4689920b-c904-4b55-b7ba-5acd488c302f\",\"command\":null,\"console\":false,\"debug\":null,\"staging_task_id\":\"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\"package_state\":\"STAGED\",\"health_check_type\":\"port\",\"health_check_timeout\":120,\"health_check_http_endpoint\":\"/health\",\"staging_failed_reason\":null,\"staging_failed_description\":null,\"diego\":true,\"docker_image\":null,\"package_updated_at\":\"2018-07-19T23:29:53Z\",\"detected_start_command\":\"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\"enable_ssh\":true,\"ports\":null}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "edb82d38-f718-42d9-6dc3-8fe63a8917c0::696ef205-7a72-4a55-b207-ec03592aef85",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "c9069ce0-c1de-47ac-b5be-a98e99f3a19e",
"persistent" : true,
"scenarioName" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-summary",
"requiredScenarioState" : "scenario-e3b0c178-e270-416b-b77c-d75a875c0452-summary-2",
"insertionIndex" : 37
}

View File

@@ -1,24 +0,0 @@
{
"id" : "ab000a12-6b8e-4345-8f4c-e2f3a3f4c555",
"name" : "v2_info",
"request" : {
"url" : "/v2/info",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"name\":\"\",\"build\":\"\",\"support\":\"https://support.pivotal.io\",\"version\":0,\"description\":\"\",\"authorization_endpoint\":\"http://localhost\"}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "f30306fb-7d6a-46a7-4550-85c70840b707::4e5f7b24-302c-455c-ab34-d0914b57b1da",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "ab000a12-6b8e-4345-8f4c-e2f3a3f4c555",
"persistent" : true,
"insertionIndex" : 5
}

View File

@@ -1,27 +0,0 @@
{
"id" : "0f274c1b-9362-43cb-b140-6aa9dbdeaba7",
"name" : "v2_jobs_0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"request" : {
"url" : "/v2/jobs/0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"0c581748-ffb0-443e-b1aa-0a10d9ef97b4\",\n \"created_at\": \"2018-07-19T23:29:53Z\",\n \"url\": \"/v2/jobs/0c581748-ffb0-443e-b1aa-0a10d9ef97b4\"\n },\n \"entity\": {\n \"guid\": \"0c581748-ffb0-443e-b1aa-0a10d9ef97b4\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:53 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "6c0bcf09-c347-40e6-52fd-b4269485838f::3f67503a-92e3-454c-b49c-ae475ef20bef",
"Keep-Alive" : "timeout=5, max=90",
"Connection" : "Keep-Alive"
}
},
"uuid" : "0f274c1b-9362-43cb-b140-6aa9dbdeaba7",
"persistent" : true,
"scenarioName" : "scenario-jobs-0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-jobs-0c581748-ffb0-443e-b1aa-0a10d9ef97b4-2",
"insertionIndex" : 16
}

View File

@@ -1,27 +0,0 @@
{
"id" : "5d2b9815-05af-455e-8956-c5e971a9c417",
"name" : "v2_jobs_0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"request" : {
"url" : "/v2/jobs/0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"0c581748-ffb0-443e-b1aa-0a10d9ef97b4\",\n \"created_at\": \"2018-07-19T23:29:53Z\",\n \"url\": \"/v2/jobs/0c581748-ffb0-443e-b1aa-0a10d9ef97b4\"\n },\n \"entity\": {\n \"guid\": \"0c581748-ffb0-443e-b1aa-0a10d9ef97b4\",\n \"status\": \"running\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:54 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "53125aa0-3d8f-40de-5faf-30a964f5efed::0b514dd0-4568-4983-bb7d-9526e9a2c19a",
"Keep-Alive" : "timeout=5, max=89",
"Connection" : "Keep-Alive"
}
},
"uuid" : "5d2b9815-05af-455e-8956-c5e971a9c417",
"persistent" : true,
"scenarioName" : "scenario-jobs-0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"requiredScenarioState" : "scenario-jobs-0c581748-ffb0-443e-b1aa-0a10d9ef97b4-2",
"newScenarioState" : "scenario-jobs-0c581748-ffb0-443e-b1aa-0a10d9ef97b4-3",
"insertionIndex" : 17
}

View File

@@ -1,26 +0,0 @@
{
"id" : "f26da7ce-17c8-49a5-8bae-fd603755bbae",
"name" : "v2_jobs_0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"request" : {
"url" : "/v2/jobs/0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"0\",\n \"created_at\": \"1970-01-01T00:00:00Z\",\n \"url\": \"/v2/jobs/0\"\n },\n \"entity\": {\n \"guid\": \"0\",\n \"status\": \"finished\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:56 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "99884cb1-b9d8-4bd6-49b7-85c0f7bd35a4::aadcd1ce-532b-41ae-b4aa-58aa9b609087",
"Keep-Alive" : "timeout=5, max=88",
"Connection" : "Keep-Alive"
}
},
"uuid" : "f26da7ce-17c8-49a5-8bae-fd603755bbae",
"persistent" : true,
"scenarioName" : "scenario-jobs-0c581748-ffb0-443e-b1aa-0a10d9ef97b4",
"requiredScenarioState" : "scenario-jobs-0c581748-ffb0-443e-b1aa-0a10d9ef97b4-3",
"insertionIndex" : 18
}

View File

@@ -1,27 +0,0 @@
{
"id" : "3bf808fc-c5a9-4677-b644-90acdd6c0945",
"name" : "v2_jobs_4369e78e-7c95-4822-af0f-431f70ca38d2",
"request" : {
"url" : "/v2/jobs/4369e78e-7c95-4822-af0f-431f70ca38d2",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"4369e78e-7c95-4822-af0f-431f70ca38d2\",\n \"created_at\": \"2018-07-19T23:30:45Z\",\n \"url\": \"/v2/jobs/4369e78e-7c95-4822-af0f-431f70ca38d2\"\n },\n \"entity\": {\n \"guid\": \"4369e78e-7c95-4822-af0f-431f70ca38d2\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "cb00b5e1-3913-408a-7447-9765f44abd7f::bab371c7-8374-4c71-9766-db16e815533c",
"Keep-Alive" : "timeout=5, max=95",
"Connection" : "Keep-Alive"
}
},
"uuid" : "3bf808fc-c5a9-4677-b644-90acdd6c0945",
"persistent" : true,
"scenarioName" : "scenario-jobs-4369e78e-7c95-4822-af0f-431f70ca38d2",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-jobs-4369e78e-7c95-4822-af0f-431f70ca38d2-2",
"insertionIndex" : 39
}

View File

@@ -1,26 +0,0 @@
{
"id" : "42241b00-bbac-422b-aebe-63114db2926d",
"name" : "v2_jobs_4369e78e-7c95-4822-af0f-431f70ca38d2",
"request" : {
"url" : "/v2/jobs/4369e78e-7c95-4822-af0f-431f70ca38d2",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"0\",\n \"created_at\": \"1970-01-01T00:00:00Z\",\n \"url\": \"/v2/jobs/0\"\n },\n \"entity\": {\n \"guid\": \"0\",\n \"status\": \"finished\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:48 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "37a229d3-3cf8-40ed-44c7-10c9ba1b5612::e6ca3a60-00da-4140-9c8f-103a1669897d",
"Keep-Alive" : "timeout=5, max=93",
"Connection" : "Keep-Alive"
}
},
"uuid" : "42241b00-bbac-422b-aebe-63114db2926d",
"persistent" : true,
"scenarioName" : "scenario-jobs-4369e78e-7c95-4822-af0f-431f70ca38d2",
"requiredScenarioState" : "scenario-jobs-4369e78e-7c95-4822-af0f-431f70ca38d2-3",
"insertionIndex" : 41
}

View File

@@ -1,27 +0,0 @@
{
"id" : "a1ca27a3-62bc-4253-808a-8452c3693c34",
"name" : "v2_jobs_4369e78e-7c95-4822-af0f-431f70ca38d2",
"request" : {
"url" : "/v2/jobs/4369e78e-7c95-4822-af0f-431f70ca38d2",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"4369e78e-7c95-4822-af0f-431f70ca38d2\",\n \"created_at\": \"2018-07-19T23:30:45Z\",\n \"url\": \"/v2/jobs/4369e78e-7c95-4822-af0f-431f70ca38d2\"\n },\n \"entity\": {\n \"guid\": \"4369e78e-7c95-4822-af0f-431f70ca38d2\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:46 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "9b71eae6-4123-4601-621c-d987f3fcc15f::6bf9353a-8d48-4684-8f31-d871f4d2b2e0",
"Keep-Alive" : "timeout=5, max=94",
"Connection" : "Keep-Alive"
}
},
"uuid" : "a1ca27a3-62bc-4253-808a-8452c3693c34",
"persistent" : true,
"scenarioName" : "scenario-jobs-4369e78e-7c95-4822-af0f-431f70ca38d2",
"requiredScenarioState" : "scenario-jobs-4369e78e-7c95-4822-af0f-431f70ca38d2-2",
"newScenarioState" : "scenario-jobs-4369e78e-7c95-4822-af0f-431f70ca38d2-3",
"insertionIndex" : 40
}

View File

@@ -1,24 +0,0 @@
{
"id" : "57991110-1c9f-4726-90f7-77028bbe26d5",
"name" : "v2_organizations",
"request" : {
"url" : "/v2/organizations?q=name%3Atest",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"b3e001e9-4956-40e3-9695-79325199355f\",\n \"url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f\",\n \"created_at\": \"2018-07-19T20:33:45Z\",\n \"updated_at\": \"2018-07-19T20:33:45Z\"\n },\n \"entity\": {\n \"name\": \"test\",\n \"billing_enabled\": false,\n \"quota_definition_guid\": \"7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"status\": \"active\",\n \"default_isolation_segment_guid\": null,\n \"quota_definition_url\": \"/v2/quota_definitions/7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"spaces_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/spaces\",\n \"domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/domains\",\n \"private_domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/private_domains\",\n \"users_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/users\",\n \"managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/managers\",\n \"billing_managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/billing_managers\",\n \"auditors_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/auditors\",\n \"app_events_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/app_events\",\n \"space_quota_definitions_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/space_quota_definitions\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "7f999ff1-0854-4983-666c-c22bf0952bbe::4c21b991-b70f-4ceb-86da-fb53bf57faef",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "57991110-1c9f-4726-90f7-77028bbe26d5",
"persistent" : true,
"insertionIndex" : 2
}

View File

@@ -1,24 +0,0 @@
{
"id" : "6083a924-43de-40e1-8f50-e67ae8b85136",
"name" : "v2_organizations",
"request" : {
"url" : "/v2/organizations?q=name:test&page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"b3e001e9-4956-40e3-9695-79325199355f\",\n \"url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f\",\n \"created_at\": \"2018-07-19T20:33:45Z\",\n \"updated_at\": \"2018-07-19T20:33:45Z\"\n },\n \"entity\": {\n \"name\": \"test\",\n \"billing_enabled\": false,\n \"quota_definition_guid\": \"7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"status\": \"active\",\n \"default_isolation_segment_guid\": null,\n \"quota_definition_url\": \"/v2/quota_definitions/7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"spaces_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/spaces\",\n \"domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/domains\",\n \"private_domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/private_domains\",\n \"users_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/users\",\n \"managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/managers\",\n \"billing_managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/billing_managers\",\n \"auditors_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/auditors\",\n \"app_events_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/app_events\",\n \"space_quota_definitions_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/space_quota_definitions\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "8fa0ec3c-8f39-46ea-693a-bceade9b5d88::e5b99b89-da84-47ee-b0fe-cc51a388c321",
"Keep-Alive" : "timeout=5, max=96",
"Connection" : "Keep-Alive"
}
},
"uuid" : "6083a924-43de-40e1-8f50-e67ae8b85136",
"persistent" : true,
"insertionIndex" : 6
}

View File

@@ -1,24 +0,0 @@
{
"id" : "4211ed0b-f9b6-48c6-9029-7d47bb95444c",
"name" : "v2_organizations_b3e001e9-4956-40e3-9695-79325199355f_private_domains",
"request" : {
"url" : "/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/private_domains?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 0,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "e6290edc-657b-4b89-54e1-8c58bf5d6372::0260057b-9521-4865-8e6e-36c6b907dbee",
"Keep-Alive" : "timeout=5, max=93",
"Connection" : "Keep-Alive"
}
},
"uuid" : "4211ed0b-f9b6-48c6-9029-7d47bb95444c",
"persistent" : true,
"insertionIndex" : 9
}

View File

@@ -1,24 +0,0 @@
{
"id" : "bd2ca0cd-daf9-49ab-8e97-3a5c8b5e0cfd",
"name" : "v2_routes_d80f7cdd-876d-4b54-8ca4-4acdfa9247bf",
"request" : {
"url" : "/v2/routes/d80f7cdd-876d-4b54-8ca4-4acdfa9247bf?async=true",
"method" : "DELETE"
},
"response" : {
"status" : 202,
"body" : "{\n \"metadata\": {\n \"guid\": \"4369e78e-7c95-4822-af0f-431f70ca38d2\",\n \"created_at\": \"2018-07-19T23:30:45Z\",\n \"url\": \"/v2/jobs/4369e78e-7c95-4822-af0f-431f70ca38d2\"\n },\n \"entity\": {\n \"guid\": \"4369e78e-7c95-4822-af0f-431f70ca38d2\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "feebc93a-c391-4687-64a2-8a554c46b45e::6e44a800-a6e6-4874-860f-83bca20ccec4",
"Keep-Alive" : "timeout=5, max=96",
"Connection" : "Keep-Alive"
}
},
"uuid" : "bd2ca0cd-daf9-49ab-8e97-3a5c8b5e0cfd",
"persistent" : true,
"insertionIndex" : 38
}

View File

@@ -1,24 +0,0 @@
{
"id" : "f6f3a899-fcb7-415a-9dd4-1bc45b892c63",
"name" : "v2_shared_domains",
"request" : {
"url" : "/v2/shared_domains?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 2,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\n \"url\": \"/v2/shared_domains/28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\n \"created_at\": \"2018-03-28T22:15:03Z\",\n \"updated_at\": \"2018-04-13T20:33:21Z\"\n },\n \"entity\": {\n \"name\": \"localhost\",\n \"router_group_guid\": null,\n \"router_group_type\": null\n }\n },\n {\n \"metadata\": {\n \"guid\": \"552417c3-b176-4e36-84b8-22ff7eeb0b84\",\n \"url\": \"/v2/shared_domains/552417c3-b176-4e36-84b8-22ff7eeb0b84\",\n \"created_at\": \"2018-04-05T18:31:55Z\",\n \"updated_at\": \"2018-04-05T18:31:55Z\"\n },\n \"entity\": {\n \"name\": \"localhost\",\n \"router_group_guid\": null,\n \"router_group_type\": null\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "2ee9b335-8217-472b-69bf-5212abf5fb5d::80ca224e-9028-49ea-9250-cdf4b2264dd7",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "f6f3a899-fcb7-415a-9dd4-1bc45b892c63",
"persistent" : true,
"insertionIndex" : 10
}

View File

@@ -1,24 +0,0 @@
{
"id" : "3ec83680-d43c-4aec-bf4d-098a136900d4",
"name" : "v2_spaces",
"request" : {
"url" : "/v2/spaces?q=name%3Adevelopment&q=organization_guid%3Ab3e001e9-4956-40e3-9695-79325199355f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"created_at\": \"2018-07-19T20:34:16Z\",\n \"updated_at\": \"2018-07-19T20:34:16Z\"\n },\n \"entity\": {\n \"name\": \"development\",\n \"organization_guid\": \"b3e001e9-4956-40e3-9695-79325199355f\",\n \"space_quota_definition_guid\": null,\n \"isolation_segment_guid\": null,\n \"allow_ssh\": true,\n \"organization_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f\",\n \"developers_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/developers\",\n \"managers_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/managers\",\n \"auditors_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/auditors\",\n \"apps_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/apps\",\n \"routes_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/routes\",\n \"domains_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/domains\",\n \"service_instances_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/service_instances\",\n \"app_events_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/app_events\",\n \"events_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/events\",\n \"security_groups_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/security_groups\",\n \"staging_security_groups_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/staging_security_groups\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "64326483-8121-4ff0-6b90-b1abe4049060::c0c8a224-3b1d-42a7-8089-597d709c23cc",
"Keep-Alive" : "timeout=5, max=99",
"Connection" : "Keep-Alive"
}
},
"uuid" : "3ec83680-d43c-4aec-bf4d-098a136900d4",
"persistent" : true,
"insertionIndex" : 3
}

View File

@@ -1,24 +0,0 @@
{
"id" : "b6f30018-aef1-4b59-b9d7-8c1d63e4ea69",
"name" : "v2_spaces",
"request" : {
"url" : "/v2/spaces?q=name:development&q=organization_guid:b3e001e9-4956-40e3-9695-79325199355f&page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"created_at\": \"2018-07-19T20:34:16Z\",\n \"updated_at\": \"2018-07-19T20:34:16Z\"\n },\n \"entity\": {\n \"name\": \"development\",\n \"organization_guid\": \"b3e001e9-4956-40e3-9695-79325199355f\",\n \"space_quota_definition_guid\": null,\n \"isolation_segment_guid\": null,\n \"allow_ssh\": true,\n \"organization_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f\",\n \"developers_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/developers\",\n \"managers_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/managers\",\n \"auditors_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/auditors\",\n \"apps_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/apps\",\n \"routes_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/routes\",\n \"domains_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/domains\",\n \"service_instances_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/service_instances\",\n \"app_events_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/app_events\",\n \"events_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/events\",\n \"security_groups_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/security_groups\",\n \"staging_security_groups_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/staging_security_groups\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "046b029c-6384-481b-784b-28333d6d2c1c::cc640d78-c147-4b5c-8309-72197593016d",
"Keep-Alive" : "timeout=5, max=95",
"Connection" : "Keep-Alive"
}
},
"uuid" : "b6f30018-aef1-4b59-b9d7-8c1d63e4ea69",
"persistent" : true,
"insertionIndex" : 7
}

View File

@@ -1,24 +0,0 @@
{
"id" : "ac055f97-9cf0-4821-bc88-a4710c453f50",
"name" : "v2_spaces_c32f8285-5127-42dc-a9b9-6d22bb99fa9d",
"request" : {
"url" : "/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"created_at\": \"2018-07-19T20:34:16Z\",\n \"updated_at\": \"2018-07-19T20:34:16Z\"\n },\n \"entity\": {\n \"name\": \"development\",\n \"organization_guid\": \"b3e001e9-4956-40e3-9695-79325199355f\",\n \"space_quota_definition_guid\": null,\n \"isolation_segment_guid\": null,\n \"allow_ssh\": true,\n \"organization_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f\",\n \"developers_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/developers\",\n \"managers_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/managers\",\n \"auditors_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/auditors\",\n \"apps_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/apps\",\n \"routes_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/routes\",\n \"domains_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/domains\",\n \"service_instances_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/service_instances\",\n \"app_events_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/app_events\",\n \"events_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/events\",\n \"security_groups_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/security_groups\",\n \"staging_security_groups_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/staging_security_groups\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "cecce2ae-6278-472d-6d74-df13c842eb24::48376e65-fce6-40d7-9030-85ead445398e",
"Keep-Alive" : "timeout=5, max=94",
"Connection" : "Keep-Alive"
}
},
"uuid" : "ac055f97-9cf0-4821-bc88-a4710c453f50",
"persistent" : true,
"insertionIndex" : 8
}

View File

@@ -1,24 +0,0 @@
{
"id" : "032b96b5-fdb4-433f-bd33-f342aea26cda",
"name" : "v2_spaces_c32f8285-5127-42dc-a9b9-6d22bb99fa9d_apps",
"request" : {
"url" : "/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/apps?q=name%3Ahelloworldapp&page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 0,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:49 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "ed1a2161-fab9-4939-6575-a21b97e2570b::aa68f4b1-ccdb-4a7c-a597-f99ae97e4ace",
"Keep-Alive" : "timeout=5, max=90",
"Connection" : "Keep-Alive"
}
},
"uuid" : "032b96b5-fdb4-433f-bd33-f342aea26cda",
"persistent" : true,
"insertionIndex" : 44
}

View File

@@ -1,27 +0,0 @@
{
"id" : "bdfabf30-dcd7-45c7-ac0b-8fbf3a1b4083",
"name" : "v2_spaces_c32f8285-5127-42dc-a9b9-6d22bb99fa9d_apps",
"request" : {
"url" : "/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/apps?q=name:helloworldapp&page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:27:40Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"a8ab0797-0744-4e1f-8cb1-abde36604429\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"610ebd90-fb60-47bc-8a6e-bbce8d0ef4d1\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:27:32Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:29:52 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "cfe2240e-942c-44cf-5d17-cd5adfedb124::22e3fc52-2951-4dde-8bbe-5d3603c12ccc",
"Keep-Alive" : "timeout=5, max=99",
"Connection" : "Keep-Alive"
}
},
"uuid" : "bdfabf30-dcd7-45c7-ac0b-8fbf3a1b4083",
"persistent" : true,
"scenarioName" : "scenario-c32f8285-5127-42dc-a9b9-6d22bb99fa9d-apps",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-c32f8285-5127-42dc-a9b9-6d22bb99fa9d-apps-2",
"insertionIndex" : 11
}

View File

@@ -1,27 +0,0 @@
{
"id" : "c2ce289e-bf74-40d2-a65e-a6748b6a3cb5",
"name" : "v2_spaces_c32f8285-5127-42dc-a9b9-6d22bb99fa9d_apps",
"request" : {
"url" : "/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/apps?q=name:helloworldapp&page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "c064c4a2-7347-49a5-74b8-401104ac793b::90b9caa7-c893-4706-8b28-9c78832cf273",
"Keep-Alive" : "timeout=5, max=96",
"Connection" : "Keep-Alive"
}
},
"uuid" : "c2ce289e-bf74-40d2-a65e-a6748b6a3cb5",
"persistent" : true,
"scenarioName" : "scenario-c32f8285-5127-42dc-a9b9-6d22bb99fa9d-apps",
"requiredScenarioState" : "scenario-c32f8285-5127-42dc-a9b9-6d22bb99fa9d-apps-2",
"newScenarioState" : "scenario-c32f8285-5127-42dc-a9b9-6d22bb99fa9d-apps-3",
"insertionIndex" : 31
}

View File

@@ -1,26 +0,0 @@
{
"id" : "f50dbb5e-2ed2-4ea4-a057-53c25b44511d",
"name" : "v2_spaces_c32f8285-5127-42dc-a9b9-6d22bb99fa9d_apps",
"request" : {
"url" : "/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d/apps?q=name:helloworldapp&page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452\",\n \"created_at\": \"2018-07-19T23:27:31Z\",\n \"updated_at\": \"2018-07-19T23:29:56Z\"\n },\n \"entity\": {\n \"name\": \"helloworldapp\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"4689920b-c904-4b55-b7ba-5acd488c302f\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"1cb8028d-5b40-46e6-b6de-007a271ebb9b\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-19T23:29:53Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/routes\",\n \"events_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/events\",\n \"service_bindings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/e3b0c178-e270-416b-b77c-d75a875c0452/route_mappings\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "cd183aa0-dc61-46c7-4d9f-49b20be4a3fb::2ee7eb20-2f9f-4745-9f81-2583bad899ec",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "f50dbb5e-2ed2-4ea4-a057-53c25b44511d",
"persistent" : true,
"scenarioName" : "scenario-c32f8285-5127-42dc-a9b9-6d22bb99fa9d-apps",
"requiredScenarioState" : "scenario-c32f8285-5127-42dc-a9b9-6d22bb99fa9d-apps-3",
"insertionIndex" : 36
}

View File

@@ -1,24 +0,0 @@
{
"id" : "1a5f74ac-9ada-446a-8847-b2b63b9c3b2b",
"name" : "v2_stacks_8e0c91f4-1144-41d7-828b-6da5f66cf24f",
"request" : {
"url" : "/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"created_at\": \"2018-03-28T22:15:03Z\",\n \"updated_at\": \"2018-03-28T22:15:03Z\"\n },\n \"entity\": {\n \"name\": \"cflinuxfs2\",\n \"description\": \"Cloud Foundry Linux-based filesystem\"\n }\n}",
"headers" : {
"Date" : "Thu, 19 Jul 2018 23:30:45 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "2a475dce-4c00-4046-4a91-6ad26c3f9a27::e3793561-c18d-46ba-b483-313efab7608b",
"Keep-Alive" : "timeout=5, max=99",
"Connection" : "Keep-Alive"
}
},
"uuid" : "1a5f74ac-9ada-446a-8847-b2b63b9c3b2b",
"persistent" : true,
"insertionIndex" : 35
}

View File

@@ -1,24 +0,0 @@
{
"id" : "41ec21bc-4e3c-4dea-adb8-4722257d5223",
"name" : "",
"request" : {
"url" : "/",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"links\": {\n \"self\": {\n \"href\": \"http://localhost\"\n },\n \"cloud_controller_v2\": {\n \"href\": \"http://localhost\",\n \"meta\": {\n \"version\": \"2.103.0\"\n }\n },\n \"cloud_controller_v3\": {\n \"href\": \"http://localhost\",\n \"meta\": {\n \"version\": \"3.38.0\"\n }\n },\n \"network_policy_v0\": {\n \"href\": \"http://localhost\"\n },\n \"network_policy_v1\": {\n \"href\": \"http://localhost\"\n },\n \"uaa\": {\n \"href\": \"http://localhost\"\n },\n \"credhub\": null,\n \"routing\": {\n \"href\": \"http://localhost\"\n },\n \"logging\": {\n \"href\": \"wss://localhost\"\n },\n \"app_ssh\": {\n \"href\": \"localhost\",\n \"meta\": {\n \"host_key_fingerprint\": \"8c:db:69:39:90:e1:93:6a:f8:56:e9:a7:68:fc:52:d2\",\n \"oauth_client\": \"ssh-proxy\"\n }\n }\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:25 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "9f2c8079-5cb5-4752-7f10-f866b42cdd5e::5f1847dd-cf4a-43d9-bfaa-38585827b89e",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "41ec21bc-4e3c-4dea-adb8-4722257d5223",
"persistent" : true,
"insertionIndex" : 4
}

View File

@@ -1,30 +0,0 @@
{
"id" : "5e6bc53f-6e69-46ed-b224-1a5c8f555b9d",
"name" : "v2_apps",
"request" : {
"url" : "/v2/apps",
"method" : "POST",
"bodyPatterns" : [ {
"equalToJson" : "{\"buildpack\":\"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\"disk_quota\":1024,\"environment_json\":{\"SPRING_APPLICATION_INDEX\":\"${vcap.application.instance_index}\",\"SPRING_CLOUD_APPLICATION_GUID\":\"${vcap.application.name}:${vcap.application.instance_index}\",\"SPRING_APPLICATION_JSON\":\"{}\"},\"health_check_http_endpoint\":\"/health\",\"health_check_timeout\":120,\"health_check_type\":\"port\",\"instances\":1,\"memory\":1024,\"name\":\"first-app\",\"space_guid\":\"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:26Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STOPPED\",\n \"version\": \"60d9f82f-9350-4687-9455-696e05154185\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": null,\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": null,\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:26 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"Location" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "e92a741c-dc02-48f2-5522-b6a472d56bab::a4e3f0cd-d47d-4ec7-981a-9bca592eb083",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "5e6bc53f-6e69-46ed-b224-1a5c8f555b9d",
"persistent" : true,
"insertionIndex" : 12
}

View File

@@ -1,27 +0,0 @@
{
"id" : "15d2f857-3f1b-4b48-b80d-066a102e5556",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:41:09 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "3e9da550-32be-4868-612c-a94cc588fb52::95558b0e-5e73-4d87-8198-a92288c10009",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "15d2f857-3f1b-4b48-b80d-066a102e5556",
"persistent" : true,
"scenarioName" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f",
"requiredScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-6",
"newScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-7",
"insertionIndex" : 53
}

View File

@@ -1,27 +0,0 @@
{
"id" : "238c2d2a-2ac7-4794-ad9a-2ef0cbfea2f5",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:54 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "c4023431-761c-4495-43c0-96fb97e76ed3::c74cafd4-5466-4b4e-b198-b4f6aa0c7dfb",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "238c2d2a-2ac7-4794-ad9a-2ef0cbfea2f5",
"persistent" : true,
"scenarioName" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f",
"requiredScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-5",
"newScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-6",
"insertionIndex" : 52
}

View File

@@ -1,29 +0,0 @@
{
"id" : "26123ec5-63d1-4c59-a09a-0393246354be",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"state\":\"STOPPED\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STOPPED\",\n \"version\": \"332a43ef-5d5d-4873-8d4c-833272d4f595\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"fe0efc19-2829-4925-b84b-b5747648c5e1\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:39 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "3f8dcc13-a2ea-47ce-57e2-09cb7d89cc8c::0565ee1f-c260-4348-b3df-554ba025aaf9",
"Keep-Alive" : "timeout=5, max=90",
"Connection" : "Keep-Alive"
}
},
"uuid" : "26123ec5-63d1-4c59-a09a-0393246354be",
"persistent" : true,
"insertionIndex" : 46
}

View File

@@ -1,27 +0,0 @@
{
"id" : "61fbca6a-0f03-493d-b084-52e5aad3e721",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:40 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "172f1e1c-dda4-4cc9-531c-ffbe5d16c50d::a4b3474a-3f07-43a0-a684-6b593320f3e0",
"Keep-Alive" : "timeout=5, max=87",
"Connection" : "Keep-Alive"
}
},
"uuid" : "61fbca6a-0f03-493d-b084-52e5aad3e721",
"persistent" : true,
"scenarioName" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f",
"requiredScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-2",
"newScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-3",
"insertionIndex" : 49
}

View File

@@ -1,27 +0,0 @@
{
"id" : "77a0e984-7406-4b02-b46e-2b8170bb30e0",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:42 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "a717a60f-d852-4f22-6ccc-068a5611ffd1::b3866d7a-7587-4c05-a6d6-e8b96625122b",
"Keep-Alive" : "timeout=5, max=86",
"Connection" : "Keep-Alive"
}
},
"uuid" : "77a0e984-7406-4b02-b46e-2b8170bb30e0",
"persistent" : true,
"scenarioName" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f",
"requiredScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-3",
"newScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-4",
"insertionIndex" : 50
}

View File

@@ -1,27 +0,0 @@
{
"id" : "8284c593-94ec-4030-b64b-3f79977ec28d",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:46 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "dbe3bd54-d538-43f6-59e6-40acef8a0774::4c279bef-707d-4d65-a90c-2470860a7186",
"Keep-Alive" : "timeout=5, max=85",
"Connection" : "Keep-Alive"
}
},
"uuid" : "8284c593-94ec-4030-b64b-3f79977ec28d",
"persistent" : true,
"scenarioName" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f",
"requiredScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-4",
"newScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-5",
"insertionIndex" : 51
}

View File

@@ -1,29 +0,0 @@
{
"id" : "952fea1e-5563-48b2-8e76-d7adc3ae3646",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"buildpack\":\"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\"disk_quota\":1024,\"environment_json\":{\"SPRING_APPLICATION_INDEX\":\"${vcap.application.instance_index}\",\"SPRING_APPLICATION_JSON\":\"{}\",\"SPRING_CLOUD_APPLICATION_GUID\":\"${vcap.application.name}:${vcap.application.instance_index}\"},\"health_check_http_endpoint\":\"/health\",\"health_check_timeout\":120,\"health_check_type\":\"port\",\"instances\":1,\"memory\":1024,\"name\":\"second-app\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:31Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"332a43ef-5d5d-4873-8d4c-833272d4f595\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"fe0efc19-2829-4925-b84b-b5747648c5e1\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:37:21Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:31 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "9faab0c9-a2d0-4c6f-6041-6df8a9459e21::fcc5c1ec-4419-4c59-8d81-87d88cec52d3",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "952fea1e-5563-48b2-8e76-d7adc3ae3646",
"persistent" : true,
"insertionIndex" : 38
}

View File

@@ -1,26 +0,0 @@
{
"id" : "b0e8c432-224c-44dc-b100-aa4eebd56b8b",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:41:25 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "b83e2ba2-eb89-4521-778c-9e9a5f4526d4::d641d9f0-394f-4128-a422-0d03a91292e8",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "b0e8c432-224c-44dc-b100-aa4eebd56b8b",
"persistent" : true,
"scenarioName" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f",
"requiredScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-7",
"insertionIndex" : 54
}

View File

@@ -1,29 +0,0 @@
{
"id" : "f8b089db-c2af-4157-9180-69b990b24efb",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"state\":\"STARTED\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:39 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "16e65f1a-7105-4f75-5a14-45f37e0cd759::50aab121-c6f1-4889-a8af-65a8b2348150",
"Keep-Alive" : "timeout=5, max=89",
"Connection" : "Keep-Alive"
}
},
"uuid" : "f8b089db-c2af-4157-9180-69b990b24efb",
"persistent" : true,
"insertionIndex" : 47
}

View File

@@ -1,27 +0,0 @@
{
"id" : "fe922015-fe79-4cfb-a107-e3bc43ce394f",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:40:39Z\"\n },\n \"entity\": {\n \"name\": \"second-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"1652ee5b-680e-403c-a44b-04dc5c928f41\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"05cbf15b-f855-48df-ad98-b37546895326\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:40:32Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes\",\n \"events_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/events\",\n \"service_bindings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:39 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "d139ae15-e708-4706-5c8c-05c896edf485::4977364d-60ce-48d2-b50d-7aec44637e2d",
"Keep-Alive" : "timeout=5, max=88",
"Connection" : "Keep-Alive"
}
},
"uuid" : "fe922015-fe79-4cfb-a107-e3bc43ce394f",
"persistent" : true,
"scenarioName" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-apps-36628f49-84b2-4323-98ca-20205ee3ef1f-2",
"insertionIndex" : 48
}

View File

@@ -1,27 +0,0 @@
{
"id" : "e86f2dce-a352-4295-9f61-fb0251b21d6f",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f_bits",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/bits?async=true",
"method" : "PUT",
"bodyPatterns" : [ {
"anything" : "anything"
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"created_at\": \"2018-07-20T18:40:32Z\",\n \"url\": \"/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f\"\n },\n \"entity\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:32 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "7764108d-0688-41a5-5517-8bfbdfdade7e::4ace9c5a-f71b-4c52-be7c-5b58ca9a9179",
"Keep-Alive" : "timeout=5, max=95",
"Connection" : "Keep-Alive"
}
},
"uuid" : "e86f2dce-a352-4295-9f61-fb0251b21d6f",
"persistent" : true,
"insertionIndex" : 41
}

View File

@@ -1,26 +0,0 @@
{
"id" : "3d5cd12f-9813-4150-8f58-084e9d6b735b",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f_instances",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"RUNNING\",\"uptime\":1,\"since\":1532112090}}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:41:32 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "daa23a97-5f6e-4ee6-6e74-fa2c51c475cf::a719e393-4266-4743-90a4-2513f2e3cfb7",
"Keep-Alive" : "timeout=5, max=96",
"Connection" : "Keep-Alive"
}
},
"uuid" : "3d5cd12f-9813-4150-8f58-084e9d6b735b",
"persistent" : true,
"scenarioName" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances",
"requiredScenarioState" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances-4",
"insertionIndex" : 58
}

View File

@@ -1,27 +0,0 @@
{
"id" : "631d0ab9-809d-42ef-8c9e-adf357819339",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f_instances",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"STARTING\",\"uptime\":7,\"since\":1532112078}}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:41:26 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "7afb2511-38b6-4979-54a2-22acaf8e39d1::feea400f-3d07-46ab-bef5-40a939630727",
"Keep-Alive" : "timeout=5, max=98",
"Connection" : "Keep-Alive"
}
},
"uuid" : "631d0ab9-809d-42ef-8c9e-adf357819339",
"persistent" : true,
"scenarioName" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances",
"requiredScenarioState" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances-2",
"newScenarioState" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances-3",
"insertionIndex" : 56
}

View File

@@ -1,27 +0,0 @@
{
"id" : "84e4288a-6448-40dd-87c8-6ea5dc85acf5",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f_instances",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"STARTING\",\"uptime\":9,\"since\":1532112078}}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:41:28 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "fe9f97ad-2ab4-4540-64ee-397076ff09c0::b7caba80-f0ed-4850-8eca-2cce23857577",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "84e4288a-6448-40dd-87c8-6ea5dc85acf5",
"persistent" : true,
"scenarioName" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances",
"requiredScenarioState" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances-3",
"newScenarioState" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances-4",
"insertionIndex" : 57
}

View File

@@ -1,27 +0,0 @@
{
"id" : "f7bf7fb9-445f-4995-a0f5-d2c55eaf3f78",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f_instances",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"STARTING\",\"uptime\":6,\"since\":1532112078}}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:41:25 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "71d79aad-dd0e-4b0e-53f3-c508261e4717::0a66b778-1f7e-47a0-bcb3-af95c4b25587",
"Keep-Alive" : "timeout=5, max=99",
"Connection" : "Keep-Alive"
}
},
"uuid" : "f7bf7fb9-445f-4995-a0f5-d2c55eaf3f78",
"persistent" : true,
"scenarioName" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-36628f49-84b2-4323-98ca-20205ee3ef1f-instances-2",
"insertionIndex" : 55
}

View File

@@ -1,24 +0,0 @@
{
"id" : "9ed1096b-7aa8-4905-ac59-a4377ba162b5",
"name" : "v2_apps_36628f49-84b2-4323-98ca-20205ee3ef1f_routes",
"request" : {
"url" : "/v2/apps/36628f49-84b2-4323-98ca-20205ee3ef1f/routes?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"328d4251-5d59-4389-9b0e-b9d5d4f90047\",\n \"url\": \"/v2/routes/328d4251-5d59-4389-9b0e-b9d5d4f90047\",\n \"created_at\": \"2018-07-20T18:37:20Z\",\n \"updated_at\": \"2018-07-20T18:37:20Z\"\n },\n \"entity\": {\n \"host\": \"second-app\",\n \"path\": \"\",\n \"domain_guid\": \"28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"service_instance_guid\": null,\n \"port\": null,\n \"domain_url\": \"/v2/shared_domains/28e83b6f-3cb4-4df4-a056-4e4ae5d0efad\",\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"apps_url\": \"/v2/routes/328d4251-5d59-4389-9b0e-b9d5d4f90047/apps\",\n \"route_mappings_url\": \"/v2/routes/328d4251-5d59-4389-9b0e-b9d5d4f90047/route_mappings\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:31 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "baa50585-7bf9-4988-5e85-b8dcb7427659::a6cd3707-df81-44e7-8f56-3d59386d1a9f",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "9ed1096b-7aa8-4905-ac59-a4377ba162b5",
"persistent" : true,
"insertionIndex" : 39
}

View File

@@ -1,27 +0,0 @@
{
"id" : "0992ece6-6d8d-4f6d-93da-ce024e4e68b5",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:34 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "e60ef6f5-cc02-44a1-6087-577c23002946::19e39bd3-f910-491d-9500-f51e2278e10f",
"Keep-Alive" : "timeout=5, max=83",
"Connection" : "Keep-Alive"
}
},
"uuid" : "0992ece6-6d8d-4f6d-93da-ce024e4e68b5",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-3",
"newScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-4",
"insertionIndex" : 27
}

View File

@@ -1,27 +0,0 @@
{
"id" : "129bb1af-509f-4617-bef8-f401e0163cf4",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:38 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "3b01ec70-5d22-4bc5-69d1-6c8ba7ea9729::3058a0d6-70b8-4123-ba92-91cbd924fdfe",
"Keep-Alive" : "timeout=5, max=82",
"Connection" : "Keep-Alive"
}
},
"uuid" : "129bb1af-509f-4617-bef8-f401e0163cf4",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-4",
"newScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-5",
"insertionIndex" : 28
}

View File

@@ -1,29 +0,0 @@
{
"id" : "1c3ba914-e813-497b-9f18-4bbe2b03e561",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"state\":\"STARTED\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:30 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "4a3e20e1-a736-40d9-6fef-61ae19916b3a::be839f25-8d2a-41bb-9987-c60e8d5f10c7",
"Keep-Alive" : "timeout=5, max=86",
"Connection" : "Keep-Alive"
}
},
"uuid" : "1c3ba914-e813-497b-9f18-4bbe2b03e561",
"persistent" : true,
"insertionIndex" : 24
}

View File

@@ -1,27 +0,0 @@
{
"id" : "8debaf84-2089-4a32-b788-d60ba0f2d266",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:46 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "d2534c39-3fa2-452f-5b95-06cb44fb1f8d::0e8c5ba4-29e1-41bf-b8c7-df423b6ee1e7",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "8debaf84-2089-4a32-b788-d60ba0f2d266",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-5",
"newScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-6",
"insertionIndex" : 29
}

View File

@@ -1,26 +0,0 @@
{
"id" : "a5dfbe39-20bc-473b-8b50-1385877d08bd",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": \"\",\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"STAGED\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"JAVA_OPTS=\\\"-agentpath:$PWD/.java-buildpack/open_jdk_jre/bin/jvmkill-1.12.0_RELEASE=printHeapHistogram=1 -Djava.io.tmpdir=$TMPDIR -Djava.ext.dirs=$PWD/.java-buildpack/container_security_provider:$PWD/.java-buildpack/open_jdk_jre/lib/ext -Djava.security.properties=$PWD/.java-buildpack/java_security/java.security $JAVA_OPTS\\\" && CALCULATED_MEMORY=$($PWD/.java-buildpack/open_jdk_jre/bin/java-buildpack-memory-calculator-3.10.0_RELEASE -totMemory=$MEMORY_LIMIT -stackThreads=300 -loadedClasses=14289 -poolType=metaspace -vmOptions=\\\"$JAVA_OPTS\\\") && echo JVM Memory Configuration: $CALCULATED_MEMORY && JAVA_OPTS=\\\"$JAVA_OPTS $CALCULATED_MEMORY\\\" && SERVER_PORT=$PORT eval exec $PWD/.java-buildpack/open_jdk_jre/bin/java $JAVA_OPTS -cp $PWD/. org.springframework.boot.loader.JarLauncher\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:31 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "50ffa41f-0260-4a67-5945-d9b9dcf1fdc1::a262319b-4a1a-4abf-9d9a-5f3dc76b6fe5",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "a5dfbe39-20bc-473b-8b50-1385877d08bd",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-8",
"insertionIndex" : 32
}

View File

@@ -1,27 +0,0 @@
{
"id" : "a702e410-93eb-4582-ae8d-1d251992ae62",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:01 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "0bc68576-adfc-4f22-64d8-0e692d84571b::61bf841e-3bbf-437f-ae56-235f1924dd9c",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "a702e410-93eb-4582-ae8d-1d251992ae62",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-6",
"newScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-7",
"insertionIndex" : 30
}

View File

@@ -1,27 +0,0 @@
{
"id" : "b41cdd0f-cbea-40b2-b8f6-cb569c12a7e5",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:30 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "70c7cc04-8e36-4485-52d2-ce1ee3490b40::82ca63bf-a28f-4188-acb1-3c36a9aa3790",
"Keep-Alive" : "timeout=5, max=85",
"Connection" : "Keep-Alive"
}
},
"uuid" : "b41cdd0f-cbea-40b2-b8f6-cb569c12a7e5",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-2",
"insertionIndex" : 25
}

View File

@@ -1,29 +0,0 @@
{
"id" : "ba575403-3305-4cf8-80a6-393b68ee7536",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "PUT",
"bodyPatterns" : [ {
"equalToJson" : "{\"state\":\"STOPPED\"}",
"ignoreArrayOrder" : true,
"ignoreExtraElements" : true
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STOPPED\",\n \"version\": \"60d9f82f-9350-4687-9455-696e05154185\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": null,\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:30 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "9a0ccc85-3583-4d13-55d9-3358ef553999::e6fc0a0c-6d45-4b0f-9fbb-8114a5e063e0",
"Keep-Alive" : "timeout=5, max=87",
"Connection" : "Keep-Alive"
}
},
"uuid" : "ba575403-3305-4cf8-80a6-393b68ee7536",
"persistent" : true,
"insertionIndex" : 23
}

View File

@@ -1,27 +0,0 @@
{
"id" : "ca00c723-cd55-4f2e-9fd5-044c98660150",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:16 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "e8990ecf-bc27-4a5d-493b-a938f87e3067::86319216-fd8b-401c-a59c-34f560b60e73",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "ca00c723-cd55-4f2e-9fd5-044c98660150",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-7",
"newScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-8",
"insertionIndex" : 31
}

View File

@@ -1,27 +0,0 @@
{
"id" : "d7f6b240-6681-4e3b-bd14-87e276261afc",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:30Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STARTED\",\n \"version\": \"05833bef-5aea-425f-98e8-7ea3a598fe8e\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": \"5d9a895b-b428-4f2c-bd5c-6b7f5ec45f98\",\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": \"2018-07-20T18:39:27Z\",\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:32 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "ace43562-672f-41e7-7d34-dec1200fbcb8::be16337f-2108-49a5-9011-bb037a0418c2",
"Keep-Alive" : "timeout=5, max=84",
"Connection" : "Keep-Alive"
}
},
"uuid" : "d7f6b240-6681-4e3b-bd14-87e276261afc",
"persistent" : true,
"scenarioName" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401",
"requiredScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-2",
"newScenarioState" : "scenario-apps-cae5e4ca-d856-4473-80fd-6f58f9099401-3",
"insertionIndex" : 26
}

View File

@@ -1,27 +0,0 @@
{
"id" : "9073bd4b-dd88-46b8-b20c-9048fc446be2",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401_bits",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/bits?async=true",
"method" : "PUT",
"bodyPatterns" : [ {
"anything" : "anything"
} ]
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"edcd7839-4959-493a-a35a-39ff376e8af9\",\n \"created_at\": \"2018-07-20T18:39:27Z\",\n \"url\": \"/v2/jobs/edcd7839-4959-493a-a35a-39ff376e8af9\"\n },\n \"entity\": {\n \"guid\": \"edcd7839-4959-493a-a35a-39ff376e8af9\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:27 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "b7c5a5a2-e37b-4235-42db-3ecf8c16d32b::2c0d3931-b853-4e80-9a86-dc91a8c9982a",
"Keep-Alive" : "timeout=5, max=91",
"Connection" : "Keep-Alive"
}
},
"uuid" : "9073bd4b-dd88-46b8-b20c-9048fc446be2",
"persistent" : true,
"insertionIndex" : 19
}

View File

@@ -1,24 +0,0 @@
{
"id" : "c5c94532-fdb1-40f1-a4da-f97093414c12",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401_instances",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/instances",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"0\":{\"state\":\"RUNNING\",\"uptime\":3,\"since\":1532112027}}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:31 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "c0fd0ab3-868c-430b-6dea-7dcf9877dccd::2c7406b6-9dfc-4c4e-91bd-b531d326e30c",
"Keep-Alive" : "timeout=5, max=99",
"Connection" : "Keep-Alive"
}
},
"uuid" : "c5c94532-fdb1-40f1-a4da-f97093414c12",
"persistent" : true,
"insertionIndex" : 33
}

View File

@@ -1,24 +0,0 @@
{
"id" : "28af31c6-e362-4fd5-95f1-ada3dd342c13",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401_routes",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 0,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n\n ]\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:26 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "402d055a-3caf-4768-44c6-5de1f64cc2cb::393e1b0c-cc08-43ca-a134-aaec7385476e",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "28af31c6-e362-4fd5-95f1-ada3dd342c13",
"persistent" : true,
"insertionIndex" : 13
}

View File

@@ -1,24 +0,0 @@
{
"id" : "f57a60c7-f862-4fdf-bc44-601e06f1958e",
"name" : "v2_apps_cae5e4ca-d856-4473-80fd-6f58f9099401_routes_a05c44e1-5c73-4535-a8d0-3dfc9dcf8b36",
"request" : {
"url" : "/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes/a05c44e1-5c73-4535-a8d0-3dfc9dcf8b36",
"method" : "PUT"
},
"response" : {
"status" : 201,
"body" : "{\n \"metadata\": {\n \"guid\": \"cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401\",\n \"created_at\": \"2018-07-20T18:39:26Z\",\n \"updated_at\": \"2018-07-20T18:39:26Z\"\n },\n \"entity\": {\n \"name\": \"first-app\",\n \"production\": false,\n \"space_guid\": \"c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_guid\": \"8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"buildpack\": \"https://github.com/cloudfoundry/java-buildpack.git#v4.7.1\",\n \"detected_buildpack\": null,\n \"detected_buildpack_guid\": null,\n \"environment_json\": {\n \"SPRING_APPLICATION_INDEX\": \"${vcap.application.instance_index}\",\n \"SPRING_CLOUD_APPLICATION_GUID\": \"${vcap.application.name}:${vcap.application.instance_index}\",\n \"SPRING_APPLICATION_JSON\": \"{}\"\n },\n \"memory\": 1024,\n \"instances\": 1,\n \"disk_quota\": 1024,\n \"state\": \"STOPPED\",\n \"version\": \"60d9f82f-9350-4687-9455-696e05154185\",\n \"command\": null,\n \"console\": false,\n \"debug\": null,\n \"staging_task_id\": null,\n \"package_state\": \"PENDING\",\n \"health_check_type\": \"port\",\n \"health_check_timeout\": 120,\n \"health_check_http_endpoint\": \"/health\",\n \"staging_failed_reason\": null,\n \"staging_failed_description\": null,\n \"diego\": true,\n \"docker_image\": null,\n \"docker_credentials\": {\n \"username\": null,\n \"password\": null\n },\n \"package_updated_at\": null,\n \"detected_start_command\": \"\",\n \"enable_ssh\": true,\n \"ports\": [\n 8080\n ],\n \"space_url\": \"/v2/spaces/c32f8285-5127-42dc-a9b9-6d22bb99fa9d\",\n \"stack_url\": \"/v2/stacks/8e0c91f4-1144-41d7-828b-6da5f66cf24f\",\n \"routes_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/routes\",\n \"events_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/events\",\n \"service_bindings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/service_bindings\",\n \"route_mappings_url\": \"/v2/apps/cae5e4ca-d856-4473-80fd-6f58f9099401/route_mappings\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:26 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "8f54e895-0056-468a-474a-4b398f3e1a7f::093d7c0a-1f13-4dd1-aa05-991a90c6635e",
"Keep-Alive" : "timeout=5, max=92",
"Connection" : "Keep-Alive"
}
},
"uuid" : "f57a60c7-f862-4fdf-bc44-601e06f1958e",
"persistent" : true,
"insertionIndex" : 18
}

View File

@@ -1,24 +0,0 @@
{
"id" : "5013f012-32e6-4533-87b1-d9433d3eb750",
"name" : "v2_info",
"request" : {
"url" : "/v2/info",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\"name\":\"\",\"build\":\"\",\"support\":\"https://support.pivotal.io\",\"version\":0,\"description\":\"\",\"authorization_endpoint\":\"http://localhost\"}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:25 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "6a18f0d9-0761-4fe5-532a-8e1341158d94::179f7ccd-410a-49c0-8b4a-a5d8dcab900b",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "5013f012-32e6-4533-87b1-d9433d3eb750",
"persistent" : true,
"insertionIndex" : 5
}

View File

@@ -1,26 +0,0 @@
{
"id" : "77d221b0-c09b-4132-b3f2-7b7d08ad5083",
"name" : "v2_jobs_75b79221-e09c-4849-a99d-56e27009e94f",
"request" : {
"url" : "/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"0\",\n \"created_at\": \"1970-01-01T00:00:00Z\",\n \"url\": \"/v2/jobs/0\"\n },\n \"entity\": {\n \"guid\": \"0\",\n \"status\": \"finished\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:39 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "75da7b58-09fe-42f6-61d7-4f6b2624d65b::9e249d15-d894-439e-9835-f9677124bcc9",
"Keep-Alive" : "timeout=5, max=91",
"Connection" : "Keep-Alive"
}
},
"uuid" : "77d221b0-c09b-4132-b3f2-7b7d08ad5083",
"persistent" : true,
"scenarioName" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f",
"requiredScenarioState" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f-4",
"insertionIndex" : 45
}

View File

@@ -1,27 +0,0 @@
{
"id" : "94a6725d-3acb-4a83-bf78-43c32978e596",
"name" : "v2_jobs_75b79221-e09c-4849-a99d-56e27009e94f",
"request" : {
"url" : "/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"created_at\": \"2018-07-20T18:40:32Z\",\n \"url\": \"/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f\"\n },\n \"entity\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:32 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "97c57495-394c-4f52-6e18-5186e5104e9b::c01aa3b4-eafe-4c60-91eb-310a9a3532cd",
"Keep-Alive" : "timeout=5, max=94",
"Connection" : "Keep-Alive"
}
},
"uuid" : "94a6725d-3acb-4a83-bf78-43c32978e596",
"persistent" : true,
"scenarioName" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f-2",
"insertionIndex" : 42
}

View File

@@ -1,27 +0,0 @@
{
"id" : "a57eda3b-7809-46dc-a0a4-ff68b7e034c3",
"name" : "v2_jobs_75b79221-e09c-4849-a99d-56e27009e94f",
"request" : {
"url" : "/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"created_at\": \"2018-07-20T18:40:32Z\",\n \"url\": \"/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f\"\n },\n \"entity\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:33 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "8fdeac0a-6f7b-4516-47f7-a58d50e627b0::d5b3d287-f562-4847-a217-f708d26172cd",
"Keep-Alive" : "timeout=5, max=93",
"Connection" : "Keep-Alive"
}
},
"uuid" : "a57eda3b-7809-46dc-a0a4-ff68b7e034c3",
"persistent" : true,
"scenarioName" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f",
"requiredScenarioState" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f-2",
"newScenarioState" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f-3",
"insertionIndex" : 43
}

View File

@@ -1,27 +0,0 @@
{
"id" : "f1001e42-9734-4b43-9268-b6c932d852a3",
"name" : "v2_jobs_75b79221-e09c-4849-a99d-56e27009e94f",
"request" : {
"url" : "/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"created_at\": \"2018-07-20T18:40:32Z\",\n \"url\": \"/v2/jobs/75b79221-e09c-4849-a99d-56e27009e94f\"\n },\n \"entity\": {\n \"guid\": \"75b79221-e09c-4849-a99d-56e27009e94f\",\n \"status\": \"running\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:35 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "791a4279-3fe1-4a76-562f-935a6bf5adf4::92049f41-5e0a-413e-af0c-becb4d7279f1",
"Keep-Alive" : "timeout=5, max=92",
"Connection" : "Keep-Alive"
}
},
"uuid" : "f1001e42-9734-4b43-9268-b6c932d852a3",
"persistent" : true,
"scenarioName" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f",
"requiredScenarioState" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f-3",
"newScenarioState" : "scenario-jobs-75b79221-e09c-4849-a99d-56e27009e94f-4",
"insertionIndex" : 44
}

View File

@@ -1,27 +0,0 @@
{
"id" : "2661a32c-4bfc-4cba-8ed1-bac50e3b4146",
"name" : "v2_jobs_edcd7839-4959-493a-a35a-39ff376e8af9",
"request" : {
"url" : "/v2/jobs/edcd7839-4959-493a-a35a-39ff376e8af9",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"edcd7839-4959-493a-a35a-39ff376e8af9\",\n \"created_at\": \"2018-07-20T18:39:27Z\",\n \"url\": \"/v2/jobs/edcd7839-4959-493a-a35a-39ff376e8af9\"\n },\n \"entity\": {\n \"guid\": \"edcd7839-4959-493a-a35a-39ff376e8af9\",\n \"status\": \"running\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:28 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "8f8c0a01-b5d0-4816-48ab-32ca03b3014b::391762bc-4388-47d2-8b63-bef01dac16de",
"Keep-Alive" : "timeout=5, max=89",
"Connection" : "Keep-Alive"
}
},
"uuid" : "2661a32c-4bfc-4cba-8ed1-bac50e3b4146",
"persistent" : true,
"scenarioName" : "scenario-jobs-edcd7839-4959-493a-a35a-39ff376e8af9",
"requiredScenarioState" : "scenario-jobs-edcd7839-4959-493a-a35a-39ff376e8af9-2",
"newScenarioState" : "scenario-jobs-edcd7839-4959-493a-a35a-39ff376e8af9-3",
"insertionIndex" : 21
}

View File

@@ -1,26 +0,0 @@
{
"id" : "839b64b1-e863-42f0-af95-1ea4f88667d5",
"name" : "v2_jobs_edcd7839-4959-493a-a35a-39ff376e8af9",
"request" : {
"url" : "/v2/jobs/edcd7839-4959-493a-a35a-39ff376e8af9",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"0\",\n \"created_at\": \"1970-01-01T00:00:00Z\",\n \"url\": \"/v2/jobs/0\"\n },\n \"entity\": {\n \"guid\": \"0\",\n \"status\": \"finished\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:30 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "9eea4a87-b5a8-4dae-794f-434248d13eb8::481c7510-7c05-4019-96fe-53d1e308c818",
"Keep-Alive" : "timeout=5, max=88",
"Connection" : "Keep-Alive"
}
},
"uuid" : "839b64b1-e863-42f0-af95-1ea4f88667d5",
"persistent" : true,
"scenarioName" : "scenario-jobs-edcd7839-4959-493a-a35a-39ff376e8af9",
"requiredScenarioState" : "scenario-jobs-edcd7839-4959-493a-a35a-39ff376e8af9-3",
"insertionIndex" : 22
}

View File

@@ -1,27 +0,0 @@
{
"id" : "e3ffed92-c6b8-4b08-ab47-2460d68e2c5a",
"name" : "v2_jobs_edcd7839-4959-493a-a35a-39ff376e8af9",
"request" : {
"url" : "/v2/jobs/edcd7839-4959-493a-a35a-39ff376e8af9",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"metadata\": {\n \"guid\": \"edcd7839-4959-493a-a35a-39ff376e8af9\",\n \"created_at\": \"2018-07-20T18:39:27Z\",\n \"url\": \"/v2/jobs/edcd7839-4959-493a-a35a-39ff376e8af9\"\n },\n \"entity\": {\n \"guid\": \"edcd7839-4959-493a-a35a-39ff376e8af9\",\n \"status\": \"queued\"\n }\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:27 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "36afbfa8-267a-4cf0-6b3d-bbe7b4373ee9::faa35269-62de-40ee-aff9-bfe208b2127d",
"Keep-Alive" : "timeout=5, max=90",
"Connection" : "Keep-Alive"
}
},
"uuid" : "e3ffed92-c6b8-4b08-ab47-2460d68e2c5a",
"persistent" : true,
"scenarioName" : "scenario-jobs-edcd7839-4959-493a-a35a-39ff376e8af9",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-jobs-edcd7839-4959-493a-a35a-39ff376e8af9-2",
"insertionIndex" : 20
}

View File

@@ -1,24 +0,0 @@
{
"id" : "de852538-9b32-4a53-8d98-17f61870a280",
"name" : "v2_organizations",
"request" : {
"url" : "/v2/organizations?q=name%3Atest",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"b3e001e9-4956-40e3-9695-79325199355f\",\n \"url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f\",\n \"created_at\": \"2018-07-19T20:33:45Z\",\n \"updated_at\": \"2018-07-19T20:33:45Z\"\n },\n \"entity\": {\n \"name\": \"test\",\n \"billing_enabled\": false,\n \"quota_definition_guid\": \"7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"status\": \"active\",\n \"default_isolation_segment_guid\": null,\n \"quota_definition_url\": \"/v2/quota_definitions/7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"spaces_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/spaces\",\n \"domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/domains\",\n \"private_domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/private_domains\",\n \"users_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/users\",\n \"managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/managers\",\n \"billing_managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/billing_managers\",\n \"auditors_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/auditors\",\n \"app_events_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/app_events\",\n \"space_quota_definitions_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/space_quota_definitions\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:22 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "fb158cfb-a6c3-4b87-4bd4-c85e883dd52d::9fe0ef38-87c8-4f43-9bd6-c6319e527b96",
"Keep-Alive" : "timeout=5, max=100",
"Connection" : "Keep-Alive"
}
},
"uuid" : "de852538-9b32-4a53-8d98-17f61870a280",
"persistent" : true,
"insertionIndex" : 2
}

View File

@@ -1,24 +0,0 @@
{
"id" : "e22b32d3-1732-4c39-bbc0-423c90640d9d",
"name" : "v2_organizations",
"request" : {
"url" : "/v2/organizations?q=name:test&page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 1,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n {\n \"metadata\": {\n \"guid\": \"b3e001e9-4956-40e3-9695-79325199355f\",\n \"url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f\",\n \"created_at\": \"2018-07-19T20:33:45Z\",\n \"updated_at\": \"2018-07-19T20:33:45Z\"\n },\n \"entity\": {\n \"name\": \"test\",\n \"billing_enabled\": false,\n \"quota_definition_guid\": \"7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"status\": \"active\",\n \"default_isolation_segment_guid\": null,\n \"quota_definition_url\": \"/v2/quota_definitions/7885d305-f247-4d9c-b070-9c65536f09f3\",\n \"spaces_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/spaces\",\n \"domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/domains\",\n \"private_domains_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/private_domains\",\n \"users_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/users\",\n \"managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/managers\",\n \"billing_managers_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/billing_managers\",\n \"auditors_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/auditors\",\n \"app_events_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/app_events\",\n \"space_quota_definitions_url\": \"/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/space_quota_definitions\"\n }\n }\n ]\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:25 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "2180643c-d058-4c4d-7468-bdc7d9698585::cda821fa-151d-42f4-b60b-768e88871475",
"Keep-Alive" : "timeout=5, max=96",
"Connection" : "Keep-Alive"
}
},
"uuid" : "e22b32d3-1732-4c39-bbc0-423c90640d9d",
"persistent" : true,
"insertionIndex" : 6
}

View File

@@ -1,26 +0,0 @@
{
"id" : "2c4cf73c-5d36-48ba-b698-3e08228d36c1",
"name" : "v2_organizations_b3e001e9-4956-40e3-9695-79325199355f_private_domains",
"request" : {
"url" : "/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/private_domains?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 0,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n\n ]\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:40:31 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "407e29fc-ae9a-43e2-48f2-687188605aa8::238f3565-9633-4a1e-ab97-9e1bce269a9b",
"Keep-Alive" : "timeout=5, max=97",
"Connection" : "Keep-Alive"
}
},
"uuid" : "2c4cf73c-5d36-48ba-b698-3e08228d36c1",
"persistent" : true,
"scenarioName" : "scenario-b3e001e9-4956-40e3-9695-79325199355f-private_domains",
"requiredScenarioState" : "scenario-b3e001e9-4956-40e3-9695-79325199355f-private_domains-2",
"insertionIndex" : 35
}

View File

@@ -1,27 +0,0 @@
{
"id" : "7df15d24-715b-45c0-b2b9-1ecef97dcb21",
"name" : "v2_organizations_b3e001e9-4956-40e3-9695-79325199355f_private_domains",
"request" : {
"url" : "/v2/organizations/b3e001e9-4956-40e3-9695-79325199355f/private_domains?page=1",
"method" : "GET"
},
"response" : {
"status" : 200,
"body" : "{\n \"total_results\": 0,\n \"total_pages\": 1,\n \"prev_url\": null,\n \"next_url\": null,\n \"resources\": [\n\n ]\n}",
"headers" : {
"Date" : "Fri, 20 Jul 2018 18:39:26 GMT",
"Server" : "nginx",
"Content-Type" : "application/json;charset=utf-8",
"X-Content-Type-Options" : "nosniff",
"X-Vcap-Request-Id" : "bdba4973-931f-43c7-6b9b-9d694d2b04e2::4563e5fc-01f0-4ad1-ac8a-8eddebaa06c8",
"Keep-Alive" : "timeout=5, max=93",
"Connection" : "Keep-Alive"
}
},
"uuid" : "7df15d24-715b-45c0-b2b9-1ecef97dcb21",
"persistent" : true,
"scenarioName" : "scenario-b3e001e9-4956-40e3-9695-79325199355f-private_domains",
"requiredScenarioState" : "Started",
"newScenarioState" : "scenario-b3e001e9-4956-40e3-9695-79325199355f-private_domains-2",
"insertionIndex" : 9
}

Some files were not shown because too many files have changed in this diff Show More