Skip to content

Commit

Permalink
Update Java11 Spring Boot sample (#1409)
Browse files Browse the repository at this point in the history
* Update SpringBoot Sample

* Update licenses

* Fix test dependencies

* Fix linting
  • Loading branch information
averikitsch authored May 8, 2019
1 parent d3d5ec4 commit 7b355b5
Show file tree
Hide file tree
Showing 11 changed files with 135 additions and 516 deletions.
14 changes: 14 additions & 0 deletions appengine-java11/gaeinfo/src/main/appengine/app.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2019 Google LLC
#
# 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.

runtime: java11
instance_class: F2
entrypoint: 'java -cp * com.example.appengine.demo.jettymain.Main gaeinfo.war'
14 changes: 14 additions & 0 deletions appengine-java11/spanner/src/main/appengine/app.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2019 Google LLC
#
# 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.

runtime: java11
instance_class: F2
entrypoint: 'java -cp * com.example.appengine.demo.jettymain.Main spanner.war'
Expand Down

This file was deleted.

5 changes: 1 addition & 4 deletions appengine-java11/springboot-helloworld/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Spring Boot Application Google App Engine Standard with Java 11

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

## Setup

Expand Down
286 changes: 0 additions & 286 deletions appengine-java11/springboot-helloworld/mvnw

This file was deleted.

Loading

0 comments on commit 7b355b5

Please sign in to comment.