Skip to content

Commit 106399c

Browse files
committed
Fix copyright headers build warnings.
1 parent 3196a79 commit 106399c

File tree

16 files changed

+144
-39
lines changed

16 files changed

+144
-39
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1+
! Copyright 2024 Google Inc.
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
rootProject.name = 'bigtable-hello-j21'

appengine-java21/datastore-schedule-export/cron.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
#
2+
# Copyright 2024 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
116
cron:
217
- description: "Daily Cloud Datastore Export"
318
url: /cloud-datastore-export?output_url_prefix=gs://<EXPORT_BUCKET>&kind=<KIND_NAME>

appengine-java21/gaeinfo/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ Copyright 2017 Google Inc.
112112
<artifactId>appengine-maven-plugin</artifactId>
113113
<version>2.8.0</version>
114114
<configuration>
115-
<projectId>ludo-in-in</projectId>
116-
<version>gaeinfojava21</version>
117-
<deploy.promote>false</deploy.promote>
115+
<projectId>GCLOUD_CONFIG</projectId>
116+
<version>GCLOUD_CONFIG</version>
117+
<deploy.promote>true</deploy.promote>
118+
<deploy.stopPreviousVersion>true</deploy.stopPreviousVersion>
118119
</configuration>
119120
</plugin>
120121

appengine-java21/guestbook-cloud-datastore/src/main/webapp/WEB-INF/index.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
#
2+
# Copyright 2024 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
116
indexes:
217

318
- kind: Greeting

appengine-java21/springboot-helloworld/nb-configuration.xml

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

appengine-java21/springboot-helloworld/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
<!--
2+
Copyright 2024 Google Inc.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-->
116
<?xml version="1.0" encoding="UTF-8"?>
217
<project xmlns="http://maven.apache.org/POM/4.0.0"
318
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

appengine-java21/springboot-helloworld/src/main/java/com/example/appengine/demos/springboot/AppEngineConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright © 2017 the original authors (@michaeltecourt)
2+
* Copyright 2024 Google Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

appengine-java21/springboot-helloworld/src/main/java/com/example/appengine/demos/springboot/HelloworldController.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017 Google Inc.
2+
* Copyright 2024 Google Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,21 +22,23 @@
2222
import java.util.List;
2323
import java.util.Objects;
2424

25+
import org.hibernate.validator.constraints.NotEmpty;
26+
import org.springframework.beans.factory.annotation.Autowired;
27+
import org.springframework.stereotype.Controller;
28+
import org.springframework.web.bind.annotation.RequestMapping;
29+
import org.springframework.web.bind.annotation.RequestMethod;
30+
import org.springframework.web.bind.annotation.ResponseBody;
31+
import org.springframework.web.servlet.ModelAndView;
32+
2533
import com.google.appengine.api.datastore.DatastoreService;
34+
2635
import jakarta.servlet.http.HttpServletRequest;
2736
import lombok.AccessLevel;
2837
import lombok.AllArgsConstructor;
2938
import lombok.Data;
3039
import lombok.NoArgsConstructor;
3140
import lombok.NonNull;
3241
import lombok.extern.slf4j.Slf4j;
33-
import org.hibernate.validator.constraints.NotEmpty;
34-
import org.springframework.beans.factory.annotation.Autowired;
35-
import org.springframework.stereotype.Controller;
36-
import org.springframework.web.bind.annotation.RequestMapping;
37-
import org.springframework.web.bind.annotation.RequestMethod;
38-
import org.springframework.web.bind.annotation.ResponseBody;
39-
import org.springframework.web.servlet.ModelAndView;
4042

4143
@Controller
4244
@Slf4j

appengine-java21/springboot-helloworld/src/main/java/com/example/appengine/demos/springboot/ServletInitializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017 Google Inc.
2+
* Copyright 2024 Google Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

appengine-java21/springboot-helloworld/src/main/java/com/example/appengine/demos/springboot/SpringBootExampleApplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017 Google Inc.
2+
* Copyright 2024 Google Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)