File tree Expand file tree Collapse file tree 3 files changed +6
-18
lines changed
Expand file tree Collapse file tree 3 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 2222 <modelVersion >4.0.0</modelVersion >
2323
2424 <groupId >com.example.cloud.functions</groupId >
25- <artifactId >functions-snippets- slack</artifactId >
25+ <artifactId >functions-slack</artifactId >
2626
2727 <parent >
2828 <groupId >com.google.cloud.samples</groupId >
6666 <version >3.4.2</version >
6767 </dependency >
6868
69- <!-- Required for com.example.functions.firebase.FirebaseFirestoreReactive -->
70- <dependency >
71- <groupId >com.google.cloud</groupId >
72- <artifactId >google-cloud-firestore</artifactId >
73- <version >1.33.0</version >
74- </dependency >
75-
7669 <!-- The following dependencies are only required for testing -->
7770 <dependency >
7871 <groupId >junit</groupId >
8881 </dependency >
8982
9083 <!-- Required for mocking env vars -->
91- <dependency >
92- <groupId >com.github.stefanbirkner</groupId >
93- <artifactId >system-rules</artifactId >
94- <version >1.19.0</version >
95- <scope >test</scope >
96- </dependency >
97-
9884 <dependency >
9985 <groupId >com.google.truth</groupId >
10086 <artifactId >truth</artifactId >
167153 <groupId >com.google.cloud.functions</groupId >
168154 <artifactId >function-maven-plugin</artifactId >
169155 <version >0.9.1</version >
156+ <configuration >
157+ <functionTarget >functions.SlackSlashCommand</functionTarget >
158+ </configuration >
170159 </plugin >
171160 <plugin >
172161 <groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package com . example . functions . slack ;
17+ package functions ;
1818
1919import com .github .seratch .jslack .app_backend .SlackSignature ;
2020import com .google .api .client .googleapis .javanet .GoogleNetHttpTransport ;
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package com . example . functions . slack ;
17+ package functions ;
1818
1919import static com .google .common .truth .Truth .assertThat ;
2020import static org .mockito .Mockito .times ;
2121import static org .mockito .Mockito .verify ;
2222import static org .powermock .api .mockito .PowerMockito .mock ;
2323import static org .powermock .api .mockito .PowerMockito .when ;
2424
25- import com .example .functions .slack .SlackSlashCommand ;
2625import com .github .seratch .jslack .app_backend .SlackSignature ;
2726import com .google .api .client .googleapis .json .GoogleJsonResponseException ;
2827import com .google .cloud .functions .HttpRequest ;
You can’t perform that action at this time.
0 commit comments