Skip to content

Commit 58dbcae

Browse files
Added Sqreen protection
1 parent 7eb5876 commit 58dbcae

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
# Mobile Tools for Java (J2ME)
1111
.mtj.tmp/
1212

13+
target/
14+
1315
# Package Files #
14-
*.jar
1516
*.war
1617
*.nar
1718
*.ear

pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@
9595
<version>2.3.0</version>
9696
<configuration>
9797
<projectId>GCLOUD_CONFIG</projectId>
98-
<version>springboot-helloworld</version>
98+
<version>GCLOUD_CONFIG</version>
99+
<extraFilesDirectories>
100+
<extraFilesDirectory>sqreen</extraFilesDirectory>
101+
</extraFilesDirectories>
99102
</configuration>
100103
</plugin>
101104
</plugins>

sqreen/sqreen.jar

14.2 MB
Binary file not shown.

src/main/appengine/app.yaml

+8-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
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-
15-
# [START gae_java11_helloworld_yaml]
161
runtime: java11
17-
# [END gae_java11_helloworld_yaml]
2+
entrypoint: 'java -javaagent:sqreen.jar -jar springboot-helloworld-j11-0.0.1-SNAPSHOT.jar'
3+
4+
health_check:
5+
enable_health_check: False
6+
7+
env_variables:
8+
SQREEN_APP_NAME: XXXXXXXXX
9+
SQREEN_TOKEN: env_org_XXXXXXXXX

0 commit comments

Comments
 (0)