File tree Expand file tree Collapse file tree 8 files changed +86
-19
lines changed
src/main/java/com/example/appengine/analytics Expand file tree Collapse file tree 8 files changed +86
-19
lines changed Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
1+ <!--
2+ Copyright 2015 Google Inc. All Rights Reserved.
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+ -->
16+ <project >
417 <modelVersion >4.0.0</modelVersion >
518 <packaging >war</packaging >
619 <version >1.0-SNAPSHOT</version >
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ public class AnalyticsServlet extends HttpServlet {
3939 public void doGet (HttpServletRequest req , HttpServletResponse resp ) throws IOException ,
4040 ServletException {
4141 String trackingId = System .getenv ("GA_TRACKING_ID" );
42- // HttpClient client = HttpClientBuilder.create().build();
4342 URIBuilder builder = new URIBuilder ();
4443 builder .setScheme ("http" ).setHost ("www.google-analytics.com" ).setPath ("/collect" )
4544 .addParameter ("v" , "1" ) // API Version.
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
21<!--
32Copyright 2015 Google Inc. All Rights Reserved.
43
@@ -14,8 +13,7 @@ Copyright 2015 Google Inc. All Rights Reserved.
1413 See the License for the specific language governing permissions and
1514 limitations under the License.
1615-->
17- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
18- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
16+ <project >
1917 <modelVersion >4.0.0</modelVersion >
2018 <packaging >war</packaging >
2119 <version >1.0-SNAPSHOT</version >
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
1+ <!--
2+ Copyright 2015 Google Inc. All Rights Reserved.
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+ -->
16+ <project >
417 <modelVersion >4.0.0</modelVersion >
518 <packaging >war</packaging >
619 <version >1.0-SNAPSHOT</version >
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
1+ <!--
2+ Copyright 2015 Google Inc. All Rights Reserved.
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+ -->
16+ <project >
417 <modelVersion >4.0.0</modelVersion >
518 <packaging >war</packaging >
619 <version >1.0-SNAPSHOT</version >
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
1+ <!--
2+ Copyright 2015 Google Inc. All Rights Reserved.
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+ -->
16+ <project >
417 <modelVersion >4.0.0</modelVersion >
518 <packaging >war</packaging >
619 <version >1.0-SNAPSHOT</version >
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
1+ <!--
2+ Copyright 2015 Google Inc. All Rights Reserved.
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+ -->
16+ <project >
417 <modelVersion >4.0.0</modelVersion >
518 <packaging >war</packaging >
619 <version >1.0-SNAPSHOT</version >
Original file line number Diff line number Diff line change 4343 </prerequisites >
4444
4545 <modules >
46+ <module >appengine/analytics</module >
4647 <module >appengine/appidentity</module >
4748 <module >appengine/helloworld</module >
4849 <module >appengine/mailgun</module >
50+ <module >appengine/memcache</module >
51+ <module >appengine/sendgrid</module >
52+ <module >appengine/static-files</module >
53+ <module >appengine/twilio</module >
4954 <module >bigquery</module >
5055 <module >datastore</module >
5156 <module >logging</module >
You can’t perform that action at this time.
0 commit comments