-
Notifications
You must be signed in to change notification settings - Fork 387
Conversation
|
|
||
| message DGCBlockedUVCIChunk { | ||
| repeated uint32 incides = 1; |
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.
@ioangut can you update this to the version from https://github.com/corona-warn-app/cwa-server/pull/1595/files? It fixes a typo here: incides -> indices
| # generate the individual items, e.g. | ||
| # '[{"indices":[0],"hash":"fcde2b2edba5"},{"indices":[0,2],"hash":"1b68fbf8fb94"}]' | ||
| # note that `hash` shall be parsed from a hex string to a byte sequence | ||
| blocked-uvci-chunks: ${DGC_BLOCKED_UVCI_CHUNKS:[{"indices":[0],"hash":"9B09CAFEC0A6808411C348880C9C2D920646DFB980B5C959DC6EBF8A19B98120","validFrom":1636040446},{"indices":[0,2],"hash":"7D5D5B336E903086D64D1207EC6E957A4B1301026699011026F84A5156317C2B","validFrom":1638369640}]} |
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.
@ioangut that's the default value for PROD then, right? Default should be empty array...
| return deserializedBlockedUvciChunks.stream().filter(dgcBlockedUvciChunk -> | ||
| TimeUtils.getNow().getEpochSecond() >= dgcBlockedUvciChunk.getValidFrom()) | ||
| .map(deserializedBlockedUvciChunk -> DGCBlockedUVCIChunk.newBuilder() | ||
| .addAllIncides(deserializedBlockedUvciChunk.getIndices()) |
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.
I guess this will need to be adjusted for the typo once the ProtoBuf is updated.
|
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM 👍
* Add block list for DCCs * add test and change default value
* Add luca app tracing parameters * Add block list for DCCs - HF (#1602) * Add block list for DCCs * add test and change default value








No description provided.