-
Notifications
You must be signed in to change notification settings - Fork 0
feat(ingestion): add ability to exclude archived mode reports. #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
cfda03c
4803e9e
b23571c
a7e2272
d98abe8
26685cb
82f1e1d
3d210ae
e72f76b
06aebfe
be7cc44
602f40d
7b5680e
c94ea28
a3fae8d
c5d7091
ef0b4a7
b45d606
26eac02
e8c1443
c20d2eb
148ab70
6a167da
8233862
9fb82a7
db4a801
c5cdce2
d7b73b6
e4184fe
ed4d368
b0581df
79eac47
7e9b135
5f03c94
7ee4085
d50a063
0dd4e87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 [actionlint] reported by reviewdog 🐶
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 [actionlint] reported by reviewdog 🐶
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| package utils; | ||
|
|
||
| import static org.pac4j.play.store.PlayCookieSessionStore.compressBytes; | ||
| import static org.pac4j.play.store.PlayCookieSessionStore.uncompressBytes; | ||
|
|
||
| import java.util.Base64; | ||
| import javax.annotation.Nonnull; | ||
| import org.pac4j.core.exception.http.FoundAction; | ||
| import org.pac4j.core.util.serializer.JavaSerializer; | ||
|
|
||
| public class SerializationUtils { | ||
|
|
||
| private static final JavaSerializer JAVA_SERIALIZER = new JavaSerializer(); | ||
|
|
||
| private SerializationUtils() {} | ||
|
|
||
| public static String serializeFoundAction(@Nonnull final FoundAction foundAction) { | ||
| byte[] javaSerBytes = JAVA_SERIALIZER.serializeToBytes(foundAction); | ||
| return Base64.getEncoder().encodeToString(compressBytes(javaSerBytes)); | ||
| } | ||
|
|
||
| public static FoundAction deserializeFoundAction(@Nonnull final String serialized) { | ||
| return (FoundAction) | ||
| JAVA_SERIALIZER.deserializeFromBytes( | ||
| uncompressBytes(Base64.getDecoder().decode(serialized))); | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [actionlint] reported by reviewdog 🐶$/$ {} is unnecessary on arithmetic variables [shellcheck]
shellcheck reported issue in this script: SC2004:style:24:13:
datahub/.github/workflows/verify-quickstart-compose.yml
Line 38 in 0dd4e87