GeezerVison is showing github.com — More stylistic fixes for functions samples (#2805) · lnavarette/java-docs-samples@0803714
File tree
Expand file treeCollapse file tree
Open diff view settings
http-form-data/src/test/java/functions
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss bannerExpand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/env-vars/pom.xml +1-25Lines changed: 1 addition & 25 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
43 | 43 | <groupId>com.google.cloud.functions</groupId> |
44 | 44 | <artifactId>functions-framework-api</artifactId> |
45 | 45 | <version>1.0.1</version> |
| 46 | + <scope>provided</scope> |
46 | 47 | </dependency> |
47 | 48 |
|
48 | 49 | <!-- The following dependencies are only required for testing --> |
|
137 | 138 | <trimStackTrace>false</trimStackTrace> |
138 | 139 | </configuration> |
139 | 140 | </plugin> |
140 | | - <plugin> <!-- Required for Java 8 (Alpha) functions in the inline editor --> |
141 | | - <groupId>org.apache.maven.plugins</groupId> |
142 | | - <artifactId>maven-compiler-plugin</artifactId> |
143 | | - <executions> |
144 | | - <execution> |
145 | | - <id>compile</id> |
146 | | - <phase>compile</phase> |
147 | | - <goals> |
148 | | - <goal>compile</goal> |
149 | | - </goals> |
150 | | - </execution> |
151 | | - <execution> |
152 | | - <id>testCompile</id> |
153 | | - <phase>test-compile</phase> |
154 | | - <goals> |
155 | | - <goal>testCompile</goal> |
156 | | - </goals> |
157 | | - </execution> |
158 | | - </executions> |
159 | | - <configuration> |
160 | | - <excludes> |
161 | | - <exclude>.google/</exclude> |
162 | | - </excludes> |
163 | | - </configuration> |
164 | | - </plugin> |
165 | 141 | </plugins> |
166 | 142 | </build> |
167 | 143 | </project> |
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/execution-count/pom.xml +1-25Lines changed: 1 addition & 25 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
43 | 43 | <groupId>com.google.cloud.functions</groupId> |
44 | 44 | <artifactId>functions-framework-api</artifactId> |
45 | 45 | <version>1.0.1</version> |
| 46 | + <scope>provided</scope> |
46 | 47 | </dependency> |
47 | 48 |
|
48 | 49 | <!-- The following dependencies are only required for testing --> |
|
132 | 133 | <trimStackTrace>false</trimStackTrace> |
133 | 134 | </configuration> |
134 | 135 | </plugin> |
135 | | - <plugin> <!-- Required for Java 8 (Alpha) functions in the inline editor --> |
136 | | - <groupId>org.apache.maven.plugins</groupId> |
137 | | - <artifactId>maven-compiler-plugin</artifactId> |
138 | | - <executions> |
139 | | - <execution> |
140 | | - <id>compile</id> |
141 | | - <phase>compile</phase> |
142 | | - <goals> |
143 | | - <goal>compile</goal> |
144 | | - </goals> |
145 | | - </execution> |
146 | | - <execution> |
147 | | - <id>testCompile</id> |
148 | | - <phase>test-compile</phase> |
149 | | - <goals> |
150 | | - <goal>testCompile</goal> |
151 | | - </goals> |
152 | | - </execution> |
153 | | - </executions> |
154 | | - <configuration> |
155 | | - <excludes> |
156 | | - <exclude>.google/</exclude> |
157 | | - </excludes> |
158 | | - </configuration> |
159 | | - </plugin> |
160 | 136 | </plugins> |
161 | 137 | </build> |
162 | 138 | </project> |
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/execution-count/src/test/java/functions/ExecutionCountTest.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -56,4 +56,4 @@ public void helloExecutionCount() throws IOException { |
56 | 56 | writerOut.flush(); |
57 | 57 | assertThat(responseOut.toString()).contains("Instance execution count: 1"); |
58 | 58 | } |
59 | | -} |
| 59 | +} |
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/file-system/pom.xml +1-25Lines changed: 1 addition & 25 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
43 | 43 | <groupId>com.google.cloud.functions</groupId> |
44 | 44 | <artifactId>functions-framework-api</artifactId> |
45 | 45 | <version>1.0.1</version> |
| 46 | + <scope>provided</scope> |
46 | 47 | </dependency> |
47 | 48 |
|
48 | 49 | <!-- The following dependencies are only required for testing --> |
|
133 | 134 | <trimStackTrace>false</trimStackTrace> |
134 | 135 | </configuration> |
135 | 136 | </plugin> |
136 | | - <plugin> <!-- Required for Java 8 (Alpha) functions in the inline editor --> |
137 | | - <groupId>org.apache.maven.plugins</groupId> |
138 | | - <artifactId>maven-compiler-plugin</artifactId> |
139 | | - <executions> |
140 | | - <execution> |
141 | | - <id>compile</id> |
142 | | - <phase>compile</phase> |
143 | | - <goals> |
144 | | - <goal>compile</goal> |
145 | | - </goals> |
146 | | - </execution> |
147 | | - <execution> |
148 | | - <id>testCompile</id> |
149 | | - <phase>test-compile</phase> |
150 | | - <goals> |
151 | | - <goal>testCompile</goal> |
152 | | - </goals> |
153 | | - </execution> |
154 | | - </executions> |
155 | | - <configuration> |
156 | | - <excludes> |
157 | | - <exclude>.google/</exclude> |
158 | | - </excludes> |
159 | | - </configuration> |
160 | | - </plugin> |
161 | 137 | </plugins> |
162 | 138 | </build> |
163 | 139 | </project> |
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/file-system/src/test/java/functions/FileSystemTest.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -62,4 +62,4 @@ public void filesTest() throws IOException { |
62 | 62 | writerOut.flush(); |
63 | 63 | assertThat(responseOut.toString()).contains("Files:"); |
64 | 64 | } |
65 | | -} |
| 65 | +} |
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/lazy-fields/pom.xml +1-25Lines changed: 1 addition & 25 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
43 | 43 | <groupId>com.google.cloud.functions</groupId> |
44 | 44 | <artifactId>functions-framework-api</artifactId> |
45 | 45 | <version>1.0.1</version> |
| 46 | + <scope>provided</scope> |
46 | 47 | </dependency> |
47 | 48 |
|
48 | 49 | <!-- The following dependencies are only required for testing --> |
|
132 | 133 | <trimStackTrace>false</trimStackTrace> |
133 | 134 | </configuration> |
134 | 135 | </plugin> |
135 | | - <plugin> <!-- Required for Java 8 (Alpha) functions in the inline editor --> |
136 | | - <groupId>org.apache.maven.plugins</groupId> |
137 | | - <artifactId>maven-compiler-plugin</artifactId> |
138 | | - <executions> |
139 | | - <execution> |
140 | | - <id>compile</id> |
141 | | - <phase>compile</phase> |
142 | | - <goals> |
143 | | - <goal>compile</goal> |
144 | | - </goals> |
145 | | - </execution> |
146 | | - <execution> |
147 | | - <id>testCompile</id> |
148 | | - <phase>test-compile</phase> |
149 | | - <goals> |
150 | | - <goal>testCompile</goal> |
151 | | - </goals> |
152 | | - </execution> |
153 | | - </executions> |
154 | | - <configuration> |
155 | | - <excludes> |
156 | | - <exclude>.google/</exclude> |
157 | | - </excludes> |
158 | | - </configuration> |
159 | | - </plugin> |
160 | 136 | </plugins> |
161 | 137 | </build> |
162 | 138 | </project> |
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/lazy-fields/src/test/java/functions/LazyFieldsTest.java +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -62,4 +62,4 @@ public void lazyTest() throws IOException { |
62 | 62 | writerOut.flush(); |
63 | 63 | assertThat(responseOut.toString()).contains("Lazy global:"); |
64 | 64 | } |
65 | | -} |
| 65 | +} |
Collapse file
Copy file name to clipboardExpand all lines: functions/concepts/pom.xml -179Lines changed: 0 additions & 179 deletions