@@ -8,19 +8,38 @@ public class EnvMap {
8
8
public static final String VCAP_APP_ID = "867b99ba-1caa-4d91-b2ee-82982234f58a" ;
9
9
public static final String VCAP_SPACE_NAME = "test-space" ;
10
10
public static final String VCAP_SPACE_ID = "69ca5b0f-cc66-4f8e-9d17-f102f60142e2" ;
11
+ public static final String VCAP_ORGANIZATION_NAME = "test-org" ;
12
+ public static final String VCAP_ORGANIZATION_ID = "6b8cf2f9-bf9a-45f6-8774-0a0f42cb27f3" ;
11
13
public static final String VCAP_INSTANCE_IDX = "0" ;
12
-
13
- public static final String VCAP_APPLICATION = "{\" limits\" :{\" mem\" :256,\" disk\" :1024,\" fds\" :16384}, " +
14
- "\" application_version\" :\" a9efcfae-ee23-465f-9985-401099500825\" ," +
15
- "\" application_name\" :\" " + VCAP_APP_NAME + "\" ," +
16
- "\" application_uris\" :[\" test-app.acme.org\" ],\" version\" :\" a9efcfae-ee23-465f-9985-401099500825\" ,\" name\" :\" test-app\" ," +
17
- "\" space_name\" :\" " + VCAP_SPACE_NAME + "\" ," + "\" space_id\" :\" " +
18
- VCAP_SPACE_ID + "\" ," +
19
- "\" uris\" :[\" test-app.acme.org\" ],\" users\" :null," +
20
- "\" application_id\" :\" " + VCAP_APP_ID + "\" ," +
21
- "\" instance_id\" :\" 3b671ef5fd86407cb8807f303824c870\" ," +
22
- "\" instance_index\" :\" " + VCAP_INSTANCE_IDX + "\" ," +
23
- "\" host\" :\" 0.0.0.0\" ,\" port\" :61999,\" started_at\" :\" 2015-03-17 12:07:49 +0000\" ,\" started_at_timestamp\" :1426594069,\" start\" :\" 2015-03-17 12:07:49 +0000\" ,\" state_timestamp\" :1426594069}" ;
14
+ public static final String VCAP_APPLICATION = "{" +
15
+ "\" application_id\" :\" " + VCAP_APP_ID + "\" , " +
16
+ "\" application_name\" :\" " + VCAP_APP_NAME + "\" , " +
17
+ "\" application_uris\" :[ " +
18
+ "\" testapp.testdomain.com\" " +
19
+ "], " +
20
+ "\" application_version\" :\" 92720bd3-2735-489d-bf4b-e5bb05c752e7\" , " +
21
+ "\" cf_api\" :\" https://api.cf.sap.hana.ondemand.com\" , " +
22
+ "\" host\" :\" 0.0.0.0\" , " +
23
+ "\" instance_id\" :\" 34b12c70-5443-426f-75c4-3260\" , " +
24
+ "\" instance_index\" :\" " + VCAP_INSTANCE_IDX + "\" , " +
25
+ "\" limits\" :{ " +
26
+ "\" disk\" :1024, " +
27
+ "\" fds\" :16384, " +
28
+ "\" mem\" :1024 " +
29
+ "}, " +
30
+ "\" name\" :\" d048888-logging-sample-app\" , " +
31
+ "\" organization_id\" :\" " + VCAP_ORGANIZATION_ID + "\" , " +
32
+ "\" organization_name\" :\" " + VCAP_ORGANIZATION_NAME + "\" , " +
33
+ "\" port\" :8080, " +
34
+ "\" process_id\" :\" a6026141-8d69-4e9d-b62d-8e1d982f7953\" , " +
35
+ "\" process_type\" :\" web\" , " +
36
+ "\" space_id\" :\" " + VCAP_SPACE_ID + "\" , " +
37
+ "\" space_name\" :\" " +VCAP_SPACE_NAME + "\" , " +
38
+ "\" uris\" :[ " +
39
+ "\" testapp.testdomain.com\" " +
40
+ "], " +
41
+ "\" version\" :\" 92720bd3-2735-489d-bf4b-e5bb05c752e7\" " +
42
+ "}" ;
24
43
25
44
public static final String NOT_SET = "not-set" ;
26
45
0 commit comments