File tree 10 files changed +18
-18
lines changed
appengine/endpoints-frameworks-v2
getting-started/src/main/appengine
multiple-versions/src/main/appengine
10 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ To deploy the sample API:
41
41
42
42
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
43
43
44
- gcloud service-management deploy target/openapi-docs/openapi.json
44
+ gcloud endpoints services deploy target/openapi-docs/openapi.json
45
45
46
46
0 . Deploy the API implementation code by invoking:
47
47
@@ -119,7 +119,7 @@ To deploy the sample API:
119
119
120
120
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
121
121
122
- gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
122
+ gcloud endpoints services deploy build/endpointsOpenApiDocs/openapi.json
123
123
124
124
0 . Deploy the API implementation code by invoking:
125
125
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ sed -i'.bak' -e "s/YOUR_PROJECT_ID/${GOOGLE_PROJECT_ID}/g" pom.xml
35
35
36
36
mvn clean endpoints-framework:openApiDocs
37
37
38
- gcloud service-management deploy target/openapi-docs/openapi.json
38
+ gcloud endpoints services deploy target/openapi-docs/openapi.json
39
39
40
40
# Test with Maven
41
41
mvn appengine:deploy \
@@ -55,7 +55,7 @@ sed -i'.bak' -e "s/YOUR_PROJECT_ID/${GOOGLE_PROJECT_ID}/g" build.gradle
55
55
56
56
gradle clean endpointsOpenApiDocs
57
57
58
- gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
58
+ gcloud endpoints services deploy build/endpointsOpenApiDocs/openapi.json
59
59
60
60
# Deploy Gradle
61
61
gradle -Pappengine.deploy.promote=false \
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ To deploy the sample API:
42
42
43
43
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
44
44
45
- gcloud service-management deploy target/openapi-docs/openapi.json
45
+ gcloud endpoints services deploy target/openapi-docs/openapi.json
46
46
47
47
0 . Deploy the API implementation code by invoking:
48
48
@@ -121,7 +121,7 @@ To deploy the sample API:
121
121
122
122
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
123
123
124
- gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
124
+ gcloud endpoints services deploy build/endpointsOpenApiDocs/openapi.json
125
125
126
126
0 . Deploy the API implementation code by invoking:
127
127
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ To deploy the sample API:
41
41
42
42
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
43
43
44
- gcloud service-management deploy target/openapi-docs/openapi.json
44
+ gcloud endpoints services deploy target/openapi-docs/openapi.json
45
45
46
46
0 . Deploy the API implementation code by invoking:
47
47
@@ -119,7 +119,7 @@ To deploy the sample API:
119
119
120
120
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
121
121
122
- gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
122
+ gcloud endpoints services deploy build/endpointsOpenApiDocs/openapi.json
123
123
124
124
0 . Deploy the API implementation code by invoking:
125
125
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ sed -i'.bak' -e "s/YOUR_PROJECT_ID/${GOOGLE_PROJECT_ID}/g" pom.xml
35
35
36
36
mvn clean endpoints-framework:openApiDocs
37
37
38
- gcloud service-management deploy target/openapi-docs/openapi.json
38
+ gcloud endpoints services deploy target/openapi-docs/openapi.json
39
39
40
40
# Test with Maven
41
41
mvn appengine:deploy \
@@ -55,7 +55,7 @@ sed -i'.bak' -e "s/YOUR_PROJECT_ID/${GOOGLE_PROJECT_ID}/g" build.gradle
55
55
56
56
gradle clean endpointsOpenApiDocs
57
57
58
- gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
58
+ gcloud endpoints services deploy build/endpointsOpenApiDocs/openapi.json
59
59
60
60
# Deploy Gradle
61
61
gradle -Pappengine.deploy.promote=false \
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ To deploy the sample API:
42
42
43
43
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
44
44
45
- gcloud service-management deploy target/openapi-docs/openapi.json
45
+ gcloud endpoints services deploy target/openapi-docs/openapi.json
46
46
47
47
0 . Deploy the API implementation code by invoking:
48
48
@@ -121,7 +121,7 @@ To deploy the sample API:
121
121
122
122
0 . Invoke the ` gcloud ` command to deploy the API configuration file:
123
123
124
- gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
124
+ gcloud endpoints services deploy build/endpointsOpenApiDocs/openapi.json
125
125
126
126
0 . Deploy the API implementation code by invoking:
127
127
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ sed -i'.bak' -e "s/YOUR_PROJECT_ID/${GOOGLE_PROJECT_ID}/g" pom.xml
35
35
36
36
mvn clean endpoints-framework:openApiDocs
37
37
38
- gcloud service-management deploy target/openapi-docs/openapi.json
38
+ gcloud endpoints services deploy target/openapi-docs/openapi.json
39
39
40
40
# Test with Maven
41
41
mvn appengine:deploy \
@@ -55,7 +55,7 @@ sed -i'.bak' -e "s/YOUR_PROJECT_ID/${GOOGLE_PROJECT_ID}/g" build.gradle
55
55
56
56
gradle clean endpointsOpenApiDocs
57
57
58
- gcloud service-management deploy build/endpointsOpenApiDocs/openapi.json
58
+ gcloud endpoints services deploy build/endpointsOpenApiDocs/openapi.json
59
59
60
60
# Deploy Gradle
61
61
gradle -Pappengine.deploy.promote=false \
Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ and [SDK](https://cloud.google.com/sdk/) configured.
37
37
1. Deploy your service config to Service Management:
38
38
39
39
` ` ` bash
40
- gcloud service-management deploy out.pb api_config.yaml
40
+ gcloud endpoints services deploy out.pb api_config.yaml
41
41
# The Config ID should be printed out, looks like: 2017-02-01r0, remember this
42
42
43
43
# set your project to make commands easier
44
44
GCLOUD_PROJECT=< Your Project ID>
45
45
46
46
# Print out your Config ID again, in case you missed it
47
- gcloud service-management configs list --service hellogrpc.endpoints.${GCLOUD_PROJECT} .cloud.goog
47
+ gcloud endpoints configs list --service hellogrpc.endpoints.${GCLOUD_PROJECT} .cloud.goog
48
48
` ` `
49
49
50
50
1. Also get an API key from the Console' s API Manager for use in the client later. (https://console.cloud.google.com/apis/credentials)
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ handlers:
22
22
23
23
endpoints_api_service :
24
24
# The following values are to be replaced by information from the output of
25
- # 'gcloud service-management deploy openapi.yaml' command.
25
+ # 'gcloud endpoints services deploy openapi.yaml' command.
26
26
name : ENDPOINTS-SERVICE-NAME
27
27
config_id : ENDPOINTS-CONFIG-ID
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ handlers:
22
22
23
23
endpoints_api_service :
24
24
# The following values are to be replaced by information from the output of
25
- # 'gcloud service-management deploy openapi-v1.yaml openapi-v2.yaml' command.
25
+ # 'gcloud endpoints services deploy openapi-v1.yaml openapi-v2.yaml' command.
26
26
name : ENDPOINTS-SERVICE-NAME
27
27
config_id : ENDPOINTS-CONFIG-ID
You can’t perform that action at this time.
0 commit comments