8000 Update Java11 Spring Boot sample (#1409) · MechOrigin/java-docs-samples@7b355b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b355b5

Browse files
authored
Update Java11 Spring Boot sample (GoogleCloudPlatform#1409)
* Update SpringBoot Sample * Update licenses * Fix test dependencies * Fix linting
1 parent d3d5ec4 commit 7b355b5

File tree

11 files changed

+135
-516
lines changed

11 files changed

+135
-516
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
runtime: java11
216
instance_class: F2
317
entrypoint: 'java -cp * com.example.appengine.demo.jettymain.Main gaeinfo.war'

appengine-java11/spanner/src/main/appengine/app.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2019 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
runtime: java11
216
instance_class: F2
317
entrypoint: 'java -cp * com.example.appengine.demo.jettymain.Main spanner.war'

appengine-java11/springboot-helloworld/.mvn/wrapper/maven-wrapper.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

appengine-java11/springboot-helloworld/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Spring Boot Application Google App Engine Standard with Java 11
22

3-
This sample shows how to deploy a Spring Boot application with an exploded fatjar
4-
to Google App Engine, using the `entrypoint` element in the [app.yaml](app.yaml)
5-
to start your application. The sample uses the `java` command is used to compile
6-
and execute the Java source code.
3+
This sample shows how to deploy a Spring Boot application to Google App Engine.
74

85
## Setup
96

appengine-java11/springboot-helloworld/mvnw

Lines changed: 0 additions & 286 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0