Commit cff2077
authored
Define a property for the CloudEvents SDK version to avoid mentioning it three times. (GoogleCloudPlatform#80)
* Update the version of the CloudEvents SDK to 2.0.0RC2.
Since the API is hopefully stable now, rename `ExperimentalCloudEventsFunction`
to `CloudEventsFunction`.
Add support for a `FUNCTION_SIGNATURE_TYPE` of `cloudevent`. Treat it the same
as `background`. (We don't really need `FUNCTION_SIGNATURE_TYPE`, since the
interface implemented by the function class tells us what the signature is.)
Simplify the integration test slightly by removing some intermediary helper
methods.
* Define a property for the CloudEvents SDK version to avoid mentioning it three times.
Also fix the import order in a couple of source files.
* Define a property for the CloudEvents SDK version to avoid mentioning it three times.
Also fix the import order in a couple of source files.1 parent 14b4dc3 commit cff2077
File tree
3 files changed
+6
-5
lines changed- invoker/core
- src
- main/java/com/google/cloud/functions/invoker
- test/java/com/google/cloud/functions/invoker/testfunctions
3 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments