BSA for integration test (#2256)

Supports the full blocklist download cycle (download, diffing, diff-apply, and order-status reporting) and the refreshing of unblockable domains.

Submitted due to tight deadline. We will conduct post-submit review and refactoring.
This commit is contained in:
Weimin Yu
2024-01-05 11:09:40 -05:00
committed by GitHub
parent 5315752bc0
commit 3f5c9d1246
68 changed files with 5191 additions and 260 deletions
@@ -3678,7 +3678,7 @@ td.section {
timestamptz not null
</text>
<text text-anchor="start" x="4321" y="-5351.3" font-family="Helvetica,sans-Serif" font-size="14.00">
stage
refreshStage
</text>
<text text-anchor="start" x="4462" y="-5351.3" font-family="Helvetica,sans-Serif" font-size="14.00">
</text>
@@ -3735,7 +3735,7 @@ td.section {
timestamptz not null
</text>
<text text-anchor="start" x="4335" y="-5493.3" font-family="Helvetica,sans-Serif" font-size="14.00">
stage
refreshStage
</text>
<text text-anchor="start" x="4471" y="-5493.3" font-family="Helvetica,sans-Serif" font-size="14.00">
</text>
@@ -8120,7 +8120,7 @@ td.section {
</tr>
<tr>
<td class="spacer"></td>
<td class="minwidth">stage</td>
<td class="minwidth">refreshStage</td>
<td class="minwidth">text not null</td>
</tr>
<tr>
@@ -8194,7 +8194,7 @@ td.section {
</tr>
<tr>
<td class="spacer"></td>
<td class="minwidth">stage</td>
<td class="minwidth">refreshStage</td>
<td class="minwidth">text not null</td>
</tr>
<tr>
@@ -85,14 +85,6 @@
primary key (billing_recurrence_id)
);
create table "BsaDomainInUse" (
label text not null,
tld text not null,
creation_time timestamptz not null,
reason text not null,
primary key (label, tld)
);
create table "BsaDomainRefresh" (
job_id bigserial not null,
creation_time timestamptz not null,
@@ -116,6 +108,14 @@
primary key (label)
);
create table "BsaUnblockableDomain" (
label text not null,
tld text not null,
creation_time timestamptz not null,
reason text not null,
primary key (label, tld)
);
create table "ClaimsEntry" (
revision_id int8 not null,
domain_label text not null,