Skip to content

Commit 5d07f6f

Browse files
committed
More changes to match the flexible/endpoints code changes
1 parent b8bcaca commit 5d07f6f

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

endpoints/getting-started/README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Google Cloud Endpoints
2-
This sample demonstrates how to use Google Cloud Endpoints using Java.
1+
# Google Cloud Endpoints & Java
2+
This sample demonstrates how to use Google Cloud Endpoints using a Java backend.
33

44
For a complete walkthrough showing how to run this sample in different environments, see the [Google Cloud Endpoints Quickstarts](https://cloud.google.com/endpoints/docs/quickstarts).
55

@@ -10,3 +10,12 @@ See the [Google Cloud Endpoints Quickstarts](https://cloud.google.com/endpoints/
1010
## Calling your API
1111

1212
Please refer to the Google Cloud Endpoints [documentation](https://cloud.google.com/endpoints/docs/app-engine/) for App Engine Flexible Environment to learn about creating an API Key and calling your API.
13+
14+
## Viewing the Endpoints graphs
15+
16+
By using Endpoints, you get access to several metrics that are displayed graphically in the Cloud Console.
17+
18+
To view the Endpoints graphs:
19+
20+
1. Go to the [Endpoints section in Cloud Console](https://console.cloud.google.com/endpoints) of the project you deployed your API to.
21+
2. Click on your API to view more detailed information about the metrics collected.

endpoints/getting-started/pom.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<modelVersion>4.0.0</modelVersion>
66
<packaging>war</packaging>
77
<version>1.0-SNAPSHOT</version>
8-
<groupId>com.example.flexible.endpoints</groupId>
9-
<artifactId>flexible-endpoints</artifactId>
8+
<groupId>com.example.endpoints</groupId>
9+
<artifactId>endpoints</artifactId>
1010

1111
<parent>
1212
<artifactId>doc-samples</artifactId>
@@ -19,6 +19,8 @@
1919
<maven.compiler.target>1.8</maven.compiler.target>
2020
<maven.compiler.source>1.8</maven.compiler.source>
2121

22+
<maven.war.plugin>2.6</maven.war.plugin>
23+
2224
<appengine.maven.plugin>1.0.0</appengine.maven.plugin>
2325
<jetty.maven.plugin>9.3.8.v20160314</jetty.maven.plugin>
2426

@@ -46,6 +48,14 @@
4648
<!-- for hot reload of the web application -->
4749
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
4850
<plugins>
51+
<plugin> <!-- TEMPORARY -->
52+
<groupId>com.google.appengine</groupId>
53+
<artifactId>gcloud-maven-plugin</artifactId>
54+
<version>2.0.9.121.v20160815</version>
55+
<configuration>
56+
<gcloud_app_prefix>beta</gcloud_app_prefix>
57+
</configuration>
58+
</plugin>
4959
<plugin>
5060
<groupId>com.google.cloud.tools</groupId>
5161
<artifactId>appengine-maven-plugin</artifactId>
@@ -56,7 +66,7 @@
5666
<plugin>
5767
<groupId>org.apache.maven.plugins</groupId>
5868
<artifactId>maven-war-plugin</artifactId>
59-
<version>2.6</version>
69+
<version>${maven.war.plugin}</version>
6070
<configuration>
6171
<failOnMissingWebXml>false</failOnMissingWebXml>
6272
</configuration>

0 commit comments

Comments
 (0)