-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use Java properties to pass configuration in kinesis integratio…
…n tests
- Loading branch information
Showing
15 changed files
with
332 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"cookie": { | ||
"enabled": true, | ||
"name": "sp", | ||
"expiration": "365 days", | ||
"secure": false, | ||
"httpOnly": false, | ||
"sameSite": "None" | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
kinesis/src/it/resources/collector-cookie-attributes-1.hocon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"cookie": { | ||
"enabled": true, | ||
"name": "greatName", | ||
"expiration": "42 days", | ||
"secure": true, | ||
"httpOnly": true, | ||
"sameSite": "Strict" | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
kinesis/src/it/resources/collector-cookie-attributes-2.hocon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"cookie": { | ||
"enabled": true, | ||
"name": "sp", | ||
"expiration": "365 days", | ||
"secure": false, | ||
"httpOnly": false, | ||
"sameSite": "None" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"cookie": { | ||
"enabled": true, | ||
"name": "sp", | ||
"expiration": "365 days", | ||
"domains": ["foo.bar","sub.foo.bar"], | ||
"fallbackDomain": "fallback.domain", | ||
"secure": false, | ||
"httpOnly": false, | ||
"sameSite": "None" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"cookie": { | ||
"enabled": true, | ||
"name": "sp", | ||
"expiration": "365 days", | ||
"domains": ["foo.bar" ], | ||
"fallbackDomain": "fallback.domain", | ||
"secure": false, | ||
"httpOnly": false, | ||
"sameSite": "None" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"cookie": { | ||
"enabled": true, | ||
"name": "sp", | ||
"expiration": "365 days", | ||
"secure": false, | ||
"httpOnly": false, | ||
"sameSite": "None" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"paths": { | ||
"/acme/track": "/com.snowplowanalytics.snowplow/tp2", | ||
"/acme/redirect": "/r/tp2", | ||
"/acme/iglu": "/com.snowplowanalytics.iglu/v1" | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
kinesis/src/it/resources/collector-doNotTrackCookie-disabled.hocon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"doNotTrackCookie": { | ||
"enabled": false, | ||
"name" : "foo", | ||
"value": "bar" | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
kinesis/src/it/resources/collector-doNotTrackCookie-enabled.hocon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
collector { | ||
interface = "0.0.0.0" | ||
port = ${PORT} | ||
|
||
streams { | ||
good = ${STREAM_GOOD} | ||
bad = ${STREAM_BAD} | ||
|
||
sink { | ||
region = ${REGION} | ||
customEndpoint = ${KINESIS_ENDPOINT} | ||
|
||
aws { | ||
accessKey = env | ||
secretKey = env | ||
} | ||
|
||
maxBytes = ${MAX_BYTES} | ||
} | ||
} | ||
|
||
"doNotTrackCookie": { | ||
"enabled": true, | ||
"name" : "foo", | ||
"value": "bar" | ||
} | ||
} |
Oops, something went wrong.