From b5ad623f2302f278482325e1383264731ea20a7b Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 14:34:10 -0400 Subject: [PATCH 01/14] test dbdoc --- dbdoc/README.md | 30 ++ dbdoc/public.acos.md | 46 +++ dbdoc/public.acos.svg | 96 ++++++ dbdoc/public.alr.md | 40 +++ dbdoc/public.alr.svg | 90 ++++++ dbdoc/public.alr_meta.md | 42 +++ dbdoc/public.alr_meta.svg | 90 ++++++ dbdoc/public.cclf_beneficiaries.md | 43 +++ dbdoc/public.cclf_beneficiaries.svg | 90 ++++++ dbdoc/public.cclf_files.md | 45 +++ dbdoc/public.cclf_files.svg | 90 ++++++ dbdoc/public.job_keys.md | 42 +++ dbdoc/public.job_keys.svg | 44 +++ dbdoc/public.jobs.md | 38 +++ dbdoc/public.jobs.svg | 96 ++++++ dbdoc/public.schema_migrations_bcda.md | 30 ++ dbdoc/public.schema_migrations_bcda.svg | 29 ++ dbdoc/public.suppression_files.md | 42 +++ dbdoc/public.suppression_files.svg | 41 +++ dbdoc/public.suppressions.md | 54 ++++ dbdoc/public.suppressions.svg | 77 +++++ dbdoc/schema.json | 1 + dbdoc/schema.svg | 382 ++++++++++++++++++++++++ 23 files changed, 1578 insertions(+) create mode 100644 dbdoc/README.md create mode 100644 dbdoc/public.acos.md create mode 100644 dbdoc/public.acos.svg create mode 100644 dbdoc/public.alr.md create mode 100644 dbdoc/public.alr.svg create mode 100644 dbdoc/public.alr_meta.md create mode 100644 dbdoc/public.alr_meta.svg create mode 100644 dbdoc/public.cclf_beneficiaries.md create mode 100644 dbdoc/public.cclf_beneficiaries.svg create mode 100644 dbdoc/public.cclf_files.md create mode 100644 dbdoc/public.cclf_files.svg create mode 100644 dbdoc/public.job_keys.md create mode 100644 dbdoc/public.job_keys.svg create mode 100644 dbdoc/public.jobs.md create mode 100644 dbdoc/public.jobs.svg create mode 100644 dbdoc/public.schema_migrations_bcda.md create mode 100644 dbdoc/public.schema_migrations_bcda.svg create mode 100644 dbdoc/public.suppression_files.md create mode 100644 dbdoc/public.suppression_files.svg create mode 100644 dbdoc/public.suppressions.md create mode 100644 dbdoc/public.suppressions.svg create mode 100644 dbdoc/schema.json create mode 100644 dbdoc/schema.svg diff --git a/dbdoc/README.md b/dbdoc/README.md new file mode 100644 index 000000000..828e6915d --- /dev/null +++ b/dbdoc/README.md @@ -0,0 +1,30 @@ +# bcda + +## Tables + +| Name | Columns | Comment | Type | +| ---- | ------- | ------- | ---- | +| [public.schema_migrations_bcda](public.schema_migrations_bcda.md) | 2 | | BASE TABLE | +| [public.acos](public.acos.md) | 10 | | BASE TABLE | +| [public.cclf_beneficiaries](public.cclf_beneficiaries.md) | 7 | | BASE TABLE | +| [public.cclf_files](public.cclf_files.md) | 10 | | BASE TABLE | +| [public.job_keys](public.job_keys.md) | 7 | | BASE TABLE | +| [public.jobs](public.jobs.md) | 9 | | BASE TABLE | +| [public.suppression_files](public.suppression_files.md) | 6 | | BASE TABLE | +| [public.suppressions](public.suppressions.md) | 18 | | BASE TABLE | +| [public.alr](public.alr.md) | 12 | | BASE TABLE | +| [public.alr_meta](public.alr_meta.md) | 5 | | BASE TABLE | + +## Stored procedures and functions + +| Name | ReturnType | Arguments | Type | +| ---- | ------- | ------- | ---- | +| public.trigger_set_timestamp | trigger | | FUNCTION | + +## Relations + +![er](schema.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.acos.md b/dbdoc/public.acos.md new file mode 100644 index 000000000..2bc861ced --- /dev/null +++ b/dbdoc/public.acos.md @@ -0,0 +1,46 @@ +# public.acos + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| uuid | uuid | | false | [public.jobs](public.jobs.md) | | | +| name | text | | false | | | | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | now() | false | | | | +| id | integer | nextval('acos_id_seq'::regclass) | false | | | | +| client_id | text | | true | | | | +| cms_id | varchar(8) | | true | | | | +| group_id | text | | true | | | | +| system_id | text | | true | | | | +| termination_details | jsonb | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| acos_pkey | PRIMARY KEY | PRIMARY KEY (uuid) | +| acos_cms_id_key | UNIQUE | UNIQUE (cms_id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| acos_pkey | CREATE UNIQUE INDEX acos_pkey ON public.acos USING btree (uuid) | +| acos_cms_id_key | CREATE UNIQUE INDEX acos_cms_id_key ON public.acos USING btree (cms_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.acos FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.acos.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.acos.svg b/dbdoc/public.acos.svg new file mode 100644 index 000000000..5ccc2b5c4 --- /dev/null +++ b/dbdoc/public.acos.svg @@ -0,0 +1,96 @@ + + + + + + +public.acos + + + +public.acos + + +public.acos +     +[BASE TABLE] + +uuid +[uuid] + +name +[text] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +id +[integer] + +client_id +[text] + +cms_id +[varchar(8)] + +group_id +[text] + +system_id +[text] + +termination_details +[jsonb] + + + + +public.jobs + + +public.jobs +     +[BASE TABLE] + +id     +[integer] + +aco_id     +[uuid] + +request_url     +[text] + +status     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +job_count     +[integer] + +transaction_time     +[timestamp with time zone] + +priority     +[integer] + + + +public.jobs:aco_id->public.acos:uuid + + +FOREIGN KEY (aco_id) REFERENCES acos(uuid) + + + diff --git a/dbdoc/public.alr.md b/dbdoc/public.alr.md new file mode 100644 index 000000000..beac1acfe --- /dev/null +++ b/dbdoc/public.alr.md @@ -0,0 +1,40 @@ +# public.alr + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | now() | false | | | | +| id | bigint | nextval('alr_id_seq'::regclass) | false | | | | +| metakey | bigint | | false | | [public.alr_meta](public.alr_meta.md) | | +| mbi | character(11) | | false | | | | +| hic | character(12) | | true | | | | +| firstname | varchar(30) | | true | | | | +| lastname | varchar(40) | | true | | | | +| sex | character(1) | | true | | | | +| dob | timestamp without time zone | | true | | | | +| dod | timestamp without time zone | | true | | | | +| keyvalue | bytea | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| foreign_key_alr | FOREIGN KEY | FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.alr.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.alr.svg b/dbdoc/public.alr.svg new file mode 100644 index 000000000..ff6f957ef --- /dev/null +++ b/dbdoc/public.alr.svg @@ -0,0 +1,90 @@ + + + + + + +public.alr + + + +public.alr + + +public.alr +     +[BASE TABLE] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +id +[bigint] + +metakey +[bigint] + +mbi +[character(11)] + +hic +[character(12)] + +firstname +[varchar(30)] + +lastname +[varchar(40)] + +sex +[character(1)] + +dob +[timestamp without time zone] + +dod +[timestamp without time zone] + +keyvalue +[bytea] + + + + +public.alr_meta + + +public.alr_meta +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +aco     +[varchar(5)] + +timestp     +[timestamp with time zone] + + + +public.alr:metakey->public.alr_meta:id + + +FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdoc/public.alr_meta.md b/dbdoc/public.alr_meta.md new file mode 100644 index 000000000..a3a60852f --- /dev/null +++ b/dbdoc/public.alr_meta.md @@ -0,0 +1,42 @@ +# public.alr_meta + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | now() | false | | | | +| id | bigint | nextval('alr_meta_id_seq'::regclass) | false | [public.alr](public.alr.md) | | | +| aco | varchar(5) | | true | | | | +| timestp | timestamp with time zone | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| alr_meta_id_aco_timestp_key | UNIQUE | UNIQUE (id, aco, timestp) | +| primary_key_alr_meta | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| alr_meta_id_aco_timestp_key | CREATE UNIQUE INDEX alr_meta_id_aco_timestp_key ON public.alr_meta USING btree (id, aco, timestp) | +| idx_metaid_timestamp | CREATE INDEX idx_metaid_timestamp ON public.alr_meta USING btree (aco, timestp) | +| primary_key_alr_meta | CREATE UNIQUE INDEX primary_key_alr_meta ON public.alr_meta USING btree (id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr_meta FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.alr_meta.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.alr_meta.svg b/dbdoc/public.alr_meta.svg new file mode 100644 index 000000000..c7e259e0e --- /dev/null +++ b/dbdoc/public.alr_meta.svg @@ -0,0 +1,90 @@ + + + + + + +public.alr_meta + + + +public.alr_meta + + +public.alr_meta +     +[BASE TABLE] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +id +[bigint] + +aco +[varchar(5)] + +timestp +[timestamp with time zone] + + + + +public.alr + + +public.alr +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +metakey     +[bigint] + +mbi     +[character(11)] + +hic     +[character(12)] + +firstname     +[varchar(30)] + +lastname     +[varchar(40)] + +sex     +[character(1)] + +dob     +[timestamp without time zone] + +dod     +[timestamp without time zone] + +keyvalue     +[bytea] + + + +public.alr:metakey->public.alr_meta:id + + +FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdoc/public.cclf_beneficiaries.md b/dbdoc/public.cclf_beneficiaries.md new file mode 100644 index 000000000..e107b6339 --- /dev/null +++ b/dbdoc/public.cclf_beneficiaries.md @@ -0,0 +1,43 @@ +# public.cclf_beneficiaries + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('cclf_beneficiaries_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| file_id | integer | | false | | [public.cclf_files](public.cclf_files.md) | | +| mbi | character(11) | | false | | | | +| beneficiary_id | integer | | true | | | | +| blue_button_id | text | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| cclf_beneficiaries_pkey | PRIMARY KEY | PRIMARY KEY (id) | +| cclf_beneficiaries_file_id_cclf_files_id_foreign | FOREIGN KEY | FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| cclf_beneficiaries_pkey | CREATE UNIQUE INDEX cclf_beneficiaries_pkey ON public.cclf_beneficiaries USING btree (id) | +| idx_cclf_beneficiaries_file_id | CREATE INDEX idx_cclf_beneficiaries_file_id ON public.cclf_beneficiaries USING btree (file_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_beneficiaries FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.cclf_beneficiaries.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.cclf_beneficiaries.svg b/dbdoc/public.cclf_beneficiaries.svg new file mode 100644 index 000000000..188a512b1 --- /dev/null +++ b/dbdoc/public.cclf_beneficiaries.svg @@ -0,0 +1,90 @@ + + + + + + +public.cclf_beneficiaries + + + +public.cclf_beneficiaries + + +public.cclf_beneficiaries +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +file_id +[integer] + +mbi +[character(11)] + +beneficiary_id +[integer] + +blue_button_id +[text] + + + + +public.cclf_files + + +public.cclf_files +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +cclf_num     +[integer] + +name     +[text] + +aco_cms_id     +[varchar(8)] + +timestamp     +[timestamp with time zone] + +performance_year     +[integer] + +import_status     +[text] + +type     +[smallint] + + + +public.cclf_beneficiaries:file_id->public.cclf_files:id + + +FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdoc/public.cclf_files.md b/dbdoc/public.cclf_files.md new file mode 100644 index 000000000..c220247a5 --- /dev/null +++ b/dbdoc/public.cclf_files.md @@ -0,0 +1,45 @@ +# public.cclf_files + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('cclf_files_id_seq'::regclass) | false | [public.cclf_beneficiaries](public.cclf_beneficiaries.md) | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| cclf_num | integer | | false | | | | +| name | text | | false | | | | +| aco_cms_id | varchar(8) | | true | | | | +| timestamp | timestamp with time zone | | false | | | | +| performance_year | integer | | false | | | | +| import_status | text | | true | | | | +| type | smallint | 0 | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| cclf_files_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| cclf_files_pkey | CREATE UNIQUE INDEX cclf_files_pkey ON public.cclf_files USING btree (id) | +| idx_cclf_files_name_aco_cms_id_key | CREATE UNIQUE INDEX idx_cclf_files_name_aco_cms_id_key ON public.cclf_files USING btree (name, aco_cms_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.cclf_files.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.cclf_files.svg b/dbdoc/public.cclf_files.svg new file mode 100644 index 000000000..6898c225d --- /dev/null +++ b/dbdoc/public.cclf_files.svg @@ -0,0 +1,90 @@ + + + + + + +public.cclf_files + + + +public.cclf_files + + +public.cclf_files +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +cclf_num +[integer] + +name +[text] + +aco_cms_id +[varchar(8)] + +timestamp +[timestamp with time zone] + +performance_year +[integer] + +import_status +[text] + +type +[smallint] + + + + +public.cclf_beneficiaries + + +public.cclf_beneficiaries +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +file_id     +[integer] + +mbi     +[character(11)] + +beneficiary_id     +[integer] + +blue_button_id     +[text] + + + +public.cclf_beneficiaries:file_id->public.cclf_files:id + + +FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdoc/public.job_keys.md b/dbdoc/public.job_keys.md new file mode 100644 index 000000000..98fc5a23d --- /dev/null +++ b/dbdoc/public.job_keys.md @@ -0,0 +1,42 @@ +# public.job_keys + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('job_keys_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| job_id | integer | nextval('job_keys_job_id_seq'::regclass) | false | | | | +| file_name | character(127) | | true | | | | +| resource_type | text | | true | | | | +| que_job_id | bigint | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| job_keys_pkey | PRIMARY KEY | PRIMARY KEY (id, job_id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| job_keys_pkey | CREATE UNIQUE INDEX job_keys_pkey ON public.job_keys USING btree (id, job_id) | +| idx_job_keys_job_id_que_job_id | CREATE INDEX idx_job_keys_job_id_que_job_id ON public.job_keys USING btree (job_id, que_job_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.job_keys FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.job_keys.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.job_keys.svg b/dbdoc/public.job_keys.svg new file mode 100644 index 000000000..b32220269 --- /dev/null +++ b/dbdoc/public.job_keys.svg @@ -0,0 +1,44 @@ + + + + + + +public.job_keys + + + +public.job_keys + + +public.job_keys +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +job_id +[integer] + +file_name +[character(127)] + +resource_type +[text] + +que_job_id +[bigint] + + + + diff --git a/dbdoc/public.jobs.md b/dbdoc/public.jobs.md new file mode 100644 index 000000000..21bd46da5 --- /dev/null +++ b/dbdoc/public.jobs.md @@ -0,0 +1,38 @@ +# public.jobs + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('jobs_id_seq'::regclass) | false | | | | +| aco_id | uuid | | false | | [public.acos](public.acos.md) | | +| request_url | text | | false | | | | +| status | text | | false | | | | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | | true | | | | +| job_count | integer | | true | | | | +| transaction_time | timestamp with time zone | | true | | | | +| priority | integer | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| jobs_aco_id_fkey | FOREIGN KEY | FOREIGN KEY (aco_id) REFERENCES acos(uuid) | +| jobs_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| jobs_pkey | CREATE UNIQUE INDEX jobs_pkey ON public.jobs USING btree (id) | + +## Relations + +![er](public.jobs.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.jobs.svg b/dbdoc/public.jobs.svg new file mode 100644 index 000000000..90e92b5e7 --- /dev/null +++ b/dbdoc/public.jobs.svg @@ -0,0 +1,96 @@ + + + + + + +public.jobs + + + +public.jobs + + +public.jobs +     +[BASE TABLE] + +id +[integer] + +aco_id +[uuid] + +request_url +[text] + +status +[text] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +job_count +[integer] + +transaction_time +[timestamp with time zone] + +priority +[integer] + + + + +public.acos + + +public.acos +     +[BASE TABLE] + +uuid     +[uuid] + +name     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[integer] + +client_id     +[text] + +cms_id     +[varchar(8)] + +group_id     +[text] + +system_id     +[text] + +termination_details     +[jsonb] + + + +public.jobs:aco_id->public.acos:uuid + + +FOREIGN KEY (aco_id) REFERENCES acos(uuid) + + + diff --git a/dbdoc/public.schema_migrations_bcda.md b/dbdoc/public.schema_migrations_bcda.md new file mode 100644 index 000000000..1d4a1b653 --- /dev/null +++ b/dbdoc/public.schema_migrations_bcda.md @@ -0,0 +1,30 @@ +# public.schema_migrations_bcda + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| version | bigint | | false | | | | +| dirty | boolean | | false | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| schema_migrations_bcda_pkey | PRIMARY KEY | PRIMARY KEY (version) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| schema_migrations_bcda_pkey | CREATE UNIQUE INDEX schema_migrations_bcda_pkey ON public.schema_migrations_bcda USING btree (version) | + +## Relations + +![er](public.schema_migrations_bcda.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.schema_migrations_bcda.svg b/dbdoc/public.schema_migrations_bcda.svg new file mode 100644 index 000000000..5d29637b6 --- /dev/null +++ b/dbdoc/public.schema_migrations_bcda.svg @@ -0,0 +1,29 @@ + + + + + + +public.schema_migrations_bcda + + + +public.schema_migrations_bcda + + +public.schema_migrations_bcda +     +[BASE TABLE] + +version +[bigint] + +dirty +[boolean] + + + + diff --git a/dbdoc/public.suppression_files.md b/dbdoc/public.suppression_files.md new file mode 100644 index 000000000..f770ee7f3 --- /dev/null +++ b/dbdoc/public.suppression_files.md @@ -0,0 +1,42 @@ +# public.suppression_files + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('suppression_files_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| name | text | | false | | | | +| timestamp | timestamp with time zone | | false | | | | +| import_status | text | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| suppression_files_name_key | UNIQUE | UNIQUE (name) | +| suppression_files_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| suppression_files_name_key | CREATE UNIQUE INDEX suppression_files_name_key ON public.suppression_files USING btree (name) | +| suppression_files_pkey | CREATE UNIQUE INDEX suppression_files_pkey ON public.suppression_files USING btree (id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppression_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.suppression_files.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.suppression_files.svg b/dbdoc/public.suppression_files.svg new file mode 100644 index 000000000..57bd2a468 --- /dev/null +++ b/dbdoc/public.suppression_files.svg @@ -0,0 +1,41 @@ + + + + + + +public.suppression_files + + + +public.suppression_files + + +public.suppression_files +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +name +[text] + +timestamp +[timestamp with time zone] + +import_status +[text] + + + + diff --git a/dbdoc/public.suppressions.md b/dbdoc/public.suppressions.md new file mode 100644 index 000000000..e8aa387a4 --- /dev/null +++ b/dbdoc/public.suppressions.md @@ -0,0 +1,54 @@ +# public.suppressions + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('suppressions_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| source_code | varchar(5) | | true | | | | +| effective_dt | timestamp with time zone | | true | | | | +| pref_indicator | character(1) | | true | | | | +| samhsa_source_code | varchar(5) | | true | | | | +| samhsa_effective_dt | timestamp with time zone | | true | | | | +| samhsa_pref_indicator | character(1) | | true | | | | +| aco_cms_id | varchar(8) | | true | | | | +| beneficiary_link_key | integer | | true | | | | +| effective_date | timestamp with time zone | | true | | | | +| preference_indicator | character(1) | | true | | | | +| samhsa_effective_date | timestamp with time zone | | true | | | | +| samhsa_preference_indicator | character(1) | | true | | | | +| file_id | integer | | false | | | | +| blue_button_id | text | | true | | | | +| mbi | varchar(11) | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| suppressions_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| suppressions_pkey | CREATE UNIQUE INDEX suppressions_pkey ON public.suppressions USING btree (id) | +| idx_suppression_bb_id | CREATE INDEX idx_suppression_bb_id ON public.suppressions USING btree (blue_button_id) | +| idx_suppression_mbi | CREATE INDEX idx_suppression_mbi ON public.suppressions USING btree (mbi) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppressions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.suppressions.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.suppressions.svg b/dbdoc/public.suppressions.svg new file mode 100644 index 000000000..bc24f4861 --- /dev/null +++ b/dbdoc/public.suppressions.svg @@ -0,0 +1,77 @@ + + + + + + +public.suppressions + + + +public.suppressions + + +public.suppressions +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +source_code +[varchar(5)] + +effective_dt +[timestamp with time zone] + +pref_indicator +[character(1)] + +samhsa_source_code +[varchar(5)] + +samhsa_effective_dt +[timestamp with time zone] + +samhsa_pref_indicator +[character(1)] + +aco_cms_id +[varchar(8)] + +beneficiary_link_key +[integer] + +effective_date +[timestamp with time zone] + +preference_indicator +[character(1)] + +samhsa_effective_date +[timestamp with time zone] + +samhsa_preference_indicator +[character(1)] + +file_id +[integer] + +blue_button_id +[text] + +mbi +[varchar(11)] + + + + diff --git a/dbdoc/schema.json b/dbdoc/schema.json new file mode 100644 index 000000000..9b7adcdda --- /dev/null +++ b/dbdoc/schema.json @@ -0,0 +1 @@ +{"name":"bcda","desc":"","tables":[{"name":"public.schema_migrations_bcda","type":"BASE TABLE","comment":"","columns":[{"name":"version","type":"bigint","nullable":false,"default":null,"comment":""},{"name":"dirty","type":"boolean","nullable":false,"default":null,"comment":""}],"indexes":[{"name":"schema_migrations_bcda_pkey","def":"CREATE UNIQUE INDEX schema_migrations_bcda_pkey ON public.schema_migrations_bcda USING btree (version)","table":"public.schema_migrations_bcda","columns":["version"],"comment":""}],"constraints":[{"name":"schema_migrations_bcda_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (version)","table":"public.schema_migrations_bcda","referenced_table":"","columns":["version"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""},{"name":"public.acos","type":"BASE TABLE","comment":"","columns":[{"name":"uuid","type":"uuid","nullable":false,"default":null,"comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"integer","nullable":false,"default":"nextval('acos_id_seq'::regclass)","comment":""},{"name":"client_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"group_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"system_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"termination_details","type":"jsonb","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"acos_pkey","def":"CREATE UNIQUE INDEX acos_pkey ON public.acos USING btree (uuid)","table":"public.acos","columns":["uuid"],"comment":""},{"name":"acos_cms_id_key","def":"CREATE UNIQUE INDEX acos_cms_id_key ON public.acos USING btree (cms_id)","table":"public.acos","columns":["cms_id"],"comment":""}],"constraints":[{"name":"acos_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (uuid)","table":"public.acos","referenced_table":"","columns":["uuid"],"referenced_columns":[],"comment":""},{"name":"acos_cms_id_key","type":"UNIQUE","def":"UNIQUE (cms_id)","table":"public.acos","referenced_table":"","columns":["cms_id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.acos FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.cclf_beneficiaries","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('cclf_beneficiaries_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"file_id","type":"integer","nullable":false,"default":null,"comment":""},{"name":"mbi","type":"character(11)","nullable":false,"default":null,"comment":""},{"name":"beneficiary_id","type":"integer","nullable":true,"default":null,"comment":""},{"name":"blue_button_id","type":"text","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"cclf_beneficiaries_pkey","def":"CREATE UNIQUE INDEX cclf_beneficiaries_pkey ON public.cclf_beneficiaries USING btree (id)","table":"public.cclf_beneficiaries","columns":["id"],"comment":""},{"name":"idx_cclf_beneficiaries_file_id","def":"CREATE INDEX idx_cclf_beneficiaries_file_id ON public.cclf_beneficiaries USING btree (file_id)","table":"public.cclf_beneficiaries","columns":["file_id"],"comment":""}],"constraints":[{"name":"cclf_beneficiaries_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.cclf_beneficiaries","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""},{"name":"cclf_beneficiaries_file_id_cclf_files_id_foreign","type":"FOREIGN KEY","def":"FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT","table":"public.cclf_beneficiaries","referenced_table":"cclf_files","columns":["file_id"],"referenced_columns":["id"],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_beneficiaries FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.cclf_files","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('cclf_files_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"cclf_num","type":"integer","nullable":false,"default":null,"comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"aco_cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"timestamp","type":"timestamp with time zone","nullable":false,"default":null,"comment":""},{"name":"performance_year","type":"integer","nullable":false,"default":null,"comment":""},{"name":"import_status","type":"text","nullable":true,"default":null,"comment":""},{"name":"type","type":"smallint","nullable":true,"default":"0","comment":""}],"indexes":[{"name":"cclf_files_pkey","def":"CREATE UNIQUE INDEX cclf_files_pkey ON public.cclf_files USING btree (id)","table":"public.cclf_files","columns":["id"],"comment":""},{"name":"idx_cclf_files_name_aco_cms_id_key","def":"CREATE UNIQUE INDEX idx_cclf_files_name_aco_cms_id_key ON public.cclf_files USING btree (name, aco_cms_id)","table":"public.cclf_files","columns":["aco_cms_id","name"],"comment":""}],"constraints":[{"name":"cclf_files_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.cclf_files","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.job_keys","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('job_keys_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"job_id","type":"integer","nullable":false,"default":"nextval('job_keys_job_id_seq'::regclass)","comment":""},{"name":"file_name","type":"character(127)","nullable":true,"default":null,"comment":""},{"name":"resource_type","type":"text","nullable":true,"default":null,"comment":""},{"name":"que_job_id","type":"bigint","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"job_keys_pkey","def":"CREATE UNIQUE INDEX job_keys_pkey ON public.job_keys USING btree (id, job_id)","table":"public.job_keys","columns":["id","job_id"],"comment":""},{"name":"idx_job_keys_job_id_que_job_id","def":"CREATE INDEX idx_job_keys_job_id_que_job_id ON public.job_keys USING btree (job_id, que_job_id)","table":"public.job_keys","columns":["job_id","que_job_id"],"comment":""}],"constraints":[{"name":"job_keys_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id, job_id)","table":"public.job_keys","referenced_table":"","columns":["id","job_id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.job_keys FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.jobs","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('jobs_id_seq'::regclass)","comment":""},{"name":"aco_id","type":"uuid","nullable":false,"default":null,"comment":""},{"name":"request_url","type":"text","nullable":false,"default":null,"comment":""},{"name":"status","type":"text","nullable":false,"default":null,"comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"job_count","type":"integer","nullable":true,"default":null,"comment":""},{"name":"transaction_time","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"priority","type":"integer","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"jobs_pkey","def":"CREATE UNIQUE INDEX jobs_pkey ON public.jobs USING btree (id)","table":"public.jobs","columns":["id"],"comment":""}],"constraints":[{"name":"jobs_aco_id_fkey","type":"FOREIGN KEY","def":"FOREIGN KEY (aco_id) REFERENCES acos(uuid)","table":"public.jobs","referenced_table":"acos","columns":["aco_id"],"referenced_columns":["uuid"],"comment":""},{"name":"jobs_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.jobs","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""},{"name":"public.suppression_files","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('suppression_files_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"timestamp","type":"timestamp with time zone","nullable":false,"default":null,"comment":""},{"name":"import_status","type":"text","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"suppression_files_name_key","def":"CREATE UNIQUE INDEX suppression_files_name_key ON public.suppression_files USING btree (name)","table":"public.suppression_files","columns":["name"],"comment":""},{"name":"suppression_files_pkey","def":"CREATE UNIQUE INDEX suppression_files_pkey ON public.suppression_files USING btree (id)","table":"public.suppression_files","columns":["id"],"comment":""}],"constraints":[{"name":"suppression_files_name_key","type":"UNIQUE","def":"UNIQUE (name)","table":"public.suppression_files","referenced_table":"","columns":["name"],"referenced_columns":[],"comment":""},{"name":"suppression_files_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.suppression_files","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppression_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.suppressions","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('suppressions_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"source_code","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"effective_dt","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"pref_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"samhsa_source_code","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"samhsa_effective_dt","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"samhsa_pref_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"aco_cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"beneficiary_link_key","type":"integer","nullable":true,"default":null,"comment":""},{"name":"effective_date","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"preference_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"samhsa_effective_date","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"samhsa_preference_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"file_id","type":"integer","nullable":false,"default":null,"comment":""},{"name":"blue_button_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"mbi","type":"varchar(11)","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"suppressions_pkey","def":"CREATE UNIQUE INDEX suppressions_pkey ON public.suppressions USING btree (id)","table":"public.suppressions","columns":["id"],"comment":""},{"name":"idx_suppression_bb_id","def":"CREATE INDEX idx_suppression_bb_id ON public.suppressions USING btree (blue_button_id)","table":"public.suppressions","columns":["blue_button_id"],"comment":""},{"name":"idx_suppression_mbi","def":"CREATE INDEX idx_suppression_mbi ON public.suppressions USING btree (mbi)","table":"public.suppressions","columns":["mbi"],"comment":""}],"constraints":[{"name":"suppressions_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.suppressions","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppressions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.alr","type":"BASE TABLE","comment":"","columns":[{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"bigint","nullable":false,"default":"nextval('alr_id_seq'::regclass)","comment":""},{"name":"metakey","type":"bigint","nullable":false,"default":null,"comment":""},{"name":"mbi","type":"character(11)","nullable":false,"default":null,"comment":""},{"name":"hic","type":"character(12)","nullable":true,"default":null,"comment":""},{"name":"firstname","type":"varchar(30)","nullable":true,"default":null,"comment":""},{"name":"lastname","type":"varchar(40)","nullable":true,"default":null,"comment":""},{"name":"sex","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"dob","type":"timestamp without time zone","nullable":true,"default":null,"comment":""},{"name":"dod","type":"timestamp without time zone","nullable":true,"default":null,"comment":""},{"name":"keyvalue","type":"bytea","nullable":true,"default":null,"comment":""}],"indexes":[],"constraints":[{"name":"foreign_key_alr","type":"FOREIGN KEY","def":"FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT","table":"public.alr","referenced_table":"alr_meta","columns":["metakey"],"referenced_columns":["id"],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.alr_meta","type":"BASE TABLE","comment":"","columns":[{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"bigint","nullable":false,"default":"nextval('alr_meta_id_seq'::regclass)","comment":""},{"name":"aco","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"timestp","type":"timestamp with time zone","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"alr_meta_id_aco_timestp_key","def":"CREATE UNIQUE INDEX alr_meta_id_aco_timestp_key ON public.alr_meta USING btree (id, aco, timestp)","table":"public.alr_meta","columns":["aco","id","timestp"],"comment":""},{"name":"idx_metaid_timestamp","def":"CREATE INDEX idx_metaid_timestamp ON public.alr_meta USING btree (aco, timestp)","table":"public.alr_meta","columns":["aco","timestp"],"comment":""},{"name":"primary_key_alr_meta","def":"CREATE UNIQUE INDEX primary_key_alr_meta ON public.alr_meta USING btree (id)","table":"public.alr_meta","columns":["id"],"comment":""}],"constraints":[{"name":"alr_meta_id_aco_timestp_key","type":"UNIQUE","def":"UNIQUE (id, aco, timestp)","table":"public.alr_meta","referenced_table":"","columns":["id","aco","timestp"],"referenced_columns":[],"comment":""},{"name":"primary_key_alr_meta","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.alr_meta","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr_meta FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""}],"relations":[{"table":"public.cclf_beneficiaries","columns":["file_id"],"cardinality":"Zero or more","parent_table":"public.cclf_files","parent_columns":["id"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT","virtual":false},{"table":"public.jobs","columns":["aco_id"],"cardinality":"Zero or more","parent_table":"public.acos","parent_columns":["uuid"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (aco_id) REFERENCES acos(uuid)","virtual":false},{"table":"public.alr","columns":["metakey"],"cardinality":"Zero or more","parent_table":"public.alr_meta","parent_columns":["id"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT","virtual":false}],"functions":[{"name":"public.trigger_set_timestamp","return_type":"trigger","arguments":"","type":"FUNCTION"}],"driver":{"name":"postgres","database_version":"PostgreSQL 15.7 (Debian 15.7-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit","meta":{"current_schema":"public","search_paths":["postgres","public"],"dict":{"Functions":"Stored procedures and functions"}}}} diff --git a/dbdoc/schema.svg b/dbdoc/schema.svg new file mode 100644 index 000000000..a282e5221 --- /dev/null +++ b/dbdoc/schema.svg @@ -0,0 +1,382 @@ + + + + + + +bcda + + + +public.schema_migrations_bcda + + +public.schema_migrations_bcda +     +[BASE TABLE] + +version     +[bigint] + +dirty     +[boolean] + + + +public.acos + + +public.acos +     +[BASE TABLE] + +uuid     +[uuid] + +name     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[integer] + +client_id     +[text] + +cms_id     +[varchar(8)] + +group_id     +[text] + +system_id     +[text] + +termination_details     +[jsonb] + + + +public.cclf_beneficiaries + + +public.cclf_beneficiaries +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +file_id     +[integer] + +mbi     +[character(11)] + +beneficiary_id     +[integer] + +blue_button_id     +[text] + + + +public.cclf_files + + +public.cclf_files +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +cclf_num     +[integer] + +name     +[text] + +aco_cms_id     +[varchar(8)] + +timestamp     +[timestamp with time zone] + +performance_year     +[integer] + +import_status     +[text] + +type     +[smallint] + + + +public.cclf_beneficiaries:file_id->public.cclf_files:id + + +FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + +public.job_keys + + +public.job_keys +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +job_id     +[integer] + +file_name     +[character(127)] + +resource_type     +[text] + +que_job_id     +[bigint] + + + +public.jobs + + +public.jobs +     +[BASE TABLE] + +id     +[integer] + +aco_id     +[uuid] + +request_url     +[text] + +status     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +job_count     +[integer] + +transaction_time     +[timestamp with time zone] + +priority     +[integer] + + + +public.jobs:aco_id->public.acos:uuid + + +FOREIGN KEY (aco_id) REFERENCES acos(uuid) + + + +public.suppression_files + + +public.suppression_files +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +name     +[text] + +timestamp     +[timestamp with time zone] + +import_status     +[text] + + + +public.suppressions + + +public.suppressions +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +source_code     +[varchar(5)] + +effective_dt     +[timestamp with time zone] + +pref_indicator     +[character(1)] + +samhsa_source_code     +[varchar(5)] + +samhsa_effective_dt     +[timestamp with time zone] + +samhsa_pref_indicator     +[character(1)] + +aco_cms_id     +[varchar(8)] + +beneficiary_link_key     +[integer] + +effective_date     +[timestamp with time zone] + +preference_indicator     +[character(1)] + +samhsa_effective_date     +[timestamp with time zone] + +samhsa_preference_indicator     +[character(1)] + +file_id     +[integer] + +blue_button_id     +[text] + +mbi     +[varchar(11)] + + + +public.alr + + +public.alr +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +metakey     +[bigint] + +mbi     +[character(11)] + +hic     +[character(12)] + +firstname     +[varchar(30)] + +lastname     +[varchar(40)] + +sex     +[character(1)] + +dob     +[timestamp without time zone] + +dod     +[timestamp without time zone] + +keyvalue     +[bytea] + + + +public.alr_meta + + +public.alr_meta +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +aco     +[varchar(5)] + +timestp     +[timestamp with time zone] + + + +public.alr:metakey->public.alr_meta:id + + +FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + From 6fa201fa4a9d29418cd4676dd1d3b88e4a05beef Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 15:03:22 -0400 Subject: [PATCH 02/14] Add workflow --- .github/workflows/dbdocs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/dbdocs.yml diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml new file mode 100644 index 000000000..7593a1730 --- /dev/null +++ b/.github/workflows/dbdocs.yml @@ -0,0 +1,24 @@ +# This workflow generates database documentation and ERD files. +# +name: Generate dbdocs + +on: + pull_request: + paths: + - .github/workflows/dbdocs.yml + - db/migrations/bcda + - db/migrations/bcda_queue + +jobs: + generate-docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Generate docs + run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc "postgres://postgres:toor@db:5432/bcda?sslmode=disable + + - uses: EndBug/add-and-commit@v9 + with: + message: "Generate dbdocs" + default_author: github_actions From beeabdc03f2e64d11456323c45a8940b51bc0093 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 15:07:17 -0400 Subject: [PATCH 03/14] Update workflow --- .github/workflows/dbdocs.yml | 8 +++++++- Makefile | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index 7593a1730..980867028 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -15,8 +15,14 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Start DB + run: make start-db + + - name: Generate docs + run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc --rm-dist "postgres://postgres:toor@db:5432/bcda?sslmode=disable dbdocs/bcda + - name: Generate docs - run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc "postgres://postgres:toor@db:5432/bcda?sslmode=disable + run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc "postgres://postgres:toor@queue:5432/bcda_queue?sslmode=disable dbdocs/bcda_queue - uses: EndBug/add-and-commit@v9 with: diff --git a/Makefile b/Makefile index 509027827..ce75887c9 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ test: $(MAKE) postman env=local maintenanceMode="" $(MAKE) smoke-test env=local maintenanceMode="" -load-fixtures: +start-db: # Rebuild the databases to ensure that we're starting in a fresh state docker compose -f docker-compose.yml rm -fsv db queue @@ -106,6 +106,7 @@ load-fixtures: docker run --rm -v ${PWD}/db/migrations:/migrations --network bcda-app-net migrate/migrate -path=/migrations/bcda/ -database 'postgres://postgres:toor@db:5432/bcda?sslmode=disable&x-migrations-table=schema_migrations_bcda' up docker run --rm -v ${PWD}/db/migrations:/migrations --network bcda-app-net migrate/migrate -path=/migrations/bcda_queue/ -database 'postgres://postgres:toor@queue:5432/bcda_queue?sslmode=disable&x-migrations-table=schema_migrations_bcda_queue' up +load-fixtures: start-db docker compose run db psql -v ON_ERROR_STOP=1 "postgres://postgres:toor@db:5432/bcda?sslmode=disable" -f /var/db/fixtures.sql $(MAKE) load-synthetic-cclf-data $(MAKE) load-synthetic-suppression-data From 1cee1f478ba48677164551ad1d88a96106ab70c9 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 15:08:34 -0400 Subject: [PATCH 04/14] decrypt secrets --- .github/workflows/dbdocs.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index 980867028..e8d45998d 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -9,11 +9,19 @@ on: - db/migrations/bcda - db/migrations/bcda_queue +env: + VAULT_PW: ${{ secrets.VAULT_PW }} + jobs: generate-docs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Decrypt secrets + run: | + echo $VAULT_PW > .vault_password + bash ops/secrets --decrypt + mv -fv shared_files/encrypted/* shared_files/decrypted/ - name: Start DB run: make start-db From fe6ce91a476737d4a0fbf97cb6424110bbb1163a Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 15:09:23 -0400 Subject: [PATCH 05/14] oops typo --- .github/workflows/dbdocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index e8d45998d..2cba3d58d 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -27,10 +27,10 @@ jobs: run: make start-db - name: Generate docs - run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc --rm-dist "postgres://postgres:toor@db:5432/bcda?sslmode=disable dbdocs/bcda + run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc --rm-dist "postgres://postgres:toor@db:5432/bcda?sslmode=disable" dbdocs/bcda - name: Generate docs - run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc "postgres://postgres:toor@queue:5432/bcda_queue?sslmode=disable dbdocs/bcda_queue + run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc "postgres://postgres:toor@queue:5432/bcda_queue?sslmode=disable" dbdocs/bcda_queue - uses: EndBug/add-and-commit@v9 with: From 4dcb2b30c1ea9b8e87e1abd03eb199ee7b8b83e2 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 15:13:22 -0400 Subject: [PATCH 06/14] Checkout ref --- .github/workflows/dbdocs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index 2cba3d58d..c825297ca 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -17,6 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.ref }} + - name: Decrypt secrets run: | echo $VAULT_PW > .vault_password From a9e216ee4e1cc066582fccb62e81c7e077eb50f3 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 19:14:00 +0000 Subject: [PATCH 07/14] Generate dbdocs --- dbdocs/bcda/README.md | 30 ++ dbdocs/bcda/public.acos.md | 46 +++ dbdocs/bcda/public.acos.svg | 96 +++++ dbdocs/bcda/public.alr.md | 40 ++ dbdocs/bcda/public.alr.svg | 90 +++++ dbdocs/bcda/public.alr_meta.md | 42 ++ dbdocs/bcda/public.alr_meta.svg | 90 +++++ dbdocs/bcda/public.cclf_beneficiaries.md | 43 ++ dbdocs/bcda/public.cclf_beneficiaries.svg | 90 +++++ dbdocs/bcda/public.cclf_files.md | 45 +++ dbdocs/bcda/public.cclf_files.svg | 90 +++++ dbdocs/bcda/public.job_keys.md | 42 ++ dbdocs/bcda/public.job_keys.svg | 44 ++ dbdocs/bcda/public.jobs.md | 38 ++ dbdocs/bcda/public.jobs.svg | 96 +++++ dbdocs/bcda/public.schema_migrations_bcda.md | 30 ++ dbdocs/bcda/public.schema_migrations_bcda.svg | 29 ++ dbdocs/bcda/public.suppression_files.md | 42 ++ dbdocs/bcda/public.suppression_files.svg | 41 ++ dbdocs/bcda/public.suppressions.md | 54 +++ dbdocs/bcda/public.suppressions.svg | 77 ++++ dbdocs/bcda/schema.json | 1 + dbdocs/bcda/schema.svg | 382 ++++++++++++++++++ dbdocs/bcda_queue/README.md | 16 + dbdocs/bcda_queue/public.que_jobs.md | 38 ++ dbdocs/bcda_queue/public.que_jobs.svg | 47 +++ .../public.schema_migrations_bcda_queue.md | 30 ++ .../public.schema_migrations_bcda_queue.svg | 29 ++ dbdocs/bcda_queue/schema.json | 1 + dbdocs/bcda_queue/schema.svg | 61 +++ shared_files/encrypted/api.yml | 62 --- shared_files/encrypted/bfd-dev-test-cert.pem | 90 ----- shared_files/encrypted/bfd-dev-test-key.pem | 169 -------- shared_files/encrypted/local.env | 125 ------ 34 files changed, 1800 insertions(+), 446 deletions(-) create mode 100644 dbdocs/bcda/README.md create mode 100644 dbdocs/bcda/public.acos.md create mode 100644 dbdocs/bcda/public.acos.svg create mode 100644 dbdocs/bcda/public.alr.md create mode 100644 dbdocs/bcda/public.alr.svg create mode 100644 dbdocs/bcda/public.alr_meta.md create mode 100644 dbdocs/bcda/public.alr_meta.svg create mode 100644 dbdocs/bcda/public.cclf_beneficiaries.md create mode 100644 dbdocs/bcda/public.cclf_beneficiaries.svg create mode 100644 dbdocs/bcda/public.cclf_files.md create mode 100644 dbdocs/bcda/public.cclf_files.svg create mode 100644 dbdocs/bcda/public.job_keys.md create mode 100644 dbdocs/bcda/public.job_keys.svg create mode 100644 dbdocs/bcda/public.jobs.md create mode 100644 dbdocs/bcda/public.jobs.svg create mode 100644 dbdocs/bcda/public.schema_migrations_bcda.md create mode 100644 dbdocs/bcda/public.schema_migrations_bcda.svg create mode 100644 dbdocs/bcda/public.suppression_files.md create mode 100644 dbdocs/bcda/public.suppression_files.svg create mode 100644 dbdocs/bcda/public.suppressions.md create mode 100644 dbdocs/bcda/public.suppressions.svg create mode 100644 dbdocs/bcda/schema.json create mode 100644 dbdocs/bcda/schema.svg create mode 100644 dbdocs/bcda_queue/README.md create mode 100644 dbdocs/bcda_queue/public.que_jobs.md create mode 100644 dbdocs/bcda_queue/public.que_jobs.svg create mode 100644 dbdocs/bcda_queue/public.schema_migrations_bcda_queue.md create mode 100644 dbdocs/bcda_queue/public.schema_migrations_bcda_queue.svg create mode 100644 dbdocs/bcda_queue/schema.json create mode 100644 dbdocs/bcda_queue/schema.svg delete mode 100644 shared_files/encrypted/api.yml delete mode 100644 shared_files/encrypted/bfd-dev-test-cert.pem delete mode 100644 shared_files/encrypted/bfd-dev-test-key.pem delete mode 100644 shared_files/encrypted/local.env diff --git a/dbdocs/bcda/README.md b/dbdocs/bcda/README.md new file mode 100644 index 000000000..828e6915d --- /dev/null +++ b/dbdocs/bcda/README.md @@ -0,0 +1,30 @@ +# bcda + +## Tables + +| Name | Columns | Comment | Type | +| ---- | ------- | ------- | ---- | +| [public.schema_migrations_bcda](public.schema_migrations_bcda.md) | 2 | | BASE TABLE | +| [public.acos](public.acos.md) | 10 | | BASE TABLE | +| [public.cclf_beneficiaries](public.cclf_beneficiaries.md) | 7 | | BASE TABLE | +| [public.cclf_files](public.cclf_files.md) | 10 | | BASE TABLE | +| [public.job_keys](public.job_keys.md) | 7 | | BASE TABLE | +| [public.jobs](public.jobs.md) | 9 | | BASE TABLE | +| [public.suppression_files](public.suppression_files.md) | 6 | | BASE TABLE | +| [public.suppressions](public.suppressions.md) | 18 | | BASE TABLE | +| [public.alr](public.alr.md) | 12 | | BASE TABLE | +| [public.alr_meta](public.alr_meta.md) | 5 | | BASE TABLE | + +## Stored procedures and functions + +| Name | ReturnType | Arguments | Type | +| ---- | ------- | ------- | ---- | +| public.trigger_set_timestamp | trigger | | FUNCTION | + +## Relations + +![er](schema.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.acos.md b/dbdocs/bcda/public.acos.md new file mode 100644 index 000000000..2bc861ced --- /dev/null +++ b/dbdocs/bcda/public.acos.md @@ -0,0 +1,46 @@ +# public.acos + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| uuid | uuid | | false | [public.jobs](public.jobs.md) | | | +| name | text | | false | | | | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | now() | false | | | | +| id | integer | nextval('acos_id_seq'::regclass) | false | | | | +| client_id | text | | true | | | | +| cms_id | varchar(8) | | true | | | | +| group_id | text | | true | | | | +| system_id | text | | true | | | | +| termination_details | jsonb | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| acos_pkey | PRIMARY KEY | PRIMARY KEY (uuid) | +| acos_cms_id_key | UNIQUE | UNIQUE (cms_id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| acos_pkey | CREATE UNIQUE INDEX acos_pkey ON public.acos USING btree (uuid) | +| acos_cms_id_key | CREATE UNIQUE INDEX acos_cms_id_key ON public.acos USING btree (cms_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.acos FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.acos.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.acos.svg b/dbdocs/bcda/public.acos.svg new file mode 100644 index 000000000..5ccc2b5c4 --- /dev/null +++ b/dbdocs/bcda/public.acos.svg @@ -0,0 +1,96 @@ + + + + + + +public.acos + + + +public.acos + + +public.acos +     +[BASE TABLE] + +uuid +[uuid] + +name +[text] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +id +[integer] + +client_id +[text] + +cms_id +[varchar(8)] + +group_id +[text] + +system_id +[text] + +termination_details +[jsonb] + + + + +public.jobs + + +public.jobs +     +[BASE TABLE] + +id     +[integer] + +aco_id     +[uuid] + +request_url     +[text] + +status     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +job_count     +[integer] + +transaction_time     +[timestamp with time zone] + +priority     +[integer] + + + +public.jobs:aco_id->public.acos:uuid + + +FOREIGN KEY (aco_id) REFERENCES acos(uuid) + + + diff --git a/dbdocs/bcda/public.alr.md b/dbdocs/bcda/public.alr.md new file mode 100644 index 000000000..beac1acfe --- /dev/null +++ b/dbdocs/bcda/public.alr.md @@ -0,0 +1,40 @@ +# public.alr + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | now() | false | | | | +| id | bigint | nextval('alr_id_seq'::regclass) | false | | | | +| metakey | bigint | | false | | [public.alr_meta](public.alr_meta.md) | | +| mbi | character(11) | | false | | | | +| hic | character(12) | | true | | | | +| firstname | varchar(30) | | true | | | | +| lastname | varchar(40) | | true | | | | +| sex | character(1) | | true | | | | +| dob | timestamp without time zone | | true | | | | +| dod | timestamp without time zone | | true | | | | +| keyvalue | bytea | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| foreign_key_alr | FOREIGN KEY | FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.alr.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.alr.svg b/dbdocs/bcda/public.alr.svg new file mode 100644 index 000000000..ff6f957ef --- /dev/null +++ b/dbdocs/bcda/public.alr.svg @@ -0,0 +1,90 @@ + + + + + + +public.alr + + + +public.alr + + +public.alr +     +[BASE TABLE] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +id +[bigint] + +metakey +[bigint] + +mbi +[character(11)] + +hic +[character(12)] + +firstname +[varchar(30)] + +lastname +[varchar(40)] + +sex +[character(1)] + +dob +[timestamp without time zone] + +dod +[timestamp without time zone] + +keyvalue +[bytea] + + + + +public.alr_meta + + +public.alr_meta +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +aco     +[varchar(5)] + +timestp     +[timestamp with time zone] + + + +public.alr:metakey->public.alr_meta:id + + +FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdocs/bcda/public.alr_meta.md b/dbdocs/bcda/public.alr_meta.md new file mode 100644 index 000000000..a3a60852f --- /dev/null +++ b/dbdocs/bcda/public.alr_meta.md @@ -0,0 +1,42 @@ +# public.alr_meta + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | now() | false | | | | +| id | bigint | nextval('alr_meta_id_seq'::regclass) | false | [public.alr](public.alr.md) | | | +| aco | varchar(5) | | true | | | | +| timestp | timestamp with time zone | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| alr_meta_id_aco_timestp_key | UNIQUE | UNIQUE (id, aco, timestp) | +| primary_key_alr_meta | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| alr_meta_id_aco_timestp_key | CREATE UNIQUE INDEX alr_meta_id_aco_timestp_key ON public.alr_meta USING btree (id, aco, timestp) | +| idx_metaid_timestamp | CREATE INDEX idx_metaid_timestamp ON public.alr_meta USING btree (aco, timestp) | +| primary_key_alr_meta | CREATE UNIQUE INDEX primary_key_alr_meta ON public.alr_meta USING btree (id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr_meta FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.alr_meta.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.alr_meta.svg b/dbdocs/bcda/public.alr_meta.svg new file mode 100644 index 000000000..c7e259e0e --- /dev/null +++ b/dbdocs/bcda/public.alr_meta.svg @@ -0,0 +1,90 @@ + + + + + + +public.alr_meta + + + +public.alr_meta + + +public.alr_meta +     +[BASE TABLE] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +id +[bigint] + +aco +[varchar(5)] + +timestp +[timestamp with time zone] + + + + +public.alr + + +public.alr +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +metakey     +[bigint] + +mbi     +[character(11)] + +hic     +[character(12)] + +firstname     +[varchar(30)] + +lastname     +[varchar(40)] + +sex     +[character(1)] + +dob     +[timestamp without time zone] + +dod     +[timestamp without time zone] + +keyvalue     +[bytea] + + + +public.alr:metakey->public.alr_meta:id + + +FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdocs/bcda/public.cclf_beneficiaries.md b/dbdocs/bcda/public.cclf_beneficiaries.md new file mode 100644 index 000000000..e107b6339 --- /dev/null +++ b/dbdocs/bcda/public.cclf_beneficiaries.md @@ -0,0 +1,43 @@ +# public.cclf_beneficiaries + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('cclf_beneficiaries_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| file_id | integer | | false | | [public.cclf_files](public.cclf_files.md) | | +| mbi | character(11) | | false | | | | +| beneficiary_id | integer | | true | | | | +| blue_button_id | text | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| cclf_beneficiaries_pkey | PRIMARY KEY | PRIMARY KEY (id) | +| cclf_beneficiaries_file_id_cclf_files_id_foreign | FOREIGN KEY | FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| cclf_beneficiaries_pkey | CREATE UNIQUE INDEX cclf_beneficiaries_pkey ON public.cclf_beneficiaries USING btree (id) | +| idx_cclf_beneficiaries_file_id | CREATE INDEX idx_cclf_beneficiaries_file_id ON public.cclf_beneficiaries USING btree (file_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_beneficiaries FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.cclf_beneficiaries.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.cclf_beneficiaries.svg b/dbdocs/bcda/public.cclf_beneficiaries.svg new file mode 100644 index 000000000..188a512b1 --- /dev/null +++ b/dbdocs/bcda/public.cclf_beneficiaries.svg @@ -0,0 +1,90 @@ + + + + + + +public.cclf_beneficiaries + + + +public.cclf_beneficiaries + + +public.cclf_beneficiaries +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +file_id +[integer] + +mbi +[character(11)] + +beneficiary_id +[integer] + +blue_button_id +[text] + + + + +public.cclf_files + + +public.cclf_files +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +cclf_num     +[integer] + +name     +[text] + +aco_cms_id     +[varchar(8)] + +timestamp     +[timestamp with time zone] + +performance_year     +[integer] + +import_status     +[text] + +type     +[smallint] + + + +public.cclf_beneficiaries:file_id->public.cclf_files:id + + +FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdocs/bcda/public.cclf_files.md b/dbdocs/bcda/public.cclf_files.md new file mode 100644 index 000000000..c220247a5 --- /dev/null +++ b/dbdocs/bcda/public.cclf_files.md @@ -0,0 +1,45 @@ +# public.cclf_files + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('cclf_files_id_seq'::regclass) | false | [public.cclf_beneficiaries](public.cclf_beneficiaries.md) | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| cclf_num | integer | | false | | | | +| name | text | | false | | | | +| aco_cms_id | varchar(8) | | true | | | | +| timestamp | timestamp with time zone | | false | | | | +| performance_year | integer | | false | | | | +| import_status | text | | true | | | | +| type | smallint | 0 | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| cclf_files_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| cclf_files_pkey | CREATE UNIQUE INDEX cclf_files_pkey ON public.cclf_files USING btree (id) | +| idx_cclf_files_name_aco_cms_id_key | CREATE UNIQUE INDEX idx_cclf_files_name_aco_cms_id_key ON public.cclf_files USING btree (name, aco_cms_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.cclf_files.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.cclf_files.svg b/dbdocs/bcda/public.cclf_files.svg new file mode 100644 index 000000000..6898c225d --- /dev/null +++ b/dbdocs/bcda/public.cclf_files.svg @@ -0,0 +1,90 @@ + + + + + + +public.cclf_files + + + +public.cclf_files + + +public.cclf_files +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +cclf_num +[integer] + +name +[text] + +aco_cms_id +[varchar(8)] + +timestamp +[timestamp with time zone] + +performance_year +[integer] + +import_status +[text] + +type +[smallint] + + + + +public.cclf_beneficiaries + + +public.cclf_beneficiaries +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +file_id     +[integer] + +mbi     +[character(11)] + +beneficiary_id     +[integer] + +blue_button_id     +[text] + + + +public.cclf_beneficiaries:file_id->public.cclf_files:id + + +FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdocs/bcda/public.job_keys.md b/dbdocs/bcda/public.job_keys.md new file mode 100644 index 000000000..98fc5a23d --- /dev/null +++ b/dbdocs/bcda/public.job_keys.md @@ -0,0 +1,42 @@ +# public.job_keys + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('job_keys_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| job_id | integer | nextval('job_keys_job_id_seq'::regclass) | false | | | | +| file_name | character(127) | | true | | | | +| resource_type | text | | true | | | | +| que_job_id | bigint | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| job_keys_pkey | PRIMARY KEY | PRIMARY KEY (id, job_id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| job_keys_pkey | CREATE UNIQUE INDEX job_keys_pkey ON public.job_keys USING btree (id, job_id) | +| idx_job_keys_job_id_que_job_id | CREATE INDEX idx_job_keys_job_id_que_job_id ON public.job_keys USING btree (job_id, que_job_id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.job_keys FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.job_keys.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.job_keys.svg b/dbdocs/bcda/public.job_keys.svg new file mode 100644 index 000000000..b32220269 --- /dev/null +++ b/dbdocs/bcda/public.job_keys.svg @@ -0,0 +1,44 @@ + + + + + + +public.job_keys + + + +public.job_keys + + +public.job_keys +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +job_id +[integer] + +file_name +[character(127)] + +resource_type +[text] + +que_job_id +[bigint] + + + + diff --git a/dbdocs/bcda/public.jobs.md b/dbdocs/bcda/public.jobs.md new file mode 100644 index 000000000..21bd46da5 --- /dev/null +++ b/dbdocs/bcda/public.jobs.md @@ -0,0 +1,38 @@ +# public.jobs + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('jobs_id_seq'::regclass) | false | | | | +| aco_id | uuid | | false | | [public.acos](public.acos.md) | | +| request_url | text | | false | | | | +| status | text | | false | | | | +| created_at | timestamp with time zone | now() | false | | | | +| updated_at | timestamp with time zone | | true | | | | +| job_count | integer | | true | | | | +| transaction_time | timestamp with time zone | | true | | | | +| priority | integer | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| jobs_aco_id_fkey | FOREIGN KEY | FOREIGN KEY (aco_id) REFERENCES acos(uuid) | +| jobs_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| jobs_pkey | CREATE UNIQUE INDEX jobs_pkey ON public.jobs USING btree (id) | + +## Relations + +![er](public.jobs.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.jobs.svg b/dbdocs/bcda/public.jobs.svg new file mode 100644 index 000000000..90e92b5e7 --- /dev/null +++ b/dbdocs/bcda/public.jobs.svg @@ -0,0 +1,96 @@ + + + + + + +public.jobs + + + +public.jobs + + +public.jobs +     +[BASE TABLE] + +id +[integer] + +aco_id +[uuid] + +request_url +[text] + +status +[text] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +job_count +[integer] + +transaction_time +[timestamp with time zone] + +priority +[integer] + + + + +public.acos + + +public.acos +     +[BASE TABLE] + +uuid     +[uuid] + +name     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[integer] + +client_id     +[text] + +cms_id     +[varchar(8)] + +group_id     +[text] + +system_id     +[text] + +termination_details     +[jsonb] + + + +public.jobs:aco_id->public.acos:uuid + + +FOREIGN KEY (aco_id) REFERENCES acos(uuid) + + + diff --git a/dbdocs/bcda/public.schema_migrations_bcda.md b/dbdocs/bcda/public.schema_migrations_bcda.md new file mode 100644 index 000000000..1d4a1b653 --- /dev/null +++ b/dbdocs/bcda/public.schema_migrations_bcda.md @@ -0,0 +1,30 @@ +# public.schema_migrations_bcda + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| version | bigint | | false | | | | +| dirty | boolean | | false | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| schema_migrations_bcda_pkey | PRIMARY KEY | PRIMARY KEY (version) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| schema_migrations_bcda_pkey | CREATE UNIQUE INDEX schema_migrations_bcda_pkey ON public.schema_migrations_bcda USING btree (version) | + +## Relations + +![er](public.schema_migrations_bcda.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.schema_migrations_bcda.svg b/dbdocs/bcda/public.schema_migrations_bcda.svg new file mode 100644 index 000000000..5d29637b6 --- /dev/null +++ b/dbdocs/bcda/public.schema_migrations_bcda.svg @@ -0,0 +1,29 @@ + + + + + + +public.schema_migrations_bcda + + + +public.schema_migrations_bcda + + +public.schema_migrations_bcda +     +[BASE TABLE] + +version +[bigint] + +dirty +[boolean] + + + + diff --git a/dbdocs/bcda/public.suppression_files.md b/dbdocs/bcda/public.suppression_files.md new file mode 100644 index 000000000..f770ee7f3 --- /dev/null +++ b/dbdocs/bcda/public.suppression_files.md @@ -0,0 +1,42 @@ +# public.suppression_files + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('suppression_files_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| name | text | | false | | | | +| timestamp | timestamp with time zone | | false | | | | +| import_status | text | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| suppression_files_name_key | UNIQUE | UNIQUE (name) | +| suppression_files_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| suppression_files_name_key | CREATE UNIQUE INDEX suppression_files_name_key ON public.suppression_files USING btree (name) | +| suppression_files_pkey | CREATE UNIQUE INDEX suppression_files_pkey ON public.suppression_files USING btree (id) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppression_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.suppression_files.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.suppression_files.svg b/dbdocs/bcda/public.suppression_files.svg new file mode 100644 index 000000000..57bd2a468 --- /dev/null +++ b/dbdocs/bcda/public.suppression_files.svg @@ -0,0 +1,41 @@ + + + + + + +public.suppression_files + + + +public.suppression_files + + +public.suppression_files +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +name +[text] + +timestamp +[timestamp with time zone] + +import_status +[text] + + + + diff --git a/dbdocs/bcda/public.suppressions.md b/dbdocs/bcda/public.suppressions.md new file mode 100644 index 000000000..e8aa387a4 --- /dev/null +++ b/dbdocs/bcda/public.suppressions.md @@ -0,0 +1,54 @@ +# public.suppressions + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| id | integer | nextval('suppressions_id_seq'::regclass) | false | | | | +| created_at | timestamp with time zone | now() | true | | | | +| updated_at | timestamp with time zone | now() | true | | | | +| source_code | varchar(5) | | true | | | | +| effective_dt | timestamp with time zone | | true | | | | +| pref_indicator | character(1) | | true | | | | +| samhsa_source_code | varchar(5) | | true | | | | +| samhsa_effective_dt | timestamp with time zone | | true | | | | +| samhsa_pref_indicator | character(1) | | true | | | | +| aco_cms_id | varchar(8) | | true | | | | +| beneficiary_link_key | integer | | true | | | | +| effective_date | timestamp with time zone | | true | | | | +| preference_indicator | character(1) | | true | | | | +| samhsa_effective_date | timestamp with time zone | | true | | | | +| samhsa_preference_indicator | character(1) | | true | | | | +| file_id | integer | | false | | | | +| blue_button_id | text | | true | | | | +| mbi | varchar(11) | | true | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| suppressions_pkey | PRIMARY KEY | PRIMARY KEY (id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| suppressions_pkey | CREATE UNIQUE INDEX suppressions_pkey ON public.suppressions USING btree (id) | +| idx_suppression_bb_id | CREATE INDEX idx_suppression_bb_id ON public.suppressions USING btree (blue_button_id) | +| idx_suppression_mbi | CREATE INDEX idx_suppression_mbi ON public.suppressions USING btree (mbi) | + +## Triggers + +| Name | Definition | +| ---- | ---------- | +| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppressions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | + +## Relations + +![er](public.suppressions.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda/public.suppressions.svg b/dbdocs/bcda/public.suppressions.svg new file mode 100644 index 000000000..bc24f4861 --- /dev/null +++ b/dbdocs/bcda/public.suppressions.svg @@ -0,0 +1,77 @@ + + + + + + +public.suppressions + + + +public.suppressions + + +public.suppressions +     +[BASE TABLE] + +id +[integer] + +created_at +[timestamp with time zone] + +updated_at +[timestamp with time zone] + +source_code +[varchar(5)] + +effective_dt +[timestamp with time zone] + +pref_indicator +[character(1)] + +samhsa_source_code +[varchar(5)] + +samhsa_effective_dt +[timestamp with time zone] + +samhsa_pref_indicator +[character(1)] + +aco_cms_id +[varchar(8)] + +beneficiary_link_key +[integer] + +effective_date +[timestamp with time zone] + +preference_indicator +[character(1)] + +samhsa_effective_date +[timestamp with time zone] + +samhsa_preference_indicator +[character(1)] + +file_id +[integer] + +blue_button_id +[text] + +mbi +[varchar(11)] + + + + diff --git a/dbdocs/bcda/schema.json b/dbdocs/bcda/schema.json new file mode 100644 index 000000000..379f59d03 --- /dev/null +++ b/dbdocs/bcda/schema.json @@ -0,0 +1 @@ +{"name":"bcda","desc":"","tables":[{"name":"public.schema_migrations_bcda","type":"BASE TABLE","comment":"","columns":[{"name":"version","type":"bigint","nullable":false,"default":null,"comment":""},{"name":"dirty","type":"boolean","nullable":false,"default":null,"comment":""}],"indexes":[{"name":"schema_migrations_bcda_pkey","def":"CREATE UNIQUE INDEX schema_migrations_bcda_pkey ON public.schema_migrations_bcda USING btree (version)","table":"public.schema_migrations_bcda","columns":["version"],"comment":""}],"constraints":[{"name":"schema_migrations_bcda_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (version)","table":"public.schema_migrations_bcda","referenced_table":"","columns":["version"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""},{"name":"public.acos","type":"BASE TABLE","comment":"","columns":[{"name":"uuid","type":"uuid","nullable":false,"default":null,"comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"integer","nullable":false,"default":"nextval('acos_id_seq'::regclass)","comment":""},{"name":"client_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"group_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"system_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"termination_details","type":"jsonb","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"acos_pkey","def":"CREATE UNIQUE INDEX acos_pkey ON public.acos USING btree (uuid)","table":"public.acos","columns":["uuid"],"comment":""},{"name":"acos_cms_id_key","def":"CREATE UNIQUE INDEX acos_cms_id_key ON public.acos USING btree (cms_id)","table":"public.acos","columns":["cms_id"],"comment":""}],"constraints":[{"name":"acos_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (uuid)","table":"public.acos","referenced_table":"","columns":["uuid"],"referenced_columns":[],"comment":""},{"name":"acos_cms_id_key","type":"UNIQUE","def":"UNIQUE (cms_id)","table":"public.acos","referenced_table":"","columns":["cms_id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.acos FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.cclf_beneficiaries","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('cclf_beneficiaries_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"file_id","type":"integer","nullable":false,"default":null,"comment":""},{"name":"mbi","type":"character(11)","nullable":false,"default":null,"comment":""},{"name":"beneficiary_id","type":"integer","nullable":true,"default":null,"comment":""},{"name":"blue_button_id","type":"text","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"cclf_beneficiaries_pkey","def":"CREATE UNIQUE INDEX cclf_beneficiaries_pkey ON public.cclf_beneficiaries USING btree (id)","table":"public.cclf_beneficiaries","columns":["id"],"comment":""},{"name":"idx_cclf_beneficiaries_file_id","def":"CREATE INDEX idx_cclf_beneficiaries_file_id ON public.cclf_beneficiaries USING btree (file_id)","table":"public.cclf_beneficiaries","columns":["file_id"],"comment":""}],"constraints":[{"name":"cclf_beneficiaries_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.cclf_beneficiaries","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""},{"name":"cclf_beneficiaries_file_id_cclf_files_id_foreign","type":"FOREIGN KEY","def":"FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT","table":"public.cclf_beneficiaries","referenced_table":"cclf_files","columns":["file_id"],"referenced_columns":["id"],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_beneficiaries FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.cclf_files","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('cclf_files_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"cclf_num","type":"integer","nullable":false,"default":null,"comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"aco_cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"timestamp","type":"timestamp with time zone","nullable":false,"default":null,"comment":""},{"name":"performance_year","type":"integer","nullable":false,"default":null,"comment":""},{"name":"import_status","type":"text","nullable":true,"default":null,"comment":""},{"name":"type","type":"smallint","nullable":true,"default":"0","comment":""}],"indexes":[{"name":"cclf_files_pkey","def":"CREATE UNIQUE INDEX cclf_files_pkey ON public.cclf_files USING btree (id)","table":"public.cclf_files","columns":["id"],"comment":""},{"name":"idx_cclf_files_name_aco_cms_id_key","def":"CREATE UNIQUE INDEX idx_cclf_files_name_aco_cms_id_key ON public.cclf_files USING btree (name, aco_cms_id)","table":"public.cclf_files","columns":["aco_cms_id","name"],"comment":""}],"constraints":[{"name":"cclf_files_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.cclf_files","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.job_keys","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('job_keys_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"job_id","type":"integer","nullable":false,"default":"nextval('job_keys_job_id_seq'::regclass)","comment":""},{"name":"file_name","type":"character(127)","nullable":true,"default":null,"comment":""},{"name":"resource_type","type":"text","nullable":true,"default":null,"comment":""},{"name":"que_job_id","type":"bigint","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"job_keys_pkey","def":"CREATE UNIQUE INDEX job_keys_pkey ON public.job_keys USING btree (id, job_id)","table":"public.job_keys","columns":["id","job_id"],"comment":""},{"name":"idx_job_keys_job_id_que_job_id","def":"CREATE INDEX idx_job_keys_job_id_que_job_id ON public.job_keys USING btree (job_id, que_job_id)","table":"public.job_keys","columns":["job_id","que_job_id"],"comment":""}],"constraints":[{"name":"job_keys_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id, job_id)","table":"public.job_keys","referenced_table":"","columns":["id","job_id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.job_keys FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.jobs","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('jobs_id_seq'::regclass)","comment":""},{"name":"aco_id","type":"uuid","nullable":false,"default":null,"comment":""},{"name":"request_url","type":"text","nullable":false,"default":null,"comment":""},{"name":"status","type":"text","nullable":false,"default":null,"comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"job_count","type":"integer","nullable":true,"default":null,"comment":""},{"name":"transaction_time","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"priority","type":"integer","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"jobs_pkey","def":"CREATE UNIQUE INDEX jobs_pkey ON public.jobs USING btree (id)","table":"public.jobs","columns":["id"],"comment":""}],"constraints":[{"name":"jobs_aco_id_fkey","type":"FOREIGN KEY","def":"FOREIGN KEY (aco_id) REFERENCES acos(uuid)","table":"public.jobs","referenced_table":"acos","columns":["aco_id"],"referenced_columns":["uuid"],"comment":""},{"name":"jobs_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.jobs","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""},{"name":"public.suppression_files","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('suppression_files_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"timestamp","type":"timestamp with time zone","nullable":false,"default":null,"comment":""},{"name":"import_status","type":"text","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"suppression_files_name_key","def":"CREATE UNIQUE INDEX suppression_files_name_key ON public.suppression_files USING btree (name)","table":"public.suppression_files","columns":["name"],"comment":""},{"name":"suppression_files_pkey","def":"CREATE UNIQUE INDEX suppression_files_pkey ON public.suppression_files USING btree (id)","table":"public.suppression_files","columns":["id"],"comment":""}],"constraints":[{"name":"suppression_files_name_key","type":"UNIQUE","def":"UNIQUE (name)","table":"public.suppression_files","referenced_table":"","columns":["name"],"referenced_columns":[],"comment":""},{"name":"suppression_files_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.suppression_files","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppression_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.suppressions","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('suppressions_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"source_code","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"effective_dt","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"pref_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"samhsa_source_code","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"samhsa_effective_dt","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"samhsa_pref_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"aco_cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"beneficiary_link_key","type":"integer","nullable":true,"default":null,"comment":""},{"name":"effective_date","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"preference_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"samhsa_effective_date","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"samhsa_preference_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"file_id","type":"integer","nullable":false,"default":null,"comment":""},{"name":"blue_button_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"mbi","type":"varchar(11)","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"suppressions_pkey","def":"CREATE UNIQUE INDEX suppressions_pkey ON public.suppressions USING btree (id)","table":"public.suppressions","columns":["id"],"comment":""},{"name":"idx_suppression_bb_id","def":"CREATE INDEX idx_suppression_bb_id ON public.suppressions USING btree (blue_button_id)","table":"public.suppressions","columns":["blue_button_id"],"comment":""},{"name":"idx_suppression_mbi","def":"CREATE INDEX idx_suppression_mbi ON public.suppressions USING btree (mbi)","table":"public.suppressions","columns":["mbi"],"comment":""}],"constraints":[{"name":"suppressions_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.suppressions","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppressions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.alr","type":"BASE TABLE","comment":"","columns":[{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"bigint","nullable":false,"default":"nextval('alr_id_seq'::regclass)","comment":""},{"name":"metakey","type":"bigint","nullable":false,"default":null,"comment":""},{"name":"mbi","type":"character(11)","nullable":false,"default":null,"comment":""},{"name":"hic","type":"character(12)","nullable":true,"default":null,"comment":""},{"name":"firstname","type":"varchar(30)","nullable":true,"default":null,"comment":""},{"name":"lastname","type":"varchar(40)","nullable":true,"default":null,"comment":""},{"name":"sex","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"dob","type":"timestamp without time zone","nullable":true,"default":null,"comment":""},{"name":"dod","type":"timestamp without time zone","nullable":true,"default":null,"comment":""},{"name":"keyvalue","type":"bytea","nullable":true,"default":null,"comment":""}],"indexes":[],"constraints":[{"name":"foreign_key_alr","type":"FOREIGN KEY","def":"FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT","table":"public.alr","referenced_table":"alr_meta","columns":["metakey"],"referenced_columns":["id"],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.alr_meta","type":"BASE TABLE","comment":"","columns":[{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"bigint","nullable":false,"default":"nextval('alr_meta_id_seq'::regclass)","comment":""},{"name":"aco","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"timestp","type":"timestamp with time zone","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"alr_meta_id_aco_timestp_key","def":"CREATE UNIQUE INDEX alr_meta_id_aco_timestp_key ON public.alr_meta USING btree (id, aco, timestp)","table":"public.alr_meta","columns":["aco","id","timestp"],"comment":""},{"name":"idx_metaid_timestamp","def":"CREATE INDEX idx_metaid_timestamp ON public.alr_meta USING btree (aco, timestp)","table":"public.alr_meta","columns":["aco","timestp"],"comment":""},{"name":"primary_key_alr_meta","def":"CREATE UNIQUE INDEX primary_key_alr_meta ON public.alr_meta USING btree (id)","table":"public.alr_meta","columns":["id"],"comment":""}],"constraints":[{"name":"alr_meta_id_aco_timestp_key","type":"UNIQUE","def":"UNIQUE (id, aco, timestp)","table":"public.alr_meta","referenced_table":"","columns":["id","aco","timestp"],"referenced_columns":[],"comment":""},{"name":"primary_key_alr_meta","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.alr_meta","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr_meta FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""}],"relations":[{"table":"public.cclf_beneficiaries","columns":["file_id"],"cardinality":"Zero or more","parent_table":"public.cclf_files","parent_columns":["id"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT","virtual":false},{"table":"public.jobs","columns":["aco_id"],"cardinality":"Zero or more","parent_table":"public.acos","parent_columns":["uuid"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (aco_id) REFERENCES acos(uuid)","virtual":false},{"table":"public.alr","columns":["metakey"],"cardinality":"Zero or more","parent_table":"public.alr_meta","parent_columns":["id"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT","virtual":false}],"functions":[{"name":"public.trigger_set_timestamp","return_type":"trigger","arguments":"","type":"FUNCTION"}],"driver":{"name":"postgres","database_version":"PostgreSQL 15.8 (Debian 15.8-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit","meta":{"current_schema":"public","search_paths":["postgres","public"],"dict":{"Functions":"Stored procedures and functions"}}}} diff --git a/dbdocs/bcda/schema.svg b/dbdocs/bcda/schema.svg new file mode 100644 index 000000000..a282e5221 --- /dev/null +++ b/dbdocs/bcda/schema.svg @@ -0,0 +1,382 @@ + + + + + + +bcda + + + +public.schema_migrations_bcda + + +public.schema_migrations_bcda +     +[BASE TABLE] + +version     +[bigint] + +dirty     +[boolean] + + + +public.acos + + +public.acos +     +[BASE TABLE] + +uuid     +[uuid] + +name     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[integer] + +client_id     +[text] + +cms_id     +[varchar(8)] + +group_id     +[text] + +system_id     +[text] + +termination_details     +[jsonb] + + + +public.cclf_beneficiaries + + +public.cclf_beneficiaries +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +file_id     +[integer] + +mbi     +[character(11)] + +beneficiary_id     +[integer] + +blue_button_id     +[text] + + + +public.cclf_files + + +public.cclf_files +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +cclf_num     +[integer] + +name     +[text] + +aco_cms_id     +[varchar(8)] + +timestamp     +[timestamp with time zone] + +performance_year     +[integer] + +import_status     +[text] + +type     +[smallint] + + + +public.cclf_beneficiaries:file_id->public.cclf_files:id + + +FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + +public.job_keys + + +public.job_keys +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +job_id     +[integer] + +file_name     +[character(127)] + +resource_type     +[text] + +que_job_id     +[bigint] + + + +public.jobs + + +public.jobs +     +[BASE TABLE] + +id     +[integer] + +aco_id     +[uuid] + +request_url     +[text] + +status     +[text] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +job_count     +[integer] + +transaction_time     +[timestamp with time zone] + +priority     +[integer] + + + +public.jobs:aco_id->public.acos:uuid + + +FOREIGN KEY (aco_id) REFERENCES acos(uuid) + + + +public.suppression_files + + +public.suppression_files +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +name     +[text] + +timestamp     +[timestamp with time zone] + +import_status     +[text] + + + +public.suppressions + + +public.suppressions +     +[BASE TABLE] + +id     +[integer] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +source_code     +[varchar(5)] + +effective_dt     +[timestamp with time zone] + +pref_indicator     +[character(1)] + +samhsa_source_code     +[varchar(5)] + +samhsa_effective_dt     +[timestamp with time zone] + +samhsa_pref_indicator     +[character(1)] + +aco_cms_id     +[varchar(8)] + +beneficiary_link_key     +[integer] + +effective_date     +[timestamp with time zone] + +preference_indicator     +[character(1)] + +samhsa_effective_date     +[timestamp with time zone] + +samhsa_preference_indicator     +[character(1)] + +file_id     +[integer] + +blue_button_id     +[text] + +mbi     +[varchar(11)] + + + +public.alr + + +public.alr +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +metakey     +[bigint] + +mbi     +[character(11)] + +hic     +[character(12)] + +firstname     +[varchar(30)] + +lastname     +[varchar(40)] + +sex     +[character(1)] + +dob     +[timestamp without time zone] + +dod     +[timestamp without time zone] + +keyvalue     +[bytea] + + + +public.alr_meta + + +public.alr_meta +     +[BASE TABLE] + +created_at     +[timestamp with time zone] + +updated_at     +[timestamp with time zone] + +id     +[bigint] + +aco     +[varchar(5)] + +timestp     +[timestamp with time zone] + + + +public.alr:metakey->public.alr_meta:id + + +FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT + + + diff --git a/dbdocs/bcda_queue/README.md b/dbdocs/bcda_queue/README.md new file mode 100644 index 000000000..a026a04ee --- /dev/null +++ b/dbdocs/bcda_queue/README.md @@ -0,0 +1,16 @@ +# bcda_queue + +## Tables + +| Name | Columns | Comment | Type | +| ---- | ------- | ------- | ---- | +| [public.schema_migrations_bcda_queue](public.schema_migrations_bcda_queue.md) | 2 | | BASE TABLE | +| [public.que_jobs](public.que_jobs.md) | 8 | 3 | BASE TABLE | + +## Relations + +![er](schema.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda_queue/public.que_jobs.md b/dbdocs/bcda_queue/public.que_jobs.md new file mode 100644 index 000000000..da5c84ec5 --- /dev/null +++ b/dbdocs/bcda_queue/public.que_jobs.md @@ -0,0 +1,38 @@ +# public.que_jobs + +## Description + +3 + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| priority | smallint | 100 | false | | | | +| run_at | timestamp with time zone | now() | false | | | | +| job_id | bigint | nextval('que_jobs_job_id_seq'::regclass) | false | | | | +| job_class | text | | false | | | | +| args | json | '[]'::json | false | | | | +| error_count | integer | 0 | false | | | | +| last_error | text | | true | | | | +| queue | text | ''::text | false | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| que_jobs_pkey | PRIMARY KEY | PRIMARY KEY (queue, priority, run_at, job_id) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| que_jobs_pkey | CREATE UNIQUE INDEX que_jobs_pkey ON public.que_jobs USING btree (queue, priority, run_at, job_id) | + +## Relations + +![er](public.que_jobs.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda_queue/public.que_jobs.svg b/dbdocs/bcda_queue/public.que_jobs.svg new file mode 100644 index 000000000..cf629f3b0 --- /dev/null +++ b/dbdocs/bcda_queue/public.que_jobs.svg @@ -0,0 +1,47 @@ + + + + + + +public.que_jobs + + + +public.que_jobs + + +public.que_jobs +     +[BASE TABLE] + +priority +[smallint] + +run_at +[timestamp with time zone] + +job_id +[bigint] + +job_class +[text] + +args +[json] + +error_count +[integer] + +last_error +[text] + +queue +[text] + + + + diff --git a/dbdocs/bcda_queue/public.schema_migrations_bcda_queue.md b/dbdocs/bcda_queue/public.schema_migrations_bcda_queue.md new file mode 100644 index 000000000..4a5a6ca23 --- /dev/null +++ b/dbdocs/bcda_queue/public.schema_migrations_bcda_queue.md @@ -0,0 +1,30 @@ +# public.schema_migrations_bcda_queue + +## Description + +## Columns + +| Name | Type | Default | Nullable | Children | Parents | Comment | +| ---- | ---- | ------- | -------- | -------- | ------- | ------- | +| version | bigint | | false | | | | +| dirty | boolean | | false | | | | + +## Constraints + +| Name | Type | Definition | +| ---- | ---- | ---------- | +| schema_migrations_bcda_queue_pkey | PRIMARY KEY | PRIMARY KEY (version) | + +## Indexes + +| Name | Definition | +| ---- | ---------- | +| schema_migrations_bcda_queue_pkey | CREATE UNIQUE INDEX schema_migrations_bcda_queue_pkey ON public.schema_migrations_bcda_queue USING btree (version) | + +## Relations + +![er](public.schema_migrations_bcda_queue.svg) + +--- + +> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdocs/bcda_queue/public.schema_migrations_bcda_queue.svg b/dbdocs/bcda_queue/public.schema_migrations_bcda_queue.svg new file mode 100644 index 000000000..e3113a260 --- /dev/null +++ b/dbdocs/bcda_queue/public.schema_migrations_bcda_queue.svg @@ -0,0 +1,29 @@ + + + + + + +public.schema_migrations_bcda_queue + + + +public.schema_migrations_bcda_queue + + +public.schema_migrations_bcda_queue +     +[BASE TABLE] + +version +[bigint] + +dirty +[boolean] + + + + diff --git a/dbdocs/bcda_queue/schema.json b/dbdocs/bcda_queue/schema.json new file mode 100644 index 000000000..219e3b204 --- /dev/null +++ b/dbdocs/bcda_queue/schema.json @@ -0,0 +1 @@ +{"name":"bcda_queue","desc":"","tables":[{"name":"public.schema_migrations_bcda_queue","type":"BASE TABLE","comment":"","columns":[{"name":"version","type":"bigint","nullable":false,"default":null,"comment":""},{"name":"dirty","type":"boolean","nullable":false,"default":null,"comment":""}],"indexes":[{"name":"schema_migrations_bcda_queue_pkey","def":"CREATE UNIQUE INDEX schema_migrations_bcda_queue_pkey ON public.schema_migrations_bcda_queue USING btree (version)","table":"public.schema_migrations_bcda_queue","columns":["version"],"comment":""}],"constraints":[{"name":"schema_migrations_bcda_queue_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (version)","table":"public.schema_migrations_bcda_queue","referenced_table":"","columns":["version"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""},{"name":"public.que_jobs","type":"BASE TABLE","comment":"3","columns":[{"name":"priority","type":"smallint","nullable":false,"default":"100","comment":""},{"name":"run_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"job_id","type":"bigint","nullable":false,"default":"nextval('que_jobs_job_id_seq'::regclass)","comment":""},{"name":"job_class","type":"text","nullable":false,"default":null,"comment":""},{"name":"args","type":"json","nullable":false,"default":"'[]'::json","comment":""},{"name":"error_count","type":"integer","nullable":false,"default":"0","comment":""},{"name":"last_error","type":"text","nullable":true,"default":null,"comment":""},{"name":"queue","type":"text","nullable":false,"default":"''::text","comment":""}],"indexes":[{"name":"que_jobs_pkey","def":"CREATE UNIQUE INDEX que_jobs_pkey ON public.que_jobs USING btree (queue, priority, run_at, job_id)","table":"public.que_jobs","columns":["job_id","priority","queue","run_at"],"comment":""}],"constraints":[{"name":"que_jobs_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (queue, priority, run_at, job_id)","table":"public.que_jobs","referenced_table":"","columns":["priority","run_at","job_id","queue"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""}],"relations":[],"functions":[],"driver":{"name":"postgres","database_version":"PostgreSQL 15.8 (Debian 15.8-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit","meta":{"current_schema":"public","search_paths":["postgres","public"],"dict":{"Functions":"Stored procedures and functions"}}}} diff --git a/dbdocs/bcda_queue/schema.svg b/dbdocs/bcda_queue/schema.svg new file mode 100644 index 000000000..7414ccb17 --- /dev/null +++ b/dbdocs/bcda_queue/schema.svg @@ -0,0 +1,61 @@ + + + + + + +bcda_queue + + + +public.schema_migrations_bcda_queue + + +public.schema_migrations_bcda_queue +     +[BASE TABLE] + +version     +[bigint] + +dirty     +[boolean] + + + +public.que_jobs + + +public.que_jobs +     +[BASE TABLE] + +priority     +[smallint] + +run_at     +[timestamp with time zone] + +job_id     +[bigint] + +job_class     +[text] + +args     +[json] + +error_count     +[integer] + +last_error     +[text] + +queue     +[text] + + + diff --git a/shared_files/encrypted/api.yml b/shared_files/encrypted/api.yml deleted file mode 100644 index 3d3e3d568..000000000 --- a/shared_files/encrypted/api.yml +++ /dev/null @@ -1,62 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -31363637366330663431373665323636663534383035336434613932376661613566383834623764 -3566613534313163663930333461363435373531306639380a393834353130366265323334666562 -66386365313835643562356431633462646661386163623064643333646239316333613264383838 -6634363364306436610a336532656665383132313134653539366430366432376239643930626231 -35666334353839396361646339333239333365616339396463653363323931306132643665383361 -34373864656461393039643433636362386666643965353335316666383136626364653137656135 -39626131653266323531386564373730653666313362646436303266373766343337303365363137 -63613037653865306138323564303234613139323135643835643638336430316462643462613237 -38376235646462383633376131343430633763303038393966613435386365313566653565663934 -32336634316336343139633930333436633731333831623064363263376666333531623734373437 -33393830383231383064613634343866346333373163646436656464346232613938303335373765 -33313232366138393238303532383432613566393865316565376364373032356163343766623863 -37646238633366616361663938336366653863336262363964376236343332653034323435653765 -64643838363434366332613737313632643531613430643836343435636532623634386330366164 -63666631663266653362356535363762633761643032653138323065386338623833623161623238 -32353238396331613335336265303265303539303333323363666332343266383836643161656265 -38393238666632643237623939393332363636316636616331363335386538623432303864326662 -32373536313436366162656431636239323434353539633231643661396237623664643865313636 -31383038393065386239636465623066656231313239636361346131613765373932643463323435 -64333435346337333862393836396433336161363961656462353132653334393439306139353564 -39343362346336383861313666623135363633326636326439383639373237663633396464363536 -34393064366366646532363934383061333363376161356535333262653734326464653565313830 -34663932313066636234373237323462393438356135616532643430383531396636313337333035 -37343830383430313737613762323335343865303832393838613338306238663966666661376464 -33336232346130383432346463616166356334386461366332656162393938633763653332376563 -66663234393031666363346632656363663463646637633038373863353539383164383736663936 -64663462353337333266386430313837633639623135306461656465383630656136306638323133 -63313332633230333139316465306664666366326434653331656230666461663963303735636464 -62393964323831323065356666373233333437383639626536336263396265666262626236633866 -62313638323534376439336433306165623131343137343237343235353361393763333839356439 -65333233313463366330653961653135613732633638613261333765623137323465656339336439 -37646431613363363865373736646635373462383366383731333734646539653236323065333637 -36346634353563386163353438356565626435616638666233393733636432373231356637316362 -62633166383533343364616663346463356238633861353935393666616562396163366165646533 -32376236353961626362306136316666303034633538313864636435353064636338393737323432 -64653066353861383235386262626333666461393736393066306138636135333762323730376664 -30613637313734656363393366346263383965353137333331366436363636616565616632333738 -31326137313437643733303565613030363766383937663336636639383665646331646635393035 -35346230333531316339616530323032383135666534643233313531613563633337343361336166 -34376364663232373964656638613961633139323138386234333737323766363138633038326261 -31353834663832353238653366316564646237396665363339373864616264663339653263376366 -37303639393166313466366334386130623466643835336631623436303465376130636133353833 -61313532643063666234363930643961313164343934333232386230336437613662306633613635 -33363763363466383932633435333331343530393031356666336639393033336663656436636639 -31363065383931396334366536656532353364396134396630353766643338356463626266353131 -37623039333038313234633132613763316533643435613936623562336533383661393439643335 -65316462653165386435393830663637343838643730633638636639623333613465653637346434 -61376532613330396131643633396265386533343533656336383830653064643563656632383836 -33633832316331363362346236306139333663373933653934613334393734643866663863323436 -63346339616163393735636336383866663836623037613366383364313563393530383232376436 -39303631353232623864333764633438353435323336393432653833626239393738613561316535 -31626464323534623035323365303130386236656630303462626534623431663235353764376265 -66343162363437636464626639643431646235613233663633343063666137373730616266613637 -31626561616466393730343161356262613132353764326434323861626537313239613633323764 -32663633343534373030323465383363353036353536656561326330656437353036363666613561 -36646531383663326464636231623937366235373936303465633633376364303361636339313936 -37333339323733326530323163366335353764306666383532373063326639663336323030373365 -33666634396231323435343662636365383938616266653661656234386666323465376633353338 -63363238343764343965323661383866306563363838373266306136353331353935363261663466 -31636561376434343138363739633932326164663163623132363161306537623062663739636266 -3565 diff --git a/shared_files/encrypted/bfd-dev-test-cert.pem b/shared_files/encrypted/bfd-dev-test-cert.pem deleted file mode 100644 index aaa141173..000000000 --- a/shared_files/encrypted/bfd-dev-test-cert.pem +++ /dev/null @@ -1,90 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -34656261333264306662366337316439356336396566626130323261336239653035353730646561 -3463366536363565386539626539346238313262656633660a656135616430356331303063623062 -62376132376337306461356461313363396562393165653837316563333136353666393435623631 -3735653139333438390a333639316664323439386536323836343034386131353133333635353933 -34373566316532353737656235653533356535323637623731626331373666346465303535366130 -33373066336535373837316566383733643166633136343639323861353330613436633432666661 -38343065613433333537393630643238636130396134303339623864363138316364663832323337 -62643063666330356166633361346265323431326334613836323632653262333233386664326234 -61633436333432663364623761376135616138376339396536373961336462313331343531666666 -35613766613939336161613962343665363533386434653062336532616432656364633238383336 -61353563323232613738393935323563663836316361353239613065356431636235656439616261 -38613334613265626336393236613362633335323861636563623738343938303537663563616439 -65353730633433663965646430613831626335636237353936393538326562666430623839373133 -62383337623637356535303637636338323662323633643332313430306334343831323330613432 -30353162323263346638666435653034336230363562626439336666353164323262626462343430 -38316638653264623262613932633362303263303937346434633264643133636635303332393432 -35303965353431646133643565326438373433663734323038313933626361393765663833653934 -32646165386338643165303939646630363535333233653636356232363636633764626334663334 -37643839646536376366336433613032323539323031306636643564376436333664333633623064 -62616531316661313761393035383564626463643765323935306263366538356632393038646130 -62306232613338626535636362643334306665386435663061663038353361646232623935323835 -61623864663962333333393036306637646639356533353939373531343762333766663430313739 -61376137633033386536356561393631633361346238353930363430376137333839346564666665 -35393730303639363164623937666162386537346434656531333064616431653563356533366465 -30626363356363616435616133393263633362396432343433663738343662366632616665373464 -35343561363465343335363237303865376333393564396664343831363134306338383333393664 -39353532303833393438306139373632346535333062313666646536386239313437353232653465 -31353963616663316563343662666466646634316261386333333833316334323561666237366333 -66316230646139313036643738636439386563646532643531636664613036356466383432313435 -33326134633935643332326233316432383837396438363934656136376361653063303864623965 -36386534346537333437316336303939613136383861343863333766666338393230396633656238 -63626566336635396632613764373530303236633761393835353736333835346531646562346636 -36343065623835623439353332376138656663333635623538636530616233323536383933313738 -38653832343366663238393162643265653936623936373831396236393635383566333532616539 -62313537633835663032623333626563393630326334313966333736313161646463653135383938 -62356462346530653265343164326132626165636439663565633435643832636262616134303035 -36353433383462643331633338623366383632613365363836323730353334363332323137326534 -65646234383536356535653133303137633131623536343639626537306336393033373862353661 -30646635633731343531636535323731656636386263636133353863363432633337383630653830 -63653237363230653263303961383064303337623039613932386438383237333036326232643839 -64323336343636653036663066626364303735333338343035656164383636393064623533313437 -62643162363966386463323734393238636633316166333464396264396131303931323334623463 -66623630633230313737666366663362653136383765363433646266333030636430363833363232 -33313731373862303931356662663563393336383062623332626335643161303333393464366137 -32326332366562653930663836303366323937643636643437333637383733663832653561346233 -36393130373538633031353138636462306439353165386266396265323630326661396462396336 -35323931336163666466626230653834306630333363653464633135653864343034336565366234 -37616365623330326632323932323963313537636161373163336636623865643636633266356430 -38653136323331633538373635343831366639313762313635646538633566303366313131623463 -65653161393166393633613963353233353031333266623761363930643262313530313864393332 -62663735326562376336336332383233376337623538323362326434316131626665643538333162 -35313939383236316162303633363237636163623537393238333465393433323437613837626333 -62653437313264303131383363396565623436353338666565653433303230393864363530636635 -33313866316466663464396465656633326635626530643934363764303863303738386663306434 -36333237336639313138366364663463623536383736353539326130646265633335386165366238 -34623839346161373963633830383366353335396536643666366663646539313533643338373865 -33343936393364383266346364306139326338396433626134303139343236663565656136663531 -38323762313232653030323038623230303636333061346462323761353935613838653062643439 -65613461663231366639663963663361333733326564373732376265303131366333363562613335 -31343363643234373736356162656238363062366133393861343562353564376433363931333833 -33623761376437326434316130633735316334383337303830653063663933386163306665336262 -38326430643830366163303965623933656264313830373935663163656364623331323739643333 -32623133613733306462623063386662333133353330313232306461333638343634333333626161 -65653132363339656438376439616433383330643664343166663261373061393061313662303964 -38303738356166393432393830336231303464633533333265356461363964393161313834366566 -63653931323766336662623062623538396661323362383737626666363965623936376438383963 -39396166666430333839313636373434646634616364646635336131613465316565373133373239 -63643765313238663339316639353330663365373632663362373265343835393664346133656534 -38373339396135383936616135316636656435376135656439313161343637313330373536363138 -38313035383437626430663238656230346132303933653635623832643932633566323833306539 -30636130623732346166643735313839333133653238313162666463383334363439376438326233 -63346235333237366137613130383330363362316630336631363537633837613566646237326130 -30323138383066363330323966643434616439313830616432333831636336343865613536353639 -62643739666635366432653865636135356633393533313732623164646430306136376662386632 -35346265336638393636353564656666333461386338323365356263653765633031333862613837 -65343666373534303164336137633830303535623030613939353034373034393033643639663563 -30623336656165636163313134386134653039636665383166656232653936346639646664653865 -36396433636332386134613935353833326532363565383364383937306461666439303633313762 -39633062386262373264333935326530343235306330353832643761306335633964386462353263 -64656231366164346565313966313263626135386137396431306638346661313030373038656463 -65633936646333376434376338396532303437386333383561333061636265336633623236653431 -38666530663663336266303831663563386335363138646532356539323733316338353133343565 -39313738386432393737656561643836336434666339623133306530386639396435616364626263 -35656630363732633136663138383236616164316337343336666338663933353139313364653261 -39393435653863376637353166376639636535393965376432643565613138663939303930646565 -35626337663236376239303233626564376338636238643265316333383136366238616161346138 -33626661356239393339366532383939646162326438313263316662383332376664346336376433 -38636332313963613065393836313735663932336162643938623130313863653532343635306437 -6134 diff --git a/shared_files/encrypted/bfd-dev-test-key.pem b/shared_files/encrypted/bfd-dev-test-key.pem deleted file mode 100644 index 8be4ec4e6..000000000 --- a/shared_files/encrypted/bfd-dev-test-key.pem +++ /dev/null @@ -1,169 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -63333538363738613534353437633439643831613965356532306432613436643934343134396163 -3433326432333439653461363731613330636635353434360a323530363631326533663362666563 -31316235346237373362353439333038346364306338636562386634633363616263626361353233 -6661616266373431390a623865313338623564346162333664393666306166356263626531626134 -35353838623332623636356266613062613462336430663362626238313261343831643962646536 -32353535333861393865303237613364663436326263316365373037336532356633626236666338 -32663132353132623336346330613661626562643830613034346130306234326333363064626563 -61383666613535333437363438306434333938666632353836336561653537626432306432656336 -36643565643633633963666435663630346364353637313732393231316232333461393235373561 -36306262626564646331323061616332383830653731346535396336623934333631653133393662 -32616365313735393332373839303738643632656264636332656436376137363039353734303264 -66303562303338613536313537366137383032633665383232373036316163623235383532626538 -33383338373330353932376666656433393638333230356132643763323730613330623633386164 -66393039373136336565313566393336333834636665613764303131343732663466653431666433 -62396337336131633537316136396531653633653637346233356264313839643965613035656361 -64386238373063363533656366303265383165623934633230633764333230666462356363323365 -61656562343931613034396466646365333962303031356530383965656539376636346365323139 -30306632626333383262396635616439353539613863616135633737636261393831353764303330 -30383833663835343865353330313064363666616231346431666436396235633164633335633830 -31363965386561316137353765323031633830313031636564666639613337363239333536653862 -34316631666634393638363633623864636337396264326166346136333137313861336265313630 -33326231646532353935326130313934306130646633653732613365633466333763653064623661 -36306662616133323033626137643437336238646631326136363336613234326337616166363138 -38613261373235316662646330643434336261343861303835333663616533316534353464353362 -34356230353239316431393666666361633162316161336339303036626335396236353262386138 -63336132616238336439626163303935666461333330393031343237373263643836363737306465 -39626333323936383365363761646432663066613032623237623839363764353538663633656233 -64303636316463393535363361333231666562633631363866333039386436356532353165653565 -31356664353635336330346633343130323936626230663335623530386364383163383735636561 -34656437396131666532643032616161313462343262333665666230333332366133306330636235 -37636233353833663630316639336466353566356363373635616130323466643137363061356232 -37346463323130616239623234346564356661626565643531623831306639646636646163643136 -62386262633263393964623266363263656163303665666662356231323831613462386463346434 -66383539323463323634383832313433623333316633636266616239666431623161393665366366 -33363136663863313763636166313833646633636664353061366161333837643866633865393262 -63323537666436343235613935663637303632343733633631313839333935383366656234373839 -30383932326533393635323730323766323434356332356232646136373266666130386264326565 -64333432303137383833333535303933653934383761333030303838386532336662626332303838 -38393939613830646433623965363239326539393166353163333937613265653161386530303830 -36383834383566316665336665303534363561386237323035653765363164643963306635313764 -33366539396666623931383562616633613136623238316234613132333730646262666264613362 -63333964346439346231383238613031663035656266366233646563653465376137613462646234 -62613061643838333661653636346136313165363538656137643437383066386536643965663934 -30613566383534396162326638353237656130323930633262306639343866643030376333303438 -38613962353430653165353838313863316232326139356561353337626336356636383265396563 -61643538633766363333643731373339376662666631353938313635633037633830346665316630 -36303838663366646233633739393435373835363632663831393834303664343163383234613635 -36666164373362393562356634323562393064363135626636633737363034323764393635326234 -38323933303732626632643730343134313934656462313633646132386235646531373831363230 -31353430323338623562613764336537623062343864383431666166396132646135613133393164 -66393336646565346134366434383466633934396639613532306232346333613664396263356532 -63353362343138333366653635306236626635363137656661333234653666363264613166323239 -61616332643734383938646132633334383761363133646333343734333035383836396637313561 -63303235393763643835383335353337343465393738313266326265373834663934333165326264 -32326661643038366636303830326336346135336366623266323262333235323839633362363134 -35303530663066343064353833383366323531383761386365666266376135373363613137623531 -35306439643666633631643034376361333661653438373266656631333562346236636364383262 -35376661643565373737326232316466656434306265343137613565303564373563643734633863 -36376265343062656366343634643664653034666636343363316631353739383631386536383863 -62353463383830633938646262393262633462333830666130343631633236633663306537303237 -37313039306438343231303665313034306361363230336230626435613561643835656463353136 -63323737383034663334333133353134613434653166376632326630373933303233346138633634 -35616533343765336264393262306163653339646236366165623534646264653436353261363563 -33656430613836393339313031363764306463326238613665656264333533663262363265353037 -61346130663239633535303837636433326237383033373762636264353631646236386238666635 -30633230616235353035653038633962343363353264623765393764633039363832626335656538 -36383930613466393863306365303333643961306332393731363431643139363231373632316133 -30666666656564376364333134396633623138616534383938323131353539323763306137646338 -66303532633235343639393732373465373266386637633262373231643666316464363563376331 -66313462356135316136363966353061353164666462343930316665363432343339333931323837 -30393230393539393932663739303531303636393063313064626263653933633965643639663965 -65386465316464316134643961623662313039346439376232393833643636343338313738393139 -33346534663365616465393937633335663263313832333563616262636434333836313030303736 -38386535623632333638383836653532636136616535396664366562393464313637383230353863 -33626435383538333531323035343135303363333232326138323635336164383339346665376532 -64316262303239623633376664626134396639613639636461353132666339303334393231383539 -61643130303166316333303933383534363334383662303837666435646538663065633638633436 -64613236613965346436343963346365633365663039366662616337346366396537666432396430 -62353634633965303538363631626639373337663865376138653962636561313731363939396666 -34363335623035653333656165383432643265363266643362653832393730386130383138396163 -34356639663861333363376337623664303530643762633338343437333839363531303563303363 -65656337313161663466363963356138383937396163306334313137633161666532616538396535 -39623963396166346232633639333330373032353961363036333839313162663432666532633762 -63383765386334323166386464653032353337376339626335653934643363643738336235376661 -36333733353366353037663664653133376539313238383532396237363962626466646461343366 -30333663623362323136303039633663313264623666626136663765326635393232613431666135 -61363061303562663036333934363432356663333563633535326436363965343635663963386534 -61376531366134623339356135343333616231626436656263393261656161373265663961356562 -31353664643036356537396634646334633939376239393466326532383038303263623363636636 -30633063633737623239356534363931306633323530366131366561396637623066393630326534 -31326437373839656536326663383363353364303463326232666134306164313566633764336134 -65303839663036626339653633376465623236626661653532633435313737346135346539333066 -33396438383234623338376232383437316262646539636364643830353362643630666136336463 -65303730323431363435316433626265666535633263623962663431663737393061373463373936 -65623935333531393532623333626464376463633031663932343164616138643833633431323936 -30383135633934393139646438623664653766393537663036373566643735366334383133373333 -66336366323166303730306662393039353731666430363537313763306565616137386634393235 -34383734323164376565333432396266373333613337333766386161383931356262323563356563 -31326433613032313834323135306438353862366535383439656131313234373432386433386131 -32336564626238616534613132653033313532356236656636386337323561656138313562633633 -66326130353464373266643938363664623032653136643061613564636638343064383333396234 -30393666393336623935303532303664383333663036383465656230666130626133313864653538 -64366665356565616437613937343234353365653036393535626662383861336536653964626364 -38393339616665363438376131633834636534656137333535653038393236353334626363666662 -31396335653639636466626531376561666332343765353032633464313262306266663266373835 -37343339323831383062383261373735636631306265346130613165303739326239343832386534 -64663662346561346563656534323632363363333833663631363564326363383131303237326637 -65373034616361656138346636323665656130306333303862373665643230316365616361363066 -63366230373337333438383031383263633461636332626237343735336462373033376430326461 -37353435613435306665303738306336623062623061373538396463643061333637646630663939 -66373739323336353933336132623831663939323862653930363733616334356630636531383730 -61373631393633396232303530393730616664346332326365343730373961313237633832613036 -31353764363937353132393036646330303333633363623331363432323665353130396563343330 -39393233366563613864353239303138333333353339646463613238356439616437313466316434 -64353837316165636439616662633631663765623663323831306463646461653533633436363861 -66653064323065323737313135643065623466313039653131396137623737306336623039353138 -30633533376563343166323738333263623239356337663465356663383066323866326335333231 -37376364633361363364616437323565393338363336373939383232383231346636633935633731 -61373666663864383865396139343533303238666132323934663438393064643737313465323063 -66356365656465393866366462613065326637333638323630663932316438363339633330356363 -30386166383232383232633965363132663561616362653666393233383161633831343531306363 -63326163343133326635663338376437666538663733613937663136373933393036353334653865 -63666634613139366335386434646635383866666235373765653839353866333164343336616634 -35643063313535353063613030306162323435313638323337626131643235366135653062616533 -32383966313962386435386163393431623264343062363630633737353438653834633161626663 -62633335393331396464613538623038636664643131363133366235306533313161613436643636 -38663139663431653137336539363936333935363934656336646230336162306566346464623034 -39386563303631656465396337653962653262646463323031353765383938613632356138663962 -65323463613630643338373338623334333036663762663661373931386137323533306133393333 -34356237636630616439653438393630383835396134353366623039633266616232653336363130 -36343137363531393235643930656639643131396164343031343439653761623632346232356361 -34613166303839326135663931363236373563393936626166663830313465353035356432363061 -61313830666436663834646163313736343938643862653766353462363535393061626362663837 -30636330633732613037346461346131353433643633663631653666633663663261316264656566 -33393334376134653736623034343765623434396463383939393731346238656431613462386663 -31613861346233303335646265646538323766303666663564333534313866613335346664366661 -33323339663532373336313235356432343466343337346266643034663734343232353231393964 -39373966663436353163643432366434303833643866373262393930313766623631633630363865 -62343637353231343333346335616265383635346262383630396432643639396533623866373938 -66393466383135303633393237316230323663643539663330313261393065343537653564343239 -34633833393639366130373635616562663538393930643232323166363131613639363530643265 -63623566666337306338323436633632326633646661613032353133363462623761363436343665 -35363933636132316632313636623136336437373866373761323636366665393539643334646436 -65386461373466646161333538393836353338613134336136336664626134323137393431383034 -31656539626461663230333564663137373361383630376331643630613534633932326533366633 -31616566353738366139666562646238643337336435643736333261643236323766643462656162 -65356361626231326636666661653935613739303334393537353562326230616533616331346330 -65613439363133623062633563643636613234366636666434656237643063373263373365313734 -64373864363363653066623631366465663536363234343634663663626362656438653564636536 -64363030383738366561633630363038663438373537643961396534313038643965346536663238 -34393435396366333736363830383733656636653764373232653134353636343834626161366635 -62356132343866313963306633613733303865656535633866623533373365663239303239333635 -34333161383439326364626233313333383532366139646635613663616166663133656165383863 -34626364663763366666663438306532613833383162303766653162306437323532313438653932 -37666637346266346463396162373433636166343032313735656634356165323337666361333864 -66386331663961616130656634306664386163663064653464393438333266343535633839633833 -33393834613961323261633930323235303764383266663235323666373636336531623533396535 -62376530626138306365653264373932626438323939643739346162623361663535616339313539 -37366363363465643136363363633437373634656535363064316562623830666134663339663964 -63636162663166326634356332333236653732303430356430616539373264316131646439303935 -33303564326166326661623561383539363730653839336235313539386334326132363164633036 -31303730316635303539626233316632346336303737316539306139383063303064623632613666 -63363233343666666438396662613338613463633864653162636430346535393563333430313933 -63356464636136623536663662623336623564643362393030366434613232303363346362623933 -62336464303335663636613330663263336361336130363637323431656639656434373739326432 -65346233316262333733386233373838366565656538363764633562356264643837323064636162 -66653333323834346137646133643339363862303437353964343561653763633463333761353936 -63373033376130616461 diff --git a/shared_files/encrypted/local.env b/shared_files/encrypted/local.env deleted file mode 100644 index ef6ad61f2..000000000 --- a/shared_files/encrypted/local.env +++ /dev/null @@ -1,125 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -31366265396239613265333862353437663138626531373136316531306132663339643362373430 -3461623462353464666662643036656365633837666339660a666665663436363735643632636535 -37323637633062653465366239313630616131393632653961633430393064373536366262333232 -3931626665396638380a633838313363363465313236656261653366633266666238653633653431 -39613236646434333962343937343130623161396464366565336631666162333564383666663663 -61646266376462633734323535346663333664386636663431656133333834303963383461356537 -61623837613061323631666435643734666135363734643436366630346363346439326135623862 -32363535353639646366656230636436626336636139393966613663363430313861376661313336 -66626566353735303261633666613831383931346562323735613133633965653332626231303132 -36383535613661663335303963313336616262373063313665666236326165383939326132363962 -66356237303236646162336632626363383932376166363963323738663233393361643264356166 -30303861323137303563656164386236336164373735323536613962363436363234376165653334 -33626337306138663233653836666239343035623661666465663162393737646539373238313135 -31366530313036396465613766653236653336363865623664363265333162643361343863303539 -61346630393765343063386537623639383339313831643865393361346537653336633631333362 -61633137303265313334303636386365396539616162303961613833316466363363373737333232 -65663061613339393362373333656663353336393637383631303935346231353331373437343439 -33393434313466656562353663333664656166623234343530613265373234656439393933363735 -63653236613536363031396533306332613232383838336530306635386232363237396232626161 -30363962636361363262326137343030373564666332633866336230346636626463346565666430 -64373432343836346562303666346338393866343431616134636236346464383337333435653562 -66396365333562316338303666396530646333653237366665666231323534643732656337613933 -32356161313533643339333736353264613963653837663530326434636666306235623536363961 -36363735303831303935643863653133363936383563376463333731376233343861363631306338 -39373432663865663766646462653764653633356466376663306239386166616335326363666135 -37663530346633353366363662663362323835623039623137643161306439313039393536323930 -63326638356639316138373035623964313330626533616636633930303437376464663337363064 -34396439383337323739326235353931373935373235326662333338666536303031633434316461 -64356565303834646133623166336535393536393039326135666631636131353464366136303063 -66363334663863343264303066303435646237663139366135343237373266616133343261363039 -35636166666630383837333834623964313065373030343666353731356464633439653633363835 -39623230353864353261323038343966363238333433323938323465636534356337646535663130 -39326163626130356431333234643737333835303566646438393839643533346462623830343439 -63373037373338633838393463636161656662336536376664336334393162316531313563366564 -38373462643638336262346532356263643263323630363438356633393462383033313330656161 -37316232303735663832333462626637333234643730626233326438626339366130353430373434 -31346131666434633865386433306363656537313738383265663633376232393536333665666266 -34386465626633303565316539313135373033303262393561393961303638363561336634373730 -65626563396534613761653463303139396264653935393238373262656431396630373636663361 -37383230616665306339303832613339646632386337663664333837616238663534376530643035 -65393965383662623135326162323530333261383835323632343133633962323966333765666636 -66366532623138326563303933666139623463613835366664353232396533386535353864326332 -61643734633361353130386533353030373832373564316563663538303139303531366534616137 -35613437663166323863343135376239373137333330366135623437353362653337346564353733 -65383635393438613265623434666663656333316135643563373030373131353432356662383866 -33363365623863396366623837366162326232303133333436333135366561666436323234323866 -65313062623533663635303031316561633135386230313432336435316465666165353631333133 -61616533613361303237396562343031376265353734656334393932303265326363316638393333 -61626430646531646436313264613938633564646366636663326531663430333330626135623431 -31393035646163303262646334333262633435356531623736326134373032323237353938373036 -65383361306436383330376432373834343734663164366532303033656162636636303762373937 -35623936646634356465303263333663656438613061363934373962663363643533656665306431 -39343166326637343361626561356430633666303365373939613137323864636537346634396561 -32646432353333613762663265333863643631383762646133313638386438393164633135336432 -64363534353832396430326262393135313133303434383538356662363638656664643936666466 -64346466646434356666316164333564386465656461616632373365303664393039356432656561 -63373738353161653234316364323637376261616232326632646566376335316466616237313534 -64643531373662346339323534643863393833346530623732633532633536323732643935343239 -34306633613135333336666433393361323931653566666462373933363165646335653733376131 -33393938346637653732343330336234653132626538376339333762343135393733623866656265 -32366430666531623136623763303263373039346539343435346434386462663766613765373231 -36333466353232303536643537393134313131666234323733636565323265396638336663343636 -32363839646639316536666363336236373039373962336530393336313064386463316661626539 -32343065376336646536666432373439343535353763623163313934663162373636303636623563 -35636666376566373432373062373039646532636461346632646434373462623461636133353062 -63363131646536666330376230393039353531346332633137336161353334653839326431303066 -30643834326633656135376337363635356163636133653066393461303733663762626232383762 -37643632346263623630303236303463633232316162336563386362633632643731363864373534 -37383932363037373164633533346331393139396130306539303061333364323965633864363662 -63316666323231336231303834323231353139383266653936336266313636356637363332643532 -65303366643638373331616663363833646436666133616362323666313063626165656365616337 -35313261363837313833616532326333343261336433386365373439323837303061316463373939 -30396536623862656634623932623632623963613939343566363631656433393263346634313035 -39333433313136623934616135663231326161643337376531656337306238336664373733643565 -39323439633361613435666137313965646265633733343331346566396539643032353962316463 -63313837386131313565376430303435613161353835346239363161633938313139393863656462 -31383832623635626563623331653731626363353663303565376530393534646531333837323238 -65613634333436633963333238396461393664353936343834396332383235316332386633623534 -33353136333439383939353261343230373462623334623431336237363765646365303139393037 -66623064613932356361306466363761653236396563383064353731356239646532373232643765 -37653865356262653863363765653038393631653766646665626464353833383237336665643334 -62653336353863323731323232396563633437356633323839653665393138613364373639613665 -38656633633366303263386538353566613765323439366362633337653737643966623863343166 -30666163353331353761343737376531653639616138303063303336613764313332313366666161 -64343964663832626635626237323231623835306663336136663836366564616135663437386266 -37386461633039386232623339333435313435393031633838393166383664346632636537393636 -38323865383633333031653035366430656264303463313730353765653636653231343336636632 -63323333346135366466656365313463316661623765393036316462613463303939386464333432 -36646532326635616366336632303965303163356433646134626562613965383832663564383636 -61323132386435373664363530613164393165613439356631343136663266326563393261633164 -32396662643361346566356661343338393334643466373361383838636665663030363733363034 -30326635306366313836303536373433373531356430343866396465383064353064626132623332 -39663263353661323662346138653866666266653431393737626436666236386336646231323736 -35333764316134313863663162376536363564373332333934663134306437666163303732363035 -36316165626136633639663162653161313461623564663363326432623433653739376232663461 -30323666623932316663633933613432353132656535653434393964383237333363666638623364 -34333732663238386164323733646464653465313635333734323365353565353861646634666134 -38653433646438656165313935363866623734326362636436366336303264653265313434636137 -38393832393034623863653164373738303136663864626330396139386630646136326334386262 -63626438653732303839333339663438303333663462303239306631326232626265303433393261 -39626637613861653132343963353330326464636232623930666230643037623030353634633233 -35666231386231353338663131336562356438663835393863326436356463653133343162363932 -61396265363836613563643935376663323666633561663431646632343964633237636261316363 -33643930323131343133333237623361393536623533663366623437306662303663613037313130 -65346437383335393862353239396362343435323030633536373865373336383239323139653337 -64613861393266666337623762626364333132336362356566363364666266656537333263656362 -39623334373631343863396566343638666161373237373233343135313961396539396539616262 -34373932343963633736333362636463636366663135633139373862646332613034383431333566 -35323865343533623461613937343930666438316634623964616564613831646162616130343431 -61343334336161323835363534343762386436653865383965646434383434626231663534626435 -63396231346363313231326538366635626230383631616238646330316532636362303164386131 -30643839306337373734383632633430653061393066636662633765623037643963343066623436 -66323039653930666332666331303965343234356163326264393435393633613063376433613634 -66643133636665656166666161653030396262376230366434363733613035663036393563376465 -35356265636331353237343039313065656165346232303739343037656536393764323765393265 -30363332303563663662656634613934306362363532623135383430366532383139643637306435 -37356138383239663563623037666365643062613637643332336239623437363336393062663534 -64626564656364313066316639353662333962353736353134653464653634613839366465393164 -66333562346130613664306466346564643239333138363962656134623739376266623130623730 -35393461623761646233613465366661623031353565653033623835616239623835353531346230 -30323364326339316333613032366130666139636338383031643734623761303237356465626362 -30663666623732656437626434366430343731333239353562613134323564626562303266656130 -39653139396561663961316432633562323031376135643737303033363236636238333861373935 -39373831613732303662 From 5e653066175c2d398f5fecb891310919702dd38e Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 15:21:07 -0400 Subject: [PATCH 08/14] remove old folder --- dbdoc/README.md | 30 -- dbdoc/public.acos.md | 46 --- dbdoc/public.acos.svg | 96 ------ dbdoc/public.alr.md | 40 --- dbdoc/public.alr.svg | 90 ------ dbdoc/public.alr_meta.md | 42 --- dbdoc/public.alr_meta.svg | 90 ------ dbdoc/public.cclf_beneficiaries.md | 43 --- dbdoc/public.cclf_beneficiaries.svg | 90 ------ dbdoc/public.cclf_files.md | 45 --- dbdoc/public.cclf_files.svg | 90 ------ dbdoc/public.job_keys.md | 42 --- dbdoc/public.job_keys.svg | 44 --- dbdoc/public.jobs.md | 38 --- dbdoc/public.jobs.svg | 96 ------ dbdoc/public.schema_migrations_bcda.md | 30 -- dbdoc/public.schema_migrations_bcda.svg | 29 -- dbdoc/public.suppression_files.md | 42 --- dbdoc/public.suppression_files.svg | 41 --- dbdoc/public.suppressions.md | 54 ---- dbdoc/public.suppressions.svg | 77 ----- dbdoc/schema.json | 1 - dbdoc/schema.svg | 382 ------------------------ 23 files changed, 1578 deletions(-) delete mode 100644 dbdoc/README.md delete mode 100644 dbdoc/public.acos.md delete mode 100644 dbdoc/public.acos.svg delete mode 100644 dbdoc/public.alr.md delete mode 100644 dbdoc/public.alr.svg delete mode 100644 dbdoc/public.alr_meta.md delete mode 100644 dbdoc/public.alr_meta.svg delete mode 100644 dbdoc/public.cclf_beneficiaries.md delete mode 100644 dbdoc/public.cclf_beneficiaries.svg delete mode 100644 dbdoc/public.cclf_files.md delete mode 100644 dbdoc/public.cclf_files.svg delete mode 100644 dbdoc/public.job_keys.md delete mode 100644 dbdoc/public.job_keys.svg delete mode 100644 dbdoc/public.jobs.md delete mode 100644 dbdoc/public.jobs.svg delete mode 100644 dbdoc/public.schema_migrations_bcda.md delete mode 100644 dbdoc/public.schema_migrations_bcda.svg delete mode 100644 dbdoc/public.suppression_files.md delete mode 100644 dbdoc/public.suppression_files.svg delete mode 100644 dbdoc/public.suppressions.md delete mode 100644 dbdoc/public.suppressions.svg delete mode 100644 dbdoc/schema.json delete mode 100644 dbdoc/schema.svg diff --git a/dbdoc/README.md b/dbdoc/README.md deleted file mode 100644 index 828e6915d..000000000 --- a/dbdoc/README.md +++ /dev/null @@ -1,30 +0,0 @@ -# bcda - -## Tables - -| Name | Columns | Comment | Type | -| ---- | ------- | ------- | ---- | -| [public.schema_migrations_bcda](public.schema_migrations_bcda.md) | 2 | | BASE TABLE | -| [public.acos](public.acos.md) | 10 | | BASE TABLE | -| [public.cclf_beneficiaries](public.cclf_beneficiaries.md) | 7 | | BASE TABLE | -| [public.cclf_files](public.cclf_files.md) | 10 | | BASE TABLE | -| [public.job_keys](public.job_keys.md) | 7 | | BASE TABLE | -| [public.jobs](public.jobs.md) | 9 | | BASE TABLE | -| [public.suppression_files](public.suppression_files.md) | 6 | | BASE TABLE | -| [public.suppressions](public.suppressions.md) | 18 | | BASE TABLE | -| [public.alr](public.alr.md) | 12 | | BASE TABLE | -| [public.alr_meta](public.alr_meta.md) | 5 | | BASE TABLE | - -## Stored procedures and functions - -| Name | ReturnType | Arguments | Type | -| ---- | ------- | ------- | ---- | -| public.trigger_set_timestamp | trigger | | FUNCTION | - -## Relations - -![er](schema.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.acos.md b/dbdoc/public.acos.md deleted file mode 100644 index 2bc861ced..000000000 --- a/dbdoc/public.acos.md +++ /dev/null @@ -1,46 +0,0 @@ -# public.acos - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| uuid | uuid | | false | [public.jobs](public.jobs.md) | | | -| name | text | | false | | | | -| created_at | timestamp with time zone | now() | false | | | | -| updated_at | timestamp with time zone | now() | false | | | | -| id | integer | nextval('acos_id_seq'::regclass) | false | | | | -| client_id | text | | true | | | | -| cms_id | varchar(8) | | true | | | | -| group_id | text | | true | | | | -| system_id | text | | true | | | | -| termination_details | jsonb | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| acos_pkey | PRIMARY KEY | PRIMARY KEY (uuid) | -| acos_cms_id_key | UNIQUE | UNIQUE (cms_id) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| acos_pkey | CREATE UNIQUE INDEX acos_pkey ON public.acos USING btree (uuid) | -| acos_cms_id_key | CREATE UNIQUE INDEX acos_cms_id_key ON public.acos USING btree (cms_id) | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.acos FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.acos.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.acos.svg b/dbdoc/public.acos.svg deleted file mode 100644 index 5ccc2b5c4..000000000 --- a/dbdoc/public.acos.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -public.acos - - - -public.acos - - -public.acos -     -[BASE TABLE] - -uuid -[uuid] - -name -[text] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -id -[integer] - -client_id -[text] - -cms_id -[varchar(8)] - -group_id -[text] - -system_id -[text] - -termination_details -[jsonb] - - - - -public.jobs - - -public.jobs -     -[BASE TABLE] - -id     -[integer] - -aco_id     -[uuid] - -request_url     -[text] - -status     -[text] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -job_count     -[integer] - -transaction_time     -[timestamp with time zone] - -priority     -[integer] - - - -public.jobs:aco_id->public.acos:uuid - - -FOREIGN KEY (aco_id) REFERENCES acos(uuid) - - - diff --git a/dbdoc/public.alr.md b/dbdoc/public.alr.md deleted file mode 100644 index beac1acfe..000000000 --- a/dbdoc/public.alr.md +++ /dev/null @@ -1,40 +0,0 @@ -# public.alr - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| created_at | timestamp with time zone | now() | false | | | | -| updated_at | timestamp with time zone | now() | false | | | | -| id | bigint | nextval('alr_id_seq'::regclass) | false | | | | -| metakey | bigint | | false | | [public.alr_meta](public.alr_meta.md) | | -| mbi | character(11) | | false | | | | -| hic | character(12) | | true | | | | -| firstname | varchar(30) | | true | | | | -| lastname | varchar(40) | | true | | | | -| sex | character(1) | | true | | | | -| dob | timestamp without time zone | | true | | | | -| dod | timestamp without time zone | | true | | | | -| keyvalue | bytea | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| foreign_key_alr | FOREIGN KEY | FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.alr.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.alr.svg b/dbdoc/public.alr.svg deleted file mode 100644 index ff6f957ef..000000000 --- a/dbdoc/public.alr.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - -public.alr - - - -public.alr - - -public.alr -     -[BASE TABLE] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -id -[bigint] - -metakey -[bigint] - -mbi -[character(11)] - -hic -[character(12)] - -firstname -[varchar(30)] - -lastname -[varchar(40)] - -sex -[character(1)] - -dob -[timestamp without time zone] - -dod -[timestamp without time zone] - -keyvalue -[bytea] - - - - -public.alr_meta - - -public.alr_meta -     -[BASE TABLE] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -id     -[bigint] - -aco     -[varchar(5)] - -timestp     -[timestamp with time zone] - - - -public.alr:metakey->public.alr_meta:id - - -FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT - - - diff --git a/dbdoc/public.alr_meta.md b/dbdoc/public.alr_meta.md deleted file mode 100644 index a3a60852f..000000000 --- a/dbdoc/public.alr_meta.md +++ /dev/null @@ -1,42 +0,0 @@ -# public.alr_meta - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| created_at | timestamp with time zone | now() | false | | | | -| updated_at | timestamp with time zone | now() | false | | | | -| id | bigint | nextval('alr_meta_id_seq'::regclass) | false | [public.alr](public.alr.md) | | | -| aco | varchar(5) | | true | | | | -| timestp | timestamp with time zone | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| alr_meta_id_aco_timestp_key | UNIQUE | UNIQUE (id, aco, timestp) | -| primary_key_alr_meta | PRIMARY KEY | PRIMARY KEY (id) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| alr_meta_id_aco_timestp_key | CREATE UNIQUE INDEX alr_meta_id_aco_timestp_key ON public.alr_meta USING btree (id, aco, timestp) | -| idx_metaid_timestamp | CREATE INDEX idx_metaid_timestamp ON public.alr_meta USING btree (aco, timestp) | -| primary_key_alr_meta | CREATE UNIQUE INDEX primary_key_alr_meta ON public.alr_meta USING btree (id) | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr_meta FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.alr_meta.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.alr_meta.svg b/dbdoc/public.alr_meta.svg deleted file mode 100644 index c7e259e0e..000000000 --- a/dbdoc/public.alr_meta.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - -public.alr_meta - - - -public.alr_meta - - -public.alr_meta -     -[BASE TABLE] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -id -[bigint] - -aco -[varchar(5)] - -timestp -[timestamp with time zone] - - - - -public.alr - - -public.alr -     -[BASE TABLE] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -id     -[bigint] - -metakey     -[bigint] - -mbi     -[character(11)] - -hic     -[character(12)] - -firstname     -[varchar(30)] - -lastname     -[varchar(40)] - -sex     -[character(1)] - -dob     -[timestamp without time zone] - -dod     -[timestamp without time zone] - -keyvalue     -[bytea] - - - -public.alr:metakey->public.alr_meta:id - - -FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT - - - diff --git a/dbdoc/public.cclf_beneficiaries.md b/dbdoc/public.cclf_beneficiaries.md deleted file mode 100644 index e107b6339..000000000 --- a/dbdoc/public.cclf_beneficiaries.md +++ /dev/null @@ -1,43 +0,0 @@ -# public.cclf_beneficiaries - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| id | integer | nextval('cclf_beneficiaries_id_seq'::regclass) | false | | | | -| created_at | timestamp with time zone | now() | true | | | | -| updated_at | timestamp with time zone | now() | true | | | | -| file_id | integer | | false | | [public.cclf_files](public.cclf_files.md) | | -| mbi | character(11) | | false | | | | -| beneficiary_id | integer | | true | | | | -| blue_button_id | text | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| cclf_beneficiaries_pkey | PRIMARY KEY | PRIMARY KEY (id) | -| cclf_beneficiaries_file_id_cclf_files_id_foreign | FOREIGN KEY | FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| cclf_beneficiaries_pkey | CREATE UNIQUE INDEX cclf_beneficiaries_pkey ON public.cclf_beneficiaries USING btree (id) | -| idx_cclf_beneficiaries_file_id | CREATE INDEX idx_cclf_beneficiaries_file_id ON public.cclf_beneficiaries USING btree (file_id) | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_beneficiaries FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.cclf_beneficiaries.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.cclf_beneficiaries.svg b/dbdoc/public.cclf_beneficiaries.svg deleted file mode 100644 index 188a512b1..000000000 --- a/dbdoc/public.cclf_beneficiaries.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - -public.cclf_beneficiaries - - - -public.cclf_beneficiaries - - -public.cclf_beneficiaries -     -[BASE TABLE] - -id -[integer] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -file_id -[integer] - -mbi -[character(11)] - -beneficiary_id -[integer] - -blue_button_id -[text] - - - - -public.cclf_files - - -public.cclf_files -     -[BASE TABLE] - -id     -[integer] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -cclf_num     -[integer] - -name     -[text] - -aco_cms_id     -[varchar(8)] - -timestamp     -[timestamp with time zone] - -performance_year     -[integer] - -import_status     -[text] - -type     -[smallint] - - - -public.cclf_beneficiaries:file_id->public.cclf_files:id - - -FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT - - - diff --git a/dbdoc/public.cclf_files.md b/dbdoc/public.cclf_files.md deleted file mode 100644 index c220247a5..000000000 --- a/dbdoc/public.cclf_files.md +++ /dev/null @@ -1,45 +0,0 @@ -# public.cclf_files - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| id | integer | nextval('cclf_files_id_seq'::regclass) | false | [public.cclf_beneficiaries](public.cclf_beneficiaries.md) | | | -| created_at | timestamp with time zone | now() | true | | | | -| updated_at | timestamp with time zone | now() | true | | | | -| cclf_num | integer | | false | | | | -| name | text | | false | | | | -| aco_cms_id | varchar(8) | | true | | | | -| timestamp | timestamp with time zone | | false | | | | -| performance_year | integer | | false | | | | -| import_status | text | | true | | | | -| type | smallint | 0 | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| cclf_files_pkey | PRIMARY KEY | PRIMARY KEY (id) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| cclf_files_pkey | CREATE UNIQUE INDEX cclf_files_pkey ON public.cclf_files USING btree (id) | -| idx_cclf_files_name_aco_cms_id_key | CREATE UNIQUE INDEX idx_cclf_files_name_aco_cms_id_key ON public.cclf_files USING btree (name, aco_cms_id) | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.cclf_files.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.cclf_files.svg b/dbdoc/public.cclf_files.svg deleted file mode 100644 index 6898c225d..000000000 --- a/dbdoc/public.cclf_files.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - -public.cclf_files - - - -public.cclf_files - - -public.cclf_files -     -[BASE TABLE] - -id -[integer] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -cclf_num -[integer] - -name -[text] - -aco_cms_id -[varchar(8)] - -timestamp -[timestamp with time zone] - -performance_year -[integer] - -import_status -[text] - -type -[smallint] - - - - -public.cclf_beneficiaries - - -public.cclf_beneficiaries -     -[BASE TABLE] - -id     -[integer] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -file_id     -[integer] - -mbi     -[character(11)] - -beneficiary_id     -[integer] - -blue_button_id     -[text] - - - -public.cclf_beneficiaries:file_id->public.cclf_files:id - - -FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT - - - diff --git a/dbdoc/public.job_keys.md b/dbdoc/public.job_keys.md deleted file mode 100644 index 98fc5a23d..000000000 --- a/dbdoc/public.job_keys.md +++ /dev/null @@ -1,42 +0,0 @@ -# public.job_keys - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| id | integer | nextval('job_keys_id_seq'::regclass) | false | | | | -| created_at | timestamp with time zone | now() | true | | | | -| updated_at | timestamp with time zone | now() | true | | | | -| job_id | integer | nextval('job_keys_job_id_seq'::regclass) | false | | | | -| file_name | character(127) | | true | | | | -| resource_type | text | | true | | | | -| que_job_id | bigint | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| job_keys_pkey | PRIMARY KEY | PRIMARY KEY (id, job_id) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| job_keys_pkey | CREATE UNIQUE INDEX job_keys_pkey ON public.job_keys USING btree (id, job_id) | -| idx_job_keys_job_id_que_job_id | CREATE INDEX idx_job_keys_job_id_que_job_id ON public.job_keys USING btree (job_id, que_job_id) | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.job_keys FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.job_keys.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.job_keys.svg b/dbdoc/public.job_keys.svg deleted file mode 100644 index b32220269..000000000 --- a/dbdoc/public.job_keys.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -public.job_keys - - - -public.job_keys - - -public.job_keys -     -[BASE TABLE] - -id -[integer] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -job_id -[integer] - -file_name -[character(127)] - -resource_type -[text] - -que_job_id -[bigint] - - - - diff --git a/dbdoc/public.jobs.md b/dbdoc/public.jobs.md deleted file mode 100644 index 21bd46da5..000000000 --- a/dbdoc/public.jobs.md +++ /dev/null @@ -1,38 +0,0 @@ -# public.jobs - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| id | integer | nextval('jobs_id_seq'::regclass) | false | | | | -| aco_id | uuid | | false | | [public.acos](public.acos.md) | | -| request_url | text | | false | | | | -| status | text | | false | | | | -| created_at | timestamp with time zone | now() | false | | | | -| updated_at | timestamp with time zone | | true | | | | -| job_count | integer | | true | | | | -| transaction_time | timestamp with time zone | | true | | | | -| priority | integer | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| jobs_aco_id_fkey | FOREIGN KEY | FOREIGN KEY (aco_id) REFERENCES acos(uuid) | -| jobs_pkey | PRIMARY KEY | PRIMARY KEY (id) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| jobs_pkey | CREATE UNIQUE INDEX jobs_pkey ON public.jobs USING btree (id) | - -## Relations - -![er](public.jobs.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.jobs.svg b/dbdoc/public.jobs.svg deleted file mode 100644 index 90e92b5e7..000000000 --- a/dbdoc/public.jobs.svg +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - -public.jobs - - - -public.jobs - - -public.jobs -     -[BASE TABLE] - -id -[integer] - -aco_id -[uuid] - -request_url -[text] - -status -[text] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -job_count -[integer] - -transaction_time -[timestamp with time zone] - -priority -[integer] - - - - -public.acos - - -public.acos -     -[BASE TABLE] - -uuid     -[uuid] - -name     -[text] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -id     -[integer] - -client_id     -[text] - -cms_id     -[varchar(8)] - -group_id     -[text] - -system_id     -[text] - -termination_details     -[jsonb] - - - -public.jobs:aco_id->public.acos:uuid - - -FOREIGN KEY (aco_id) REFERENCES acos(uuid) - - - diff --git a/dbdoc/public.schema_migrations_bcda.md b/dbdoc/public.schema_migrations_bcda.md deleted file mode 100644 index 1d4a1b653..000000000 --- a/dbdoc/public.schema_migrations_bcda.md +++ /dev/null @@ -1,30 +0,0 @@ -# public.schema_migrations_bcda - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| version | bigint | | false | | | | -| dirty | boolean | | false | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| schema_migrations_bcda_pkey | PRIMARY KEY | PRIMARY KEY (version) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| schema_migrations_bcda_pkey | CREATE UNIQUE INDEX schema_migrations_bcda_pkey ON public.schema_migrations_bcda USING btree (version) | - -## Relations - -![er](public.schema_migrations_bcda.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.schema_migrations_bcda.svg b/dbdoc/public.schema_migrations_bcda.svg deleted file mode 100644 index 5d29637b6..000000000 --- a/dbdoc/public.schema_migrations_bcda.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - -public.schema_migrations_bcda - - - -public.schema_migrations_bcda - - -public.schema_migrations_bcda -     -[BASE TABLE] - -version -[bigint] - -dirty -[boolean] - - - - diff --git a/dbdoc/public.suppression_files.md b/dbdoc/public.suppression_files.md deleted file mode 100644 index f770ee7f3..000000000 --- a/dbdoc/public.suppression_files.md +++ /dev/null @@ -1,42 +0,0 @@ -# public.suppression_files - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| id | integer | nextval('suppression_files_id_seq'::regclass) | false | | | | -| created_at | timestamp with time zone | now() | true | | | | -| updated_at | timestamp with time zone | now() | true | | | | -| name | text | | false | | | | -| timestamp | timestamp with time zone | | false | | | | -| import_status | text | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| suppression_files_name_key | UNIQUE | UNIQUE (name) | -| suppression_files_pkey | PRIMARY KEY | PRIMARY KEY (id) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| suppression_files_name_key | CREATE UNIQUE INDEX suppression_files_name_key ON public.suppression_files USING btree (name) | -| suppression_files_pkey | CREATE UNIQUE INDEX suppression_files_pkey ON public.suppression_files USING btree (id) | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppression_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.suppression_files.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.suppression_files.svg b/dbdoc/public.suppression_files.svg deleted file mode 100644 index 57bd2a468..000000000 --- a/dbdoc/public.suppression_files.svg +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - -public.suppression_files - - - -public.suppression_files - - -public.suppression_files -     -[BASE TABLE] - -id -[integer] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -name -[text] - -timestamp -[timestamp with time zone] - -import_status -[text] - - - - diff --git a/dbdoc/public.suppressions.md b/dbdoc/public.suppressions.md deleted file mode 100644 index e8aa387a4..000000000 --- a/dbdoc/public.suppressions.md +++ /dev/null @@ -1,54 +0,0 @@ -# public.suppressions - -## Description - -## Columns - -| Name | Type | Default | Nullable | Children | Parents | Comment | -| ---- | ---- | ------- | -------- | -------- | ------- | ------- | -| id | integer | nextval('suppressions_id_seq'::regclass) | false | | | | -| created_at | timestamp with time zone | now() | true | | | | -| updated_at | timestamp with time zone | now() | true | | | | -| source_code | varchar(5) | | true | | | | -| effective_dt | timestamp with time zone | | true | | | | -| pref_indicator | character(1) | | true | | | | -| samhsa_source_code | varchar(5) | | true | | | | -| samhsa_effective_dt | timestamp with time zone | | true | | | | -| samhsa_pref_indicator | character(1) | | true | | | | -| aco_cms_id | varchar(8) | | true | | | | -| beneficiary_link_key | integer | | true | | | | -| effective_date | timestamp with time zone | | true | | | | -| preference_indicator | character(1) | | true | | | | -| samhsa_effective_date | timestamp with time zone | | true | | | | -| samhsa_preference_indicator | character(1) | | true | | | | -| file_id | integer | | false | | | | -| blue_button_id | text | | true | | | | -| mbi | varchar(11) | | true | | | | - -## Constraints - -| Name | Type | Definition | -| ---- | ---- | ---------- | -| suppressions_pkey | PRIMARY KEY | PRIMARY KEY (id) | - -## Indexes - -| Name | Definition | -| ---- | ---------- | -| suppressions_pkey | CREATE UNIQUE INDEX suppressions_pkey ON public.suppressions USING btree (id) | -| idx_suppression_bb_id | CREATE INDEX idx_suppression_bb_id ON public.suppressions USING btree (blue_button_id) | -| idx_suppression_mbi | CREATE INDEX idx_suppression_mbi ON public.suppressions USING btree (mbi) | - -## Triggers - -| Name | Definition | -| ---- | ---------- | -| set_timestamp | CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppressions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp() | - -## Relations - -![er](public.suppressions.svg) - ---- - -> Generated by [tbls](https://github.com/k1LoW/tbls) diff --git a/dbdoc/public.suppressions.svg b/dbdoc/public.suppressions.svg deleted file mode 100644 index bc24f4861..000000000 --- a/dbdoc/public.suppressions.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - -public.suppressions - - - -public.suppressions - - -public.suppressions -     -[BASE TABLE] - -id -[integer] - -created_at -[timestamp with time zone] - -updated_at -[timestamp with time zone] - -source_code -[varchar(5)] - -effective_dt -[timestamp with time zone] - -pref_indicator -[character(1)] - -samhsa_source_code -[varchar(5)] - -samhsa_effective_dt -[timestamp with time zone] - -samhsa_pref_indicator -[character(1)] - -aco_cms_id -[varchar(8)] - -beneficiary_link_key -[integer] - -effective_date -[timestamp with time zone] - -preference_indicator -[character(1)] - -samhsa_effective_date -[timestamp with time zone] - -samhsa_preference_indicator -[character(1)] - -file_id -[integer] - -blue_button_id -[text] - -mbi -[varchar(11)] - - - - diff --git a/dbdoc/schema.json b/dbdoc/schema.json deleted file mode 100644 index 9b7adcdda..000000000 --- a/dbdoc/schema.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"bcda","desc":"","tables":[{"name":"public.schema_migrations_bcda","type":"BASE TABLE","comment":"","columns":[{"name":"version","type":"bigint","nullable":false,"default":null,"comment":""},{"name":"dirty","type":"boolean","nullable":false,"default":null,"comment":""}],"indexes":[{"name":"schema_migrations_bcda_pkey","def":"CREATE UNIQUE INDEX schema_migrations_bcda_pkey ON public.schema_migrations_bcda USING btree (version)","table":"public.schema_migrations_bcda","columns":["version"],"comment":""}],"constraints":[{"name":"schema_migrations_bcda_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (version)","table":"public.schema_migrations_bcda","referenced_table":"","columns":["version"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""},{"name":"public.acos","type":"BASE TABLE","comment":"","columns":[{"name":"uuid","type":"uuid","nullable":false,"default":null,"comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"integer","nullable":false,"default":"nextval('acos_id_seq'::regclass)","comment":""},{"name":"client_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"group_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"system_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"termination_details","type":"jsonb","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"acos_pkey","def":"CREATE UNIQUE INDEX acos_pkey ON public.acos USING btree (uuid)","table":"public.acos","columns":["uuid"],"comment":""},{"name":"acos_cms_id_key","def":"CREATE UNIQUE INDEX acos_cms_id_key ON public.acos USING btree (cms_id)","table":"public.acos","columns":["cms_id"],"comment":""}],"constraints":[{"name":"acos_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (uuid)","table":"public.acos","referenced_table":"","columns":["uuid"],"referenced_columns":[],"comment":""},{"name":"acos_cms_id_key","type":"UNIQUE","def":"UNIQUE (cms_id)","table":"public.acos","referenced_table":"","columns":["cms_id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.acos FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.cclf_beneficiaries","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('cclf_beneficiaries_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"file_id","type":"integer","nullable":false,"default":null,"comment":""},{"name":"mbi","type":"character(11)","nullable":false,"default":null,"comment":""},{"name":"beneficiary_id","type":"integer","nullable":true,"default":null,"comment":""},{"name":"blue_button_id","type":"text","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"cclf_beneficiaries_pkey","def":"CREATE UNIQUE INDEX cclf_beneficiaries_pkey ON public.cclf_beneficiaries USING btree (id)","table":"public.cclf_beneficiaries","columns":["id"],"comment":""},{"name":"idx_cclf_beneficiaries_file_id","def":"CREATE INDEX idx_cclf_beneficiaries_file_id ON public.cclf_beneficiaries USING btree (file_id)","table":"public.cclf_beneficiaries","columns":["file_id"],"comment":""}],"constraints":[{"name":"cclf_beneficiaries_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.cclf_beneficiaries","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""},{"name":"cclf_beneficiaries_file_id_cclf_files_id_foreign","type":"FOREIGN KEY","def":"FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT","table":"public.cclf_beneficiaries","referenced_table":"cclf_files","columns":["file_id"],"referenced_columns":["id"],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_beneficiaries FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.cclf_files","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('cclf_files_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"cclf_num","type":"integer","nullable":false,"default":null,"comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"aco_cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"timestamp","type":"timestamp with time zone","nullable":false,"default":null,"comment":""},{"name":"performance_year","type":"integer","nullable":false,"default":null,"comment":""},{"name":"import_status","type":"text","nullable":true,"default":null,"comment":""},{"name":"type","type":"smallint","nullable":true,"default":"0","comment":""}],"indexes":[{"name":"cclf_files_pkey","def":"CREATE UNIQUE INDEX cclf_files_pkey ON public.cclf_files USING btree (id)","table":"public.cclf_files","columns":["id"],"comment":""},{"name":"idx_cclf_files_name_aco_cms_id_key","def":"CREATE UNIQUE INDEX idx_cclf_files_name_aco_cms_id_key ON public.cclf_files USING btree (name, aco_cms_id)","table":"public.cclf_files","columns":["aco_cms_id","name"],"comment":""}],"constraints":[{"name":"cclf_files_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.cclf_files","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.cclf_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.job_keys","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('job_keys_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"job_id","type":"integer","nullable":false,"default":"nextval('job_keys_job_id_seq'::regclass)","comment":""},{"name":"file_name","type":"character(127)","nullable":true,"default":null,"comment":""},{"name":"resource_type","type":"text","nullable":true,"default":null,"comment":""},{"name":"que_job_id","type":"bigint","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"job_keys_pkey","def":"CREATE UNIQUE INDEX job_keys_pkey ON public.job_keys USING btree (id, job_id)","table":"public.job_keys","columns":["id","job_id"],"comment":""},{"name":"idx_job_keys_job_id_que_job_id","def":"CREATE INDEX idx_job_keys_job_id_que_job_id ON public.job_keys USING btree (job_id, que_job_id)","table":"public.job_keys","columns":["job_id","que_job_id"],"comment":""}],"constraints":[{"name":"job_keys_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id, job_id)","table":"public.job_keys","referenced_table":"","columns":["id","job_id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.job_keys FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.jobs","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('jobs_id_seq'::regclass)","comment":""},{"name":"aco_id","type":"uuid","nullable":false,"default":null,"comment":""},{"name":"request_url","type":"text","nullable":false,"default":null,"comment":""},{"name":"status","type":"text","nullable":false,"default":null,"comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"job_count","type":"integer","nullable":true,"default":null,"comment":""},{"name":"transaction_time","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"priority","type":"integer","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"jobs_pkey","def":"CREATE UNIQUE INDEX jobs_pkey ON public.jobs USING btree (id)","table":"public.jobs","columns":["id"],"comment":""}],"constraints":[{"name":"jobs_aco_id_fkey","type":"FOREIGN KEY","def":"FOREIGN KEY (aco_id) REFERENCES acos(uuid)","table":"public.jobs","referenced_table":"acos","columns":["aco_id"],"referenced_columns":["uuid"],"comment":""},{"name":"jobs_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.jobs","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[],"def":""},{"name":"public.suppression_files","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('suppression_files_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"name","type":"text","nullable":false,"default":null,"comment":""},{"name":"timestamp","type":"timestamp with time zone","nullable":false,"default":null,"comment":""},{"name":"import_status","type":"text","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"suppression_files_name_key","def":"CREATE UNIQUE INDEX suppression_files_name_key ON public.suppression_files USING btree (name)","table":"public.suppression_files","columns":["name"],"comment":""},{"name":"suppression_files_pkey","def":"CREATE UNIQUE INDEX suppression_files_pkey ON public.suppression_files USING btree (id)","table":"public.suppression_files","columns":["id"],"comment":""}],"constraints":[{"name":"suppression_files_name_key","type":"UNIQUE","def":"UNIQUE (name)","table":"public.suppression_files","referenced_table":"","columns":["name"],"referenced_columns":[],"comment":""},{"name":"suppression_files_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.suppression_files","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppression_files FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.suppressions","type":"BASE TABLE","comment":"","columns":[{"name":"id","type":"integer","nullable":false,"default":"nextval('suppressions_id_seq'::regclass)","comment":""},{"name":"created_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":true,"default":"now()","comment":""},{"name":"source_code","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"effective_dt","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"pref_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"samhsa_source_code","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"samhsa_effective_dt","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"samhsa_pref_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"aco_cms_id","type":"varchar(8)","nullable":true,"default":null,"comment":""},{"name":"beneficiary_link_key","type":"integer","nullable":true,"default":null,"comment":""},{"name":"effective_date","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"preference_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"samhsa_effective_date","type":"timestamp with time zone","nullable":true,"default":null,"comment":""},{"name":"samhsa_preference_indicator","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"file_id","type":"integer","nullable":false,"default":null,"comment":""},{"name":"blue_button_id","type":"text","nullable":true,"default":null,"comment":""},{"name":"mbi","type":"varchar(11)","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"suppressions_pkey","def":"CREATE UNIQUE INDEX suppressions_pkey ON public.suppressions USING btree (id)","table":"public.suppressions","columns":["id"],"comment":""},{"name":"idx_suppression_bb_id","def":"CREATE INDEX idx_suppression_bb_id ON public.suppressions USING btree (blue_button_id)","table":"public.suppressions","columns":["blue_button_id"],"comment":""},{"name":"idx_suppression_mbi","def":"CREATE INDEX idx_suppression_mbi ON public.suppressions USING btree (mbi)","table":"public.suppressions","columns":["mbi"],"comment":""}],"constraints":[{"name":"suppressions_pkey","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.suppressions","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.suppressions FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.alr","type":"BASE TABLE","comment":"","columns":[{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"bigint","nullable":false,"default":"nextval('alr_id_seq'::regclass)","comment":""},{"name":"metakey","type":"bigint","nullable":false,"default":null,"comment":""},{"name":"mbi","type":"character(11)","nullable":false,"default":null,"comment":""},{"name":"hic","type":"character(12)","nullable":true,"default":null,"comment":""},{"name":"firstname","type":"varchar(30)","nullable":true,"default":null,"comment":""},{"name":"lastname","type":"varchar(40)","nullable":true,"default":null,"comment":""},{"name":"sex","type":"character(1)","nullable":true,"default":null,"comment":""},{"name":"dob","type":"timestamp without time zone","nullable":true,"default":null,"comment":""},{"name":"dod","type":"timestamp without time zone","nullable":true,"default":null,"comment":""},{"name":"keyvalue","type":"bytea","nullable":true,"default":null,"comment":""}],"indexes":[],"constraints":[{"name":"foreign_key_alr","type":"FOREIGN KEY","def":"FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT","table":"public.alr","referenced_table":"alr_meta","columns":["metakey"],"referenced_columns":["id"],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""},{"name":"public.alr_meta","type":"BASE TABLE","comment":"","columns":[{"name":"created_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"updated_at","type":"timestamp with time zone","nullable":false,"default":"now()","comment":""},{"name":"id","type":"bigint","nullable":false,"default":"nextval('alr_meta_id_seq'::regclass)","comment":""},{"name":"aco","type":"varchar(5)","nullable":true,"default":null,"comment":""},{"name":"timestp","type":"timestamp with time zone","nullable":true,"default":null,"comment":""}],"indexes":[{"name":"alr_meta_id_aco_timestp_key","def":"CREATE UNIQUE INDEX alr_meta_id_aco_timestp_key ON public.alr_meta USING btree (id, aco, timestp)","table":"public.alr_meta","columns":["aco","id","timestp"],"comment":""},{"name":"idx_metaid_timestamp","def":"CREATE INDEX idx_metaid_timestamp ON public.alr_meta USING btree (aco, timestp)","table":"public.alr_meta","columns":["aco","timestp"],"comment":""},{"name":"primary_key_alr_meta","def":"CREATE UNIQUE INDEX primary_key_alr_meta ON public.alr_meta USING btree (id)","table":"public.alr_meta","columns":["id"],"comment":""}],"constraints":[{"name":"alr_meta_id_aco_timestp_key","type":"UNIQUE","def":"UNIQUE (id, aco, timestp)","table":"public.alr_meta","referenced_table":"","columns":["id","aco","timestp"],"referenced_columns":[],"comment":""},{"name":"primary_key_alr_meta","type":"PRIMARY KEY","def":"PRIMARY KEY (id)","table":"public.alr_meta","referenced_table":"","columns":["id"],"referenced_columns":[],"comment":""}],"triggers":[{"name":"set_timestamp","def":"CREATE TRIGGER set_timestamp BEFORE UPDATE ON public.alr_meta FOR EACH ROW EXECUTE FUNCTION trigger_set_timestamp()","comment":""}],"def":""}],"relations":[{"table":"public.cclf_beneficiaries","columns":["file_id"],"cardinality":"Zero or more","parent_table":"public.cclf_files","parent_columns":["id"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT","virtual":false},{"table":"public.jobs","columns":["aco_id"],"cardinality":"Zero or more","parent_table":"public.acos","parent_columns":["uuid"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (aco_id) REFERENCES acos(uuid)","virtual":false},{"table":"public.alr","columns":["metakey"],"cardinality":"Zero or more","parent_table":"public.alr_meta","parent_columns":["id"],"parent_cardinality":"Exactly one","def":"FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT","virtual":false}],"functions":[{"name":"public.trigger_set_timestamp","return_type":"trigger","arguments":"","type":"FUNCTION"}],"driver":{"name":"postgres","database_version":"PostgreSQL 15.7 (Debian 15.7-1.pgdg120+1) on aarch64-unknown-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit","meta":{"current_schema":"public","search_paths":["postgres","public"],"dict":{"Functions":"Stored procedures and functions"}}}} diff --git a/dbdoc/schema.svg b/dbdoc/schema.svg deleted file mode 100644 index a282e5221..000000000 --- a/dbdoc/schema.svg +++ /dev/null @@ -1,382 +0,0 @@ - - - - - - -bcda - - - -public.schema_migrations_bcda - - -public.schema_migrations_bcda -     -[BASE TABLE] - -version     -[bigint] - -dirty     -[boolean] - - - -public.acos - - -public.acos -     -[BASE TABLE] - -uuid     -[uuid] - -name     -[text] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -id     -[integer] - -client_id     -[text] - -cms_id     -[varchar(8)] - -group_id     -[text] - -system_id     -[text] - -termination_details     -[jsonb] - - - -public.cclf_beneficiaries - - -public.cclf_beneficiaries -     -[BASE TABLE] - -id     -[integer] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -file_id     -[integer] - -mbi     -[character(11)] - -beneficiary_id     -[integer] - -blue_button_id     -[text] - - - -public.cclf_files - - -public.cclf_files -     -[BASE TABLE] - -id     -[integer] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -cclf_num     -[integer] - -name     -[text] - -aco_cms_id     -[varchar(8)] - -timestamp     -[timestamp with time zone] - -performance_year     -[integer] - -import_status     -[text] - -type     -[smallint] - - - -public.cclf_beneficiaries:file_id->public.cclf_files:id - - -FOREIGN KEY (file_id) REFERENCES cclf_files(id) ON UPDATE RESTRICT ON DELETE RESTRICT - - - -public.job_keys - - -public.job_keys -     -[BASE TABLE] - -id     -[integer] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -job_id     -[integer] - -file_name     -[character(127)] - -resource_type     -[text] - -que_job_id     -[bigint] - - - -public.jobs - - -public.jobs -     -[BASE TABLE] - -id     -[integer] - -aco_id     -[uuid] - -request_url     -[text] - -status     -[text] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -job_count     -[integer] - -transaction_time     -[timestamp with time zone] - -priority     -[integer] - - - -public.jobs:aco_id->public.acos:uuid - - -FOREIGN KEY (aco_id) REFERENCES acos(uuid) - - - -public.suppression_files - - -public.suppression_files -     -[BASE TABLE] - -id     -[integer] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -name     -[text] - -timestamp     -[timestamp with time zone] - -import_status     -[text] - - - -public.suppressions - - -public.suppressions -     -[BASE TABLE] - -id     -[integer] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -source_code     -[varchar(5)] - -effective_dt     -[timestamp with time zone] - -pref_indicator     -[character(1)] - -samhsa_source_code     -[varchar(5)] - -samhsa_effective_dt     -[timestamp with time zone] - -samhsa_pref_indicator     -[character(1)] - -aco_cms_id     -[varchar(8)] - -beneficiary_link_key     -[integer] - -effective_date     -[timestamp with time zone] - -preference_indicator     -[character(1)] - -samhsa_effective_date     -[timestamp with time zone] - -samhsa_preference_indicator     -[character(1)] - -file_id     -[integer] - -blue_button_id     -[text] - -mbi     -[varchar(11)] - - - -public.alr - - -public.alr -     -[BASE TABLE] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -id     -[bigint] - -metakey     -[bigint] - -mbi     -[character(11)] - -hic     -[character(12)] - -firstname     -[varchar(30)] - -lastname     -[varchar(40)] - -sex     -[character(1)] - -dob     -[timestamp without time zone] - -dod     -[timestamp without time zone] - -keyvalue     -[bytea] - - - -public.alr_meta - - -public.alr_meta -     -[BASE TABLE] - -created_at     -[timestamp with time zone] - -updated_at     -[timestamp with time zone] - -id     -[bigint] - -aco     -[varchar(5)] - -timestp     -[timestamp with time zone] - - - -public.alr:metakey->public.alr_meta:id - - -FOREIGN KEY (metakey) REFERENCES alr_meta(id) ON UPDATE RESTRICT ON DELETE RESTRICT - - - From fcc8daf8fed499878f52786ddba17fa652d1541c Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Mon, 23 Sep 2024 15:21:53 -0400 Subject: [PATCH 09/14] revert shared_files --- shared_files/encrypted/api.yml | 62 +++++++ shared_files/encrypted/bfd-dev-test-cert.pem | 90 ++++++++++ shared_files/encrypted/bfd-dev-test-key.pem | 169 +++++++++++++++++++ shared_files/encrypted/local.env | 125 ++++++++++++++ 4 files changed, 446 insertions(+) create mode 100644 shared_files/encrypted/api.yml create mode 100644 shared_files/encrypted/bfd-dev-test-cert.pem create mode 100644 shared_files/encrypted/bfd-dev-test-key.pem create mode 100644 shared_files/encrypted/local.env diff --git a/shared_files/encrypted/api.yml b/shared_files/encrypted/api.yml new file mode 100644 index 000000000..3d3e3d568 --- /dev/null +++ b/shared_files/encrypted/api.yml @@ -0,0 +1,62 @@ +$ANSIBLE_VAULT;1.1;AES256 +31363637366330663431373665323636663534383035336434613932376661613566383834623764 +3566613534313163663930333461363435373531306639380a393834353130366265323334666562 +66386365313835643562356431633462646661386163623064643333646239316333613264383838 +6634363364306436610a336532656665383132313134653539366430366432376239643930626231 +35666334353839396361646339333239333365616339396463653363323931306132643665383361 +34373864656461393039643433636362386666643965353335316666383136626364653137656135 +39626131653266323531386564373730653666313362646436303266373766343337303365363137 +63613037653865306138323564303234613139323135643835643638336430316462643462613237 +38376235646462383633376131343430633763303038393966613435386365313566653565663934 +32336634316336343139633930333436633731333831623064363263376666333531623734373437 +33393830383231383064613634343866346333373163646436656464346232613938303335373765 +33313232366138393238303532383432613566393865316565376364373032356163343766623863 +37646238633366616361663938336366653863336262363964376236343332653034323435653765 +64643838363434366332613737313632643531613430643836343435636532623634386330366164 +63666631663266653362356535363762633761643032653138323065386338623833623161623238 +32353238396331613335336265303265303539303333323363666332343266383836643161656265 +38393238666632643237623939393332363636316636616331363335386538623432303864326662 +32373536313436366162656431636239323434353539633231643661396237623664643865313636 +31383038393065386239636465623066656231313239636361346131613765373932643463323435 +64333435346337333862393836396433336161363961656462353132653334393439306139353564 +39343362346336383861313666623135363633326636326439383639373237663633396464363536 +34393064366366646532363934383061333363376161356535333262653734326464653565313830 +34663932313066636234373237323462393438356135616532643430383531396636313337333035 +37343830383430313737613762323335343865303832393838613338306238663966666661376464 +33336232346130383432346463616166356334386461366332656162393938633763653332376563 +66663234393031666363346632656363663463646637633038373863353539383164383736663936 +64663462353337333266386430313837633639623135306461656465383630656136306638323133 +63313332633230333139316465306664666366326434653331656230666461663963303735636464 +62393964323831323065356666373233333437383639626536336263396265666262626236633866 +62313638323534376439336433306165623131343137343237343235353361393763333839356439 +65333233313463366330653961653135613732633638613261333765623137323465656339336439 +37646431613363363865373736646635373462383366383731333734646539653236323065333637 +36346634353563386163353438356565626435616638666233393733636432373231356637316362 +62633166383533343364616663346463356238633861353935393666616562396163366165646533 +32376236353961626362306136316666303034633538313864636435353064636338393737323432 +64653066353861383235386262626333666461393736393066306138636135333762323730376664 +30613637313734656363393366346263383965353137333331366436363636616565616632333738 +31326137313437643733303565613030363766383937663336636639383665646331646635393035 +35346230333531316339616530323032383135666534643233313531613563633337343361336166 +34376364663232373964656638613961633139323138386234333737323766363138633038326261 +31353834663832353238653366316564646237396665363339373864616264663339653263376366 +37303639393166313466366334386130623466643835336631623436303465376130636133353833 +61313532643063666234363930643961313164343934333232386230336437613662306633613635 +33363763363466383932633435333331343530393031356666336639393033336663656436636639 +31363065383931396334366536656532353364396134396630353766643338356463626266353131 +37623039333038313234633132613763316533643435613936623562336533383661393439643335 +65316462653165386435393830663637343838643730633638636639623333613465653637346434 +61376532613330396131643633396265386533343533656336383830653064643563656632383836 +33633832316331363362346236306139333663373933653934613334393734643866663863323436 +63346339616163393735636336383866663836623037613366383364313563393530383232376436 +39303631353232623864333764633438353435323336393432653833626239393738613561316535 +31626464323534623035323365303130386236656630303462626534623431663235353764376265 +66343162363437636464626639643431646235613233663633343063666137373730616266613637 +31626561616466393730343161356262613132353764326434323861626537313239613633323764 +32663633343534373030323465383363353036353536656561326330656437353036363666613561 +36646531383663326464636231623937366235373936303465633633376364303361636339313936 +37333339323733326530323163366335353764306666383532373063326639663336323030373365 +33666634396231323435343662636365383938616266653661656234386666323465376633353338 +63363238343764343965323661383866306563363838373266306136353331353935363261663466 +31636561376434343138363739633932326164663163623132363161306537623062663739636266 +3565 diff --git a/shared_files/encrypted/bfd-dev-test-cert.pem b/shared_files/encrypted/bfd-dev-test-cert.pem new file mode 100644 index 000000000..aaa141173 --- /dev/null +++ b/shared_files/encrypted/bfd-dev-test-cert.pem @@ -0,0 +1,90 @@ +$ANSIBLE_VAULT;1.1;AES256 +34656261333264306662366337316439356336396566626130323261336239653035353730646561 +3463366536363565386539626539346238313262656633660a656135616430356331303063623062 +62376132376337306461356461313363396562393165653837316563333136353666393435623631 +3735653139333438390a333639316664323439386536323836343034386131353133333635353933 +34373566316532353737656235653533356535323637623731626331373666346465303535366130 +33373066336535373837316566383733643166633136343639323861353330613436633432666661 +38343065613433333537393630643238636130396134303339623864363138316364663832323337 +62643063666330356166633361346265323431326334613836323632653262333233386664326234 +61633436333432663364623761376135616138376339396536373961336462313331343531666666 +35613766613939336161613962343665363533386434653062336532616432656364633238383336 +61353563323232613738393935323563663836316361353239613065356431636235656439616261 +38613334613265626336393236613362633335323861636563623738343938303537663563616439 +65353730633433663965646430613831626335636237353936393538326562666430623839373133 +62383337623637356535303637636338323662323633643332313430306334343831323330613432 +30353162323263346638666435653034336230363562626439336666353164323262626462343430 +38316638653264623262613932633362303263303937346434633264643133636635303332393432 +35303965353431646133643565326438373433663734323038313933626361393765663833653934 +32646165386338643165303939646630363535333233653636356232363636633764626334663334 +37643839646536376366336433613032323539323031306636643564376436333664333633623064 +62616531316661313761393035383564626463643765323935306263366538356632393038646130 +62306232613338626535636362643334306665386435663061663038353361646232623935323835 +61623864663962333333393036306637646639356533353939373531343762333766663430313739 +61376137633033386536356561393631633361346238353930363430376137333839346564666665 +35393730303639363164623937666162386537346434656531333064616431653563356533366465 +30626363356363616435616133393263633362396432343433663738343662366632616665373464 +35343561363465343335363237303865376333393564396664343831363134306338383333393664 +39353532303833393438306139373632346535333062313666646536386239313437353232653465 +31353963616663316563343662666466646634316261386333333833316334323561666237366333 +66316230646139313036643738636439386563646532643531636664613036356466383432313435 +33326134633935643332326233316432383837396438363934656136376361653063303864623965 +36386534346537333437316336303939613136383861343863333766666338393230396633656238 +63626566336635396632613764373530303236633761393835353736333835346531646562346636 +36343065623835623439353332376138656663333635623538636530616233323536383933313738 +38653832343366663238393162643265653936623936373831396236393635383566333532616539 +62313537633835663032623333626563393630326334313966333736313161646463653135383938 +62356462346530653265343164326132626165636439663565633435643832636262616134303035 +36353433383462643331633338623366383632613365363836323730353334363332323137326534 +65646234383536356535653133303137633131623536343639626537306336393033373862353661 +30646635633731343531636535323731656636386263636133353863363432633337383630653830 +63653237363230653263303961383064303337623039613932386438383237333036326232643839 +64323336343636653036663066626364303735333338343035656164383636393064623533313437 +62643162363966386463323734393238636633316166333464396264396131303931323334623463 +66623630633230313737666366663362653136383765363433646266333030636430363833363232 +33313731373862303931356662663563393336383062623332626335643161303333393464366137 +32326332366562653930663836303366323937643636643437333637383733663832653561346233 +36393130373538633031353138636462306439353165386266396265323630326661396462396336 +35323931336163666466626230653834306630333363653464633135653864343034336565366234 +37616365623330326632323932323963313537636161373163336636623865643636633266356430 +38653136323331633538373635343831366639313762313635646538633566303366313131623463 +65653161393166393633613963353233353031333266623761363930643262313530313864393332 +62663735326562376336336332383233376337623538323362326434316131626665643538333162 +35313939383236316162303633363237636163623537393238333465393433323437613837626333 +62653437313264303131383363396565623436353338666565653433303230393864363530636635 +33313866316466663464396465656633326635626530643934363764303863303738386663306434 +36333237336639313138366364663463623536383736353539326130646265633335386165366238 +34623839346161373963633830383366353335396536643666366663646539313533643338373865 +33343936393364383266346364306139326338396433626134303139343236663565656136663531 +38323762313232653030323038623230303636333061346462323761353935613838653062643439 +65613461663231366639663963663361333733326564373732376265303131366333363562613335 +31343363643234373736356162656238363062366133393861343562353564376433363931333833 +33623761376437326434316130633735316334383337303830653063663933386163306665336262 +38326430643830366163303965623933656264313830373935663163656364623331323739643333 +32623133613733306462623063386662333133353330313232306461333638343634333333626161 +65653132363339656438376439616433383330643664343166663261373061393061313662303964 +38303738356166393432393830336231303464633533333265356461363964393161313834366566 +63653931323766336662623062623538396661323362383737626666363965623936376438383963 +39396166666430333839313636373434646634616364646635336131613465316565373133373239 +63643765313238663339316639353330663365373632663362373265343835393664346133656534 +38373339396135383936616135316636656435376135656439313161343637313330373536363138 +38313035383437626430663238656230346132303933653635623832643932633566323833306539 +30636130623732346166643735313839333133653238313162666463383334363439376438326233 +63346235333237366137613130383330363362316630336631363537633837613566646237326130 +30323138383066363330323966643434616439313830616432333831636336343865613536353639 +62643739666635366432653865636135356633393533313732623164646430306136376662386632 +35346265336638393636353564656666333461386338323365356263653765633031333862613837 +65343666373534303164336137633830303535623030613939353034373034393033643639663563 +30623336656165636163313134386134653039636665383166656232653936346639646664653865 +36396433636332386134613935353833326532363565383364383937306461666439303633313762 +39633062386262373264333935326530343235306330353832643761306335633964386462353263 +64656231366164346565313966313263626135386137396431306638346661313030373038656463 +65633936646333376434376338396532303437386333383561333061636265336633623236653431 +38666530663663336266303831663563386335363138646532356539323733316338353133343565 +39313738386432393737656561643836336434666339623133306530386639396435616364626263 +35656630363732633136663138383236616164316337343336666338663933353139313364653261 +39393435653863376637353166376639636535393965376432643565613138663939303930646565 +35626337663236376239303233626564376338636238643265316333383136366238616161346138 +33626661356239393339366532383939646162326438313263316662383332376664346336376433 +38636332313963613065393836313735663932336162643938623130313863653532343635306437 +6134 diff --git a/shared_files/encrypted/bfd-dev-test-key.pem b/shared_files/encrypted/bfd-dev-test-key.pem new file mode 100644 index 000000000..8be4ec4e6 --- /dev/null +++ b/shared_files/encrypted/bfd-dev-test-key.pem @@ -0,0 +1,169 @@ +$ANSIBLE_VAULT;1.1;AES256 +63333538363738613534353437633439643831613965356532306432613436643934343134396163 +3433326432333439653461363731613330636635353434360a323530363631326533663362666563 +31316235346237373362353439333038346364306338636562386634633363616263626361353233 +6661616266373431390a623865313338623564346162333664393666306166356263626531626134 +35353838623332623636356266613062613462336430663362626238313261343831643962646536 +32353535333861393865303237613364663436326263316365373037336532356633626236666338 +32663132353132623336346330613661626562643830613034346130306234326333363064626563 +61383666613535333437363438306434333938666632353836336561653537626432306432656336 +36643565643633633963666435663630346364353637313732393231316232333461393235373561 +36306262626564646331323061616332383830653731346535396336623934333631653133393662 +32616365313735393332373839303738643632656264636332656436376137363039353734303264 +66303562303338613536313537366137383032633665383232373036316163623235383532626538 +33383338373330353932376666656433393638333230356132643763323730613330623633386164 +66393039373136336565313566393336333834636665613764303131343732663466653431666433 +62396337336131633537316136396531653633653637346233356264313839643965613035656361 +64386238373063363533656366303265383165623934633230633764333230666462356363323365 +61656562343931613034396466646365333962303031356530383965656539376636346365323139 +30306632626333383262396635616439353539613863616135633737636261393831353764303330 +30383833663835343865353330313064363666616231346431666436396235633164633335633830 +31363965386561316137353765323031633830313031636564666639613337363239333536653862 +34316631666634393638363633623864636337396264326166346136333137313861336265313630 +33326231646532353935326130313934306130646633653732613365633466333763653064623661 +36306662616133323033626137643437336238646631326136363336613234326337616166363138 +38613261373235316662646330643434336261343861303835333663616533316534353464353362 +34356230353239316431393666666361633162316161336339303036626335396236353262386138 +63336132616238336439626163303935666461333330393031343237373263643836363737306465 +39626333323936383365363761646432663066613032623237623839363764353538663633656233 +64303636316463393535363361333231666562633631363866333039386436356532353165653565 +31356664353635336330346633343130323936626230663335623530386364383163383735636561 +34656437396131666532643032616161313462343262333665666230333332366133306330636235 +37636233353833663630316639336466353566356363373635616130323466643137363061356232 +37346463323130616239623234346564356661626565643531623831306639646636646163643136 +62386262633263393964623266363263656163303665666662356231323831613462386463346434 +66383539323463323634383832313433623333316633636266616239666431623161393665366366 +33363136663863313763636166313833646633636664353061366161333837643866633865393262 +63323537666436343235613935663637303632343733633631313839333935383366656234373839 +30383932326533393635323730323766323434356332356232646136373266666130386264326565 +64333432303137383833333535303933653934383761333030303838386532336662626332303838 +38393939613830646433623965363239326539393166353163333937613265653161386530303830 +36383834383566316665336665303534363561386237323035653765363164643963306635313764 +33366539396666623931383562616633613136623238316234613132333730646262666264613362 +63333964346439346231383238613031663035656266366233646563653465376137613462646234 +62613061643838333661653636346136313165363538656137643437383066386536643965663934 +30613566383534396162326638353237656130323930633262306639343866643030376333303438 +38613962353430653165353838313863316232326139356561353337626336356636383265396563 +61643538633766363333643731373339376662666631353938313635633037633830346665316630 +36303838663366646233633739393435373835363632663831393834303664343163383234613635 +36666164373362393562356634323562393064363135626636633737363034323764393635326234 +38323933303732626632643730343134313934656462313633646132386235646531373831363230 +31353430323338623562613764336537623062343864383431666166396132646135613133393164 +66393336646565346134366434383466633934396639613532306232346333613664396263356532 +63353362343138333366653635306236626635363137656661333234653666363264613166323239 +61616332643734383938646132633334383761363133646333343734333035383836396637313561 +63303235393763643835383335353337343465393738313266326265373834663934333165326264 +32326661643038366636303830326336346135336366623266323262333235323839633362363134 +35303530663066343064353833383366323531383761386365666266376135373363613137623531 +35306439643666633631643034376361333661653438373266656631333562346236636364383262 +35376661643565373737326232316466656434306265343137613565303564373563643734633863 +36376265343062656366343634643664653034666636343363316631353739383631386536383863 +62353463383830633938646262393262633462333830666130343631633236633663306537303237 +37313039306438343231303665313034306361363230336230626435613561643835656463353136 +63323737383034663334333133353134613434653166376632326630373933303233346138633634 +35616533343765336264393262306163653339646236366165623534646264653436353261363563 +33656430613836393339313031363764306463326238613665656264333533663262363265353037 +61346130663239633535303837636433326237383033373762636264353631646236386238666635 +30633230616235353035653038633962343363353264623765393764633039363832626335656538 +36383930613466393863306365303333643961306332393731363431643139363231373632316133 +30666666656564376364333134396633623138616534383938323131353539323763306137646338 +66303532633235343639393732373465373266386637633262373231643666316464363563376331 +66313462356135316136363966353061353164666462343930316665363432343339333931323837 +30393230393539393932663739303531303636393063313064626263653933633965643639663965 +65386465316464316134643961623662313039346439376232393833643636343338313738393139 +33346534663365616465393937633335663263313832333563616262636434333836313030303736 +38386535623632333638383836653532636136616535396664366562393464313637383230353863 +33626435383538333531323035343135303363333232326138323635336164383339346665376532 +64316262303239623633376664626134396639613639636461353132666339303334393231383539 +61643130303166316333303933383534363334383662303837666435646538663065633638633436 +64613236613965346436343963346365633365663039366662616337346366396537666432396430 +62353634633965303538363631626639373337663865376138653962636561313731363939396666 +34363335623035653333656165383432643265363266643362653832393730386130383138396163 +34356639663861333363376337623664303530643762633338343437333839363531303563303363 +65656337313161663466363963356138383937396163306334313137633161666532616538396535 +39623963396166346232633639333330373032353961363036333839313162663432666532633762 +63383765386334323166386464653032353337376339626335653934643363643738336235376661 +36333733353366353037663664653133376539313238383532396237363962626466646461343366 +30333663623362323136303039633663313264623666626136663765326635393232613431666135 +61363061303562663036333934363432356663333563633535326436363965343635663963386534 +61376531366134623339356135343333616231626436656263393261656161373265663961356562 +31353664643036356537396634646334633939376239393466326532383038303263623363636636 +30633063633737623239356534363931306633323530366131366561396637623066393630326534 +31326437373839656536326663383363353364303463326232666134306164313566633764336134 +65303839663036626339653633376465623236626661653532633435313737346135346539333066 +33396438383234623338376232383437316262646539636364643830353362643630666136336463 +65303730323431363435316433626265666535633263623962663431663737393061373463373936 +65623935333531393532623333626464376463633031663932343164616138643833633431323936 +30383135633934393139646438623664653766393537663036373566643735366334383133373333 +66336366323166303730306662393039353731666430363537313763306565616137386634393235 +34383734323164376565333432396266373333613337333766386161383931356262323563356563 +31326433613032313834323135306438353862366535383439656131313234373432386433386131 +32336564626238616534613132653033313532356236656636386337323561656138313562633633 +66326130353464373266643938363664623032653136643061613564636638343064383333396234 +30393666393336623935303532303664383333663036383465656230666130626133313864653538 +64366665356565616437613937343234353365653036393535626662383861336536653964626364 +38393339616665363438376131633834636534656137333535653038393236353334626363666662 +31396335653639636466626531376561666332343765353032633464313262306266663266373835 +37343339323831383062383261373735636631306265346130613165303739326239343832386534 +64663662346561346563656534323632363363333833663631363564326363383131303237326637 +65373034616361656138346636323665656130306333303862373665643230316365616361363066 +63366230373337333438383031383263633461636332626237343735336462373033376430326461 +37353435613435306665303738306336623062623061373538396463643061333637646630663939 +66373739323336353933336132623831663939323862653930363733616334356630636531383730 +61373631393633396232303530393730616664346332326365343730373961313237633832613036 +31353764363937353132393036646330303333633363623331363432323665353130396563343330 +39393233366563613864353239303138333333353339646463613238356439616437313466316434 +64353837316165636439616662633631663765623663323831306463646461653533633436363861 +66653064323065323737313135643065623466313039653131396137623737306336623039353138 +30633533376563343166323738333263623239356337663465356663383066323866326335333231 +37376364633361363364616437323565393338363336373939383232383231346636633935633731 +61373666663864383865396139343533303238666132323934663438393064643737313465323063 +66356365656465393866366462613065326637333638323630663932316438363339633330356363 +30386166383232383232633965363132663561616362653666393233383161633831343531306363 +63326163343133326635663338376437666538663733613937663136373933393036353334653865 +63666634613139366335386434646635383866666235373765653839353866333164343336616634 +35643063313535353063613030306162323435313638323337626131643235366135653062616533 +32383966313962386435386163393431623264343062363630633737353438653834633161626663 +62633335393331396464613538623038636664643131363133366235306533313161613436643636 +38663139663431653137336539363936333935363934656336646230336162306566346464623034 +39386563303631656465396337653962653262646463323031353765383938613632356138663962 +65323463613630643338373338623334333036663762663661373931386137323533306133393333 +34356237636630616439653438393630383835396134353366623039633266616232653336363130 +36343137363531393235643930656639643131396164343031343439653761623632346232356361 +34613166303839326135663931363236373563393936626166663830313465353035356432363061 +61313830666436663834646163313736343938643862653766353462363535393061626362663837 +30636330633732613037346461346131353433643633663631653666633663663261316264656566 +33393334376134653736623034343765623434396463383939393731346238656431613462386663 +31613861346233303335646265646538323766303666663564333534313866613335346664366661 +33323339663532373336313235356432343466343337346266643034663734343232353231393964 +39373966663436353163643432366434303833643866373262393930313766623631633630363865 +62343637353231343333346335616265383635346262383630396432643639396533623866373938 +66393466383135303633393237316230323663643539663330313261393065343537653564343239 +34633833393639366130373635616562663538393930643232323166363131613639363530643265 +63623566666337306338323436633632326633646661613032353133363462623761363436343665 +35363933636132316632313636623136336437373866373761323636366665393539643334646436 +65386461373466646161333538393836353338613134336136336664626134323137393431383034 +31656539626461663230333564663137373361383630376331643630613534633932326533366633 +31616566353738366139666562646238643337336435643736333261643236323766643462656162 +65356361626231326636666661653935613739303334393537353562326230616533616331346330 +65613439363133623062633563643636613234366636666434656237643063373263373365313734 +64373864363363653066623631366465663536363234343634663663626362656438653564636536 +64363030383738366561633630363038663438373537643961396534313038643965346536663238 +34393435396366333736363830383733656636653764373232653134353636343834626161366635 +62356132343866313963306633613733303865656535633866623533373365663239303239333635 +34333161383439326364626233313333383532366139646635613663616166663133656165383863 +34626364663763366666663438306532613833383162303766653162306437323532313438653932 +37666637346266346463396162373433636166343032313735656634356165323337666361333864 +66386331663961616130656634306664386163663064653464393438333266343535633839633833 +33393834613961323261633930323235303764383266663235323666373636336531623533396535 +62376530626138306365653264373932626438323939643739346162623361663535616339313539 +37366363363465643136363363633437373634656535363064316562623830666134663339663964 +63636162663166326634356332333236653732303430356430616539373264316131646439303935 +33303564326166326661623561383539363730653839336235313539386334326132363164633036 +31303730316635303539626233316632346336303737316539306139383063303064623632613666 +63363233343666666438396662613338613463633864653162636430346535393563333430313933 +63356464636136623536663662623336623564643362393030366434613232303363346362623933 +62336464303335663636613330663263336361336130363637323431656639656434373739326432 +65346233316262333733386233373838366565656538363764633562356264643837323064636162 +66653333323834346137646133643339363862303437353964343561653763633463333761353936 +63373033376130616461 diff --git a/shared_files/encrypted/local.env b/shared_files/encrypted/local.env new file mode 100644 index 000000000..ef6ad61f2 --- /dev/null +++ b/shared_files/encrypted/local.env @@ -0,0 +1,125 @@ +$ANSIBLE_VAULT;1.1;AES256 +31366265396239613265333862353437663138626531373136316531306132663339643362373430 +3461623462353464666662643036656365633837666339660a666665663436363735643632636535 +37323637633062653465366239313630616131393632653961633430393064373536366262333232 +3931626665396638380a633838313363363465313236656261653366633266666238653633653431 +39613236646434333962343937343130623161396464366565336631666162333564383666663663 +61646266376462633734323535346663333664386636663431656133333834303963383461356537 +61623837613061323631666435643734666135363734643436366630346363346439326135623862 +32363535353639646366656230636436626336636139393966613663363430313861376661313336 +66626566353735303261633666613831383931346562323735613133633965653332626231303132 +36383535613661663335303963313336616262373063313665666236326165383939326132363962 +66356237303236646162336632626363383932376166363963323738663233393361643264356166 +30303861323137303563656164386236336164373735323536613962363436363234376165653334 +33626337306138663233653836666239343035623661666465663162393737646539373238313135 +31366530313036396465613766653236653336363865623664363265333162643361343863303539 +61346630393765343063386537623639383339313831643865393361346537653336633631333362 +61633137303265313334303636386365396539616162303961613833316466363363373737333232 +65663061613339393362373333656663353336393637383631303935346231353331373437343439 +33393434313466656562353663333664656166623234343530613265373234656439393933363735 +63653236613536363031396533306332613232383838336530306635386232363237396232626161 +30363962636361363262326137343030373564666332633866336230346636626463346565666430 +64373432343836346562303666346338393866343431616134636236346464383337333435653562 +66396365333562316338303666396530646333653237366665666231323534643732656337613933 +32356161313533643339333736353264613963653837663530326434636666306235623536363961 +36363735303831303935643863653133363936383563376463333731376233343861363631306338 +39373432663865663766646462653764653633356466376663306239386166616335326363666135 +37663530346633353366363662663362323835623039623137643161306439313039393536323930 +63326638356639316138373035623964313330626533616636633930303437376464663337363064 +34396439383337323739326235353931373935373235326662333338666536303031633434316461 +64356565303834646133623166336535393536393039326135666631636131353464366136303063 +66363334663863343264303066303435646237663139366135343237373266616133343261363039 +35636166666630383837333834623964313065373030343666353731356464633439653633363835 +39623230353864353261323038343966363238333433323938323465636534356337646535663130 +39326163626130356431333234643737333835303566646438393839643533346462623830343439 +63373037373338633838393463636161656662336536376664336334393162316531313563366564 +38373462643638336262346532356263643263323630363438356633393462383033313330656161 +37316232303735663832333462626637333234643730626233326438626339366130353430373434 +31346131666434633865386433306363656537313738383265663633376232393536333665666266 +34386465626633303565316539313135373033303262393561393961303638363561336634373730 +65626563396534613761653463303139396264653935393238373262656431396630373636663361 +37383230616665306339303832613339646632386337663664333837616238663534376530643035 +65393965383662623135326162323530333261383835323632343133633962323966333765666636 +66366532623138326563303933666139623463613835366664353232396533386535353864326332 +61643734633361353130386533353030373832373564316563663538303139303531366534616137 +35613437663166323863343135376239373137333330366135623437353362653337346564353733 +65383635393438613265623434666663656333316135643563373030373131353432356662383866 +33363365623863396366623837366162326232303133333436333135366561666436323234323866 +65313062623533663635303031316561633135386230313432336435316465666165353631333133 +61616533613361303237396562343031376265353734656334393932303265326363316638393333 +61626430646531646436313264613938633564646366636663326531663430333330626135623431 +31393035646163303262646334333262633435356531623736326134373032323237353938373036 +65383361306436383330376432373834343734663164366532303033656162636636303762373937 +35623936646634356465303263333663656438613061363934373962663363643533656665306431 +39343166326637343361626561356430633666303365373939613137323864636537346634396561 +32646432353333613762663265333863643631383762646133313638386438393164633135336432 +64363534353832396430326262393135313133303434383538356662363638656664643936666466 +64346466646434356666316164333564386465656461616632373365303664393039356432656561 +63373738353161653234316364323637376261616232326632646566376335316466616237313534 +64643531373662346339323534643863393833346530623732633532633536323732643935343239 +34306633613135333336666433393361323931653566666462373933363165646335653733376131 +33393938346637653732343330336234653132626538376339333762343135393733623866656265 +32366430666531623136623763303263373039346539343435346434386462663766613765373231 +36333466353232303536643537393134313131666234323733636565323265396638336663343636 +32363839646639316536666363336236373039373962336530393336313064386463316661626539 +32343065376336646536666432373439343535353763623163313934663162373636303636623563 +35636666376566373432373062373039646532636461346632646434373462623461636133353062 +63363131646536666330376230393039353531346332633137336161353334653839326431303066 +30643834326633656135376337363635356163636133653066393461303733663762626232383762 +37643632346263623630303236303463633232316162336563386362633632643731363864373534 +37383932363037373164633533346331393139396130306539303061333364323965633864363662 +63316666323231336231303834323231353139383266653936336266313636356637363332643532 +65303366643638373331616663363833646436666133616362323666313063626165656365616337 +35313261363837313833616532326333343261336433386365373439323837303061316463373939 +30396536623862656634623932623632623963613939343566363631656433393263346634313035 +39333433313136623934616135663231326161643337376531656337306238336664373733643565 +39323439633361613435666137313965646265633733343331346566396539643032353962316463 +63313837386131313565376430303435613161353835346239363161633938313139393863656462 +31383832623635626563623331653731626363353663303565376530393534646531333837323238 +65613634333436633963333238396461393664353936343834396332383235316332386633623534 +33353136333439383939353261343230373462623334623431336237363765646365303139393037 +66623064613932356361306466363761653236396563383064353731356239646532373232643765 +37653865356262653863363765653038393631653766646665626464353833383237336665643334 +62653336353863323731323232396563633437356633323839653665393138613364373639613665 +38656633633366303263386538353566613765323439366362633337653737643966623863343166 +30666163353331353761343737376531653639616138303063303336613764313332313366666161 +64343964663832626635626237323231623835306663336136663836366564616135663437386266 +37386461633039386232623339333435313435393031633838393166383664346632636537393636 +38323865383633333031653035366430656264303463313730353765653636653231343336636632 +63323333346135366466656365313463316661623765393036316462613463303939386464333432 +36646532326635616366336632303965303163356433646134626562613965383832663564383636 +61323132386435373664363530613164393165613439356631343136663266326563393261633164 +32396662643361346566356661343338393334643466373361383838636665663030363733363034 +30326635306366313836303536373433373531356430343866396465383064353064626132623332 +39663263353661323662346138653866666266653431393737626436666236386336646231323736 +35333764316134313863663162376536363564373332333934663134306437666163303732363035 +36316165626136633639663162653161313461623564663363326432623433653739376232663461 +30323666623932316663633933613432353132656535653434393964383237333363666638623364 +34333732663238386164323733646464653465313635333734323365353565353861646634666134 +38653433646438656165313935363866623734326362636436366336303264653265313434636137 +38393832393034623863653164373738303136663864626330396139386630646136326334386262 +63626438653732303839333339663438303333663462303239306631326232626265303433393261 +39626637613861653132343963353330326464636232623930666230643037623030353634633233 +35666231386231353338663131336562356438663835393863326436356463653133343162363932 +61396265363836613563643935376663323666633561663431646632343964633237636261316363 +33643930323131343133333237623361393536623533663366623437306662303663613037313130 +65346437383335393862353239396362343435323030633536373865373336383239323139653337 +64613861393266666337623762626364333132336362356566363364666266656537333263656362 +39623334373631343863396566343638666161373237373233343135313961396539396539616262 +34373932343963633736333362636463636366663135633139373862646332613034383431333566 +35323865343533623461613937343930666438316634623964616564613831646162616130343431 +61343334336161323835363534343762386436653865383965646434383434626231663534626435 +63396231346363313231326538366635626230383631616238646330316532636362303164386131 +30643839306337373734383632633430653061393066636662633765623037643963343066623436 +66323039653930666332666331303965343234356163326264393435393633613063376433613634 +66643133636665656166666161653030396262376230366434363733613035663036393563376465 +35356265636331353237343039313065656165346232303739343037656536393764323765393265 +30363332303563663662656634613934306362363532623135383430366532383139643637306435 +37356138383239663563623037666365643062613637643332336239623437363336393062663534 +64626564656364313066316639353662333962353736353134653464653634613839366465393164 +66333562346130613664306466346564643239333138363962656134623739376266623130623730 +35393461623761646233613465366661623031353565653033623835616239623835353531346230 +30323364326339316333613032366130666139636338383031643734623761303237356465626362 +30663666623732656437626434366430343731333239353562613134323564626562303266656130 +39653139396561663961316432633562323031376135643737303033363236636238333861373935 +39373831613732303662 From 9fb9812736fcc1555e10d067b4e5826aac40f770 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Tue, 24 Sep 2024 12:37:14 -0400 Subject: [PATCH 10/14] cleanup --- .github/workflows/dbdocs.yml | 13 +++++++------ Makefile | 9 ++++++--- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index c825297ca..421f17bdc 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -28,15 +28,16 @@ jobs: mv -fv shared_files/encrypted/* shared_files/decrypted/ - name: Start DB - run: make start-db + run: make reset-db - - name: Generate docs - run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc --rm-dist "postgres://postgres:toor@db:5432/bcda?sslmode=disable" dbdocs/bcda - - - name: Generate docs - run: docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc "postgres://postgres:toor@queue:5432/bcda_queue?sslmode=disable" dbdocs/bcda_queue + - name: Generate DB docs + run: make dbdocs - uses: EndBug/add-and-commit@v9 with: message: "Generate dbdocs" default_author: github_actions + + - name: Cleanup secrets + if: always() + run: rm -r shared_files/decrypted diff --git a/Makefile b/Makefile index ce75887c9..6c735614b 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ test: $(MAKE) postman env=local maintenanceMode="" $(MAKE) smoke-test env=local maintenanceMode="" -start-db: +reset-db: # Rebuild the databases to ensure that we're starting in a fresh state docker compose -f docker-compose.yml rm -fsv db queue @@ -106,7 +106,7 @@ start-db: docker run --rm -v ${PWD}/db/migrations:/migrations --network bcda-app-net migrate/migrate -path=/migrations/bcda/ -database 'postgres://postgres:toor@db:5432/bcda?sslmode=disable&x-migrations-table=schema_migrations_bcda' up docker run --rm -v ${PWD}/db/migrations:/migrations --network bcda-app-net migrate/migrate -path=/migrations/bcda_queue/ -database 'postgres://postgres:toor@queue:5432/bcda_queue?sslmode=disable&x-migrations-table=schema_migrations_bcda_queue' up -load-fixtures: start-db +load-fixtures: reset-db docker compose run db psql -v ON_ERROR_STOP=1 "postgres://postgres:toor@db:5432/bcda?sslmode=disable" -f /var/db/fixtures.sql $(MAKE) load-synthetic-cclf-data $(MAKE) load-synthetic-suppression-data @@ -190,7 +190,7 @@ bdt: -e SECRET='${CLIENT_SECRET}' \ bdt -.PHONY: api-shell debug-api debug-worker docker-bootstrap docker-build lint load-fixtures load-fixtures-ssas load-synthetic-cclf-data load-synthetic-suppression-data package performance-test postman release smoke-test test unit-test worker-shell bdt unit-test-db unit-test-db-snapshot +.PHONY: api-shell debug-api debug-worker docker-bootstrap docker-build lint load-fixtures load-fixtures-ssas load-synthetic-cclf-data load-synthetic-suppression-data package performance-test postman release smoke-test test unit-test worker-shell bdt unit-test-db unit-test-db-snapshot reset-db dbdocs documentation: docker compose up --build documentation @@ -202,6 +202,9 @@ credentials: # For example: ACO_CMS_ID=A9993 make credentials @docker compose run --rm api sh -c 'bcda reset-client-credentials --cms-id $(ACO_CMS_ID)'|tail -n2 +dbdocs: + docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc --rm-dist "postgres://postgres:toor@db:5432/bcda?sslmode=disable" dbdocs/bcda + docker run --rm -v $PWD:/work -w /work --network bcda-app-net ghcr.io/k1low/tbls doc --force "postgres://postgres:toor@queue:5432/bcda_queue?sslmode=disable" dbdocs/bcda_queue # ==== Lambda ==== From 56e52af41338c59756f323f6054545f6dbae37ce Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 16:37:51 +0000 Subject: [PATCH 11/14] Generate dbdocs --- shared_files/encrypted/api.yml | 62 ------- shared_files/encrypted/bfd-dev-test-cert.pem | 90 ---------- shared_files/encrypted/bfd-dev-test-key.pem | 169 ------------------- shared_files/encrypted/local.env | 125 -------------- 4 files changed, 446 deletions(-) delete mode 100644 shared_files/encrypted/api.yml delete mode 100644 shared_files/encrypted/bfd-dev-test-cert.pem delete mode 100644 shared_files/encrypted/bfd-dev-test-key.pem delete mode 100644 shared_files/encrypted/local.env diff --git a/shared_files/encrypted/api.yml b/shared_files/encrypted/api.yml deleted file mode 100644 index 3d3e3d568..000000000 --- a/shared_files/encrypted/api.yml +++ /dev/null @@ -1,62 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -31363637366330663431373665323636663534383035336434613932376661613566383834623764 -3566613534313163663930333461363435373531306639380a393834353130366265323334666562 -66386365313835643562356431633462646661386163623064643333646239316333613264383838 -6634363364306436610a336532656665383132313134653539366430366432376239643930626231 -35666334353839396361646339333239333365616339396463653363323931306132643665383361 -34373864656461393039643433636362386666643965353335316666383136626364653137656135 -39626131653266323531386564373730653666313362646436303266373766343337303365363137 -63613037653865306138323564303234613139323135643835643638336430316462643462613237 -38376235646462383633376131343430633763303038393966613435386365313566653565663934 -32336634316336343139633930333436633731333831623064363263376666333531623734373437 -33393830383231383064613634343866346333373163646436656464346232613938303335373765 -33313232366138393238303532383432613566393865316565376364373032356163343766623863 -37646238633366616361663938336366653863336262363964376236343332653034323435653765 -64643838363434366332613737313632643531613430643836343435636532623634386330366164 -63666631663266653362356535363762633761643032653138323065386338623833623161623238 -32353238396331613335336265303265303539303333323363666332343266383836643161656265 -38393238666632643237623939393332363636316636616331363335386538623432303864326662 -32373536313436366162656431636239323434353539633231643661396237623664643865313636 -31383038393065386239636465623066656231313239636361346131613765373932643463323435 -64333435346337333862393836396433336161363961656462353132653334393439306139353564 -39343362346336383861313666623135363633326636326439383639373237663633396464363536 -34393064366366646532363934383061333363376161356535333262653734326464653565313830 -34663932313066636234373237323462393438356135616532643430383531396636313337333035 -37343830383430313737613762323335343865303832393838613338306238663966666661376464 -33336232346130383432346463616166356334386461366332656162393938633763653332376563 -66663234393031666363346632656363663463646637633038373863353539383164383736663936 -64663462353337333266386430313837633639623135306461656465383630656136306638323133 -63313332633230333139316465306664666366326434653331656230666461663963303735636464 -62393964323831323065356666373233333437383639626536336263396265666262626236633866 -62313638323534376439336433306165623131343137343237343235353361393763333839356439 -65333233313463366330653961653135613732633638613261333765623137323465656339336439 -37646431613363363865373736646635373462383366383731333734646539653236323065333637 -36346634353563386163353438356565626435616638666233393733636432373231356637316362 -62633166383533343364616663346463356238633861353935393666616562396163366165646533 -32376236353961626362306136316666303034633538313864636435353064636338393737323432 -64653066353861383235386262626333666461393736393066306138636135333762323730376664 -30613637313734656363393366346263383965353137333331366436363636616565616632333738 -31326137313437643733303565613030363766383937663336636639383665646331646635393035 -35346230333531316339616530323032383135666534643233313531613563633337343361336166 -34376364663232373964656638613961633139323138386234333737323766363138633038326261 -31353834663832353238653366316564646237396665363339373864616264663339653263376366 -37303639393166313466366334386130623466643835336631623436303465376130636133353833 -61313532643063666234363930643961313164343934333232386230336437613662306633613635 -33363763363466383932633435333331343530393031356666336639393033336663656436636639 -31363065383931396334366536656532353364396134396630353766643338356463626266353131 -37623039333038313234633132613763316533643435613936623562336533383661393439643335 -65316462653165386435393830663637343838643730633638636639623333613465653637346434 -61376532613330396131643633396265386533343533656336383830653064643563656632383836 -33633832316331363362346236306139333663373933653934613334393734643866663863323436 -63346339616163393735636336383866663836623037613366383364313563393530383232376436 -39303631353232623864333764633438353435323336393432653833626239393738613561316535 -31626464323534623035323365303130386236656630303462626534623431663235353764376265 -66343162363437636464626639643431646235613233663633343063666137373730616266613637 -31626561616466393730343161356262613132353764326434323861626537313239613633323764 -32663633343534373030323465383363353036353536656561326330656437353036363666613561 -36646531383663326464636231623937366235373936303465633633376364303361636339313936 -37333339323733326530323163366335353764306666383532373063326639663336323030373365 -33666634396231323435343662636365383938616266653661656234386666323465376633353338 -63363238343764343965323661383866306563363838373266306136353331353935363261663466 -31636561376434343138363739633932326164663163623132363161306537623062663739636266 -3565 diff --git a/shared_files/encrypted/bfd-dev-test-cert.pem b/shared_files/encrypted/bfd-dev-test-cert.pem deleted file mode 100644 index aaa141173..000000000 --- a/shared_files/encrypted/bfd-dev-test-cert.pem +++ /dev/null @@ -1,90 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -34656261333264306662366337316439356336396566626130323261336239653035353730646561 -3463366536363565386539626539346238313262656633660a656135616430356331303063623062 -62376132376337306461356461313363396562393165653837316563333136353666393435623631 -3735653139333438390a333639316664323439386536323836343034386131353133333635353933 -34373566316532353737656235653533356535323637623731626331373666346465303535366130 -33373066336535373837316566383733643166633136343639323861353330613436633432666661 -38343065613433333537393630643238636130396134303339623864363138316364663832323337 -62643063666330356166633361346265323431326334613836323632653262333233386664326234 -61633436333432663364623761376135616138376339396536373961336462313331343531666666 -35613766613939336161613962343665363533386434653062336532616432656364633238383336 -61353563323232613738393935323563663836316361353239613065356431636235656439616261 -38613334613265626336393236613362633335323861636563623738343938303537663563616439 -65353730633433663965646430613831626335636237353936393538326562666430623839373133 -62383337623637356535303637636338323662323633643332313430306334343831323330613432 -30353162323263346638666435653034336230363562626439336666353164323262626462343430 -38316638653264623262613932633362303263303937346434633264643133636635303332393432 -35303965353431646133643565326438373433663734323038313933626361393765663833653934 -32646165386338643165303939646630363535333233653636356232363636633764626334663334 -37643839646536376366336433613032323539323031306636643564376436333664333633623064 -62616531316661313761393035383564626463643765323935306263366538356632393038646130 -62306232613338626535636362643334306665386435663061663038353361646232623935323835 -61623864663962333333393036306637646639356533353939373531343762333766663430313739 -61376137633033386536356561393631633361346238353930363430376137333839346564666665 -35393730303639363164623937666162386537346434656531333064616431653563356533366465 -30626363356363616435616133393263633362396432343433663738343662366632616665373464 -35343561363465343335363237303865376333393564396664343831363134306338383333393664 -39353532303833393438306139373632346535333062313666646536386239313437353232653465 -31353963616663316563343662666466646634316261386333333833316334323561666237366333 -66316230646139313036643738636439386563646532643531636664613036356466383432313435 -33326134633935643332326233316432383837396438363934656136376361653063303864623965 -36386534346537333437316336303939613136383861343863333766666338393230396633656238 -63626566336635396632613764373530303236633761393835353736333835346531646562346636 -36343065623835623439353332376138656663333635623538636530616233323536383933313738 -38653832343366663238393162643265653936623936373831396236393635383566333532616539 -62313537633835663032623333626563393630326334313966333736313161646463653135383938 -62356462346530653265343164326132626165636439663565633435643832636262616134303035 -36353433383462643331633338623366383632613365363836323730353334363332323137326534 -65646234383536356535653133303137633131623536343639626537306336393033373862353661 -30646635633731343531636535323731656636386263636133353863363432633337383630653830 -63653237363230653263303961383064303337623039613932386438383237333036326232643839 -64323336343636653036663066626364303735333338343035656164383636393064623533313437 -62643162363966386463323734393238636633316166333464396264396131303931323334623463 -66623630633230313737666366663362653136383765363433646266333030636430363833363232 -33313731373862303931356662663563393336383062623332626335643161303333393464366137 -32326332366562653930663836303366323937643636643437333637383733663832653561346233 -36393130373538633031353138636462306439353165386266396265323630326661396462396336 -35323931336163666466626230653834306630333363653464633135653864343034336565366234 -37616365623330326632323932323963313537636161373163336636623865643636633266356430 -38653136323331633538373635343831366639313762313635646538633566303366313131623463 -65653161393166393633613963353233353031333266623761363930643262313530313864393332 -62663735326562376336336332383233376337623538323362326434316131626665643538333162 -35313939383236316162303633363237636163623537393238333465393433323437613837626333 -62653437313264303131383363396565623436353338666565653433303230393864363530636635 -33313866316466663464396465656633326635626530643934363764303863303738386663306434 -36333237336639313138366364663463623536383736353539326130646265633335386165366238 -34623839346161373963633830383366353335396536643666366663646539313533643338373865 -33343936393364383266346364306139326338396433626134303139343236663565656136663531 -38323762313232653030323038623230303636333061346462323761353935613838653062643439 -65613461663231366639663963663361333733326564373732376265303131366333363562613335 -31343363643234373736356162656238363062366133393861343562353564376433363931333833 -33623761376437326434316130633735316334383337303830653063663933386163306665336262 -38326430643830366163303965623933656264313830373935663163656364623331323739643333 -32623133613733306462623063386662333133353330313232306461333638343634333333626161 -65653132363339656438376439616433383330643664343166663261373061393061313662303964 -38303738356166393432393830336231303464633533333265356461363964393161313834366566 -63653931323766336662623062623538396661323362383737626666363965623936376438383963 -39396166666430333839313636373434646634616364646635336131613465316565373133373239 -63643765313238663339316639353330663365373632663362373265343835393664346133656534 -38373339396135383936616135316636656435376135656439313161343637313330373536363138 -38313035383437626430663238656230346132303933653635623832643932633566323833306539 -30636130623732346166643735313839333133653238313162666463383334363439376438326233 -63346235333237366137613130383330363362316630336631363537633837613566646237326130 -30323138383066363330323966643434616439313830616432333831636336343865613536353639 -62643739666635366432653865636135356633393533313732623164646430306136376662386632 -35346265336638393636353564656666333461386338323365356263653765633031333862613837 -65343666373534303164336137633830303535623030613939353034373034393033643639663563 -30623336656165636163313134386134653039636665383166656232653936346639646664653865 -36396433636332386134613935353833326532363565383364383937306461666439303633313762 -39633062386262373264333935326530343235306330353832643761306335633964386462353263 -64656231366164346565313966313263626135386137396431306638346661313030373038656463 -65633936646333376434376338396532303437386333383561333061636265336633623236653431 -38666530663663336266303831663563386335363138646532356539323733316338353133343565 -39313738386432393737656561643836336434666339623133306530386639396435616364626263 -35656630363732633136663138383236616164316337343336666338663933353139313364653261 -39393435653863376637353166376639636535393965376432643565613138663939303930646565 -35626337663236376239303233626564376338636238643265316333383136366238616161346138 -33626661356239393339366532383939646162326438313263316662383332376664346336376433 -38636332313963613065393836313735663932336162643938623130313863653532343635306437 -6134 diff --git a/shared_files/encrypted/bfd-dev-test-key.pem b/shared_files/encrypted/bfd-dev-test-key.pem deleted file mode 100644 index 8be4ec4e6..000000000 --- a/shared_files/encrypted/bfd-dev-test-key.pem +++ /dev/null @@ -1,169 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -63333538363738613534353437633439643831613965356532306432613436643934343134396163 -3433326432333439653461363731613330636635353434360a323530363631326533663362666563 -31316235346237373362353439333038346364306338636562386634633363616263626361353233 -6661616266373431390a623865313338623564346162333664393666306166356263626531626134 -35353838623332623636356266613062613462336430663362626238313261343831643962646536 -32353535333861393865303237613364663436326263316365373037336532356633626236666338 -32663132353132623336346330613661626562643830613034346130306234326333363064626563 -61383666613535333437363438306434333938666632353836336561653537626432306432656336 -36643565643633633963666435663630346364353637313732393231316232333461393235373561 -36306262626564646331323061616332383830653731346535396336623934333631653133393662 -32616365313735393332373839303738643632656264636332656436376137363039353734303264 -66303562303338613536313537366137383032633665383232373036316163623235383532626538 -33383338373330353932376666656433393638333230356132643763323730613330623633386164 -66393039373136336565313566393336333834636665613764303131343732663466653431666433 -62396337336131633537316136396531653633653637346233356264313839643965613035656361 -64386238373063363533656366303265383165623934633230633764333230666462356363323365 -61656562343931613034396466646365333962303031356530383965656539376636346365323139 -30306632626333383262396635616439353539613863616135633737636261393831353764303330 -30383833663835343865353330313064363666616231346431666436396235633164633335633830 -31363965386561316137353765323031633830313031636564666639613337363239333536653862 -34316631666634393638363633623864636337396264326166346136333137313861336265313630 -33326231646532353935326130313934306130646633653732613365633466333763653064623661 -36306662616133323033626137643437336238646631326136363336613234326337616166363138 -38613261373235316662646330643434336261343861303835333663616533316534353464353362 -34356230353239316431393666666361633162316161336339303036626335396236353262386138 -63336132616238336439626163303935666461333330393031343237373263643836363737306465 -39626333323936383365363761646432663066613032623237623839363764353538663633656233 -64303636316463393535363361333231666562633631363866333039386436356532353165653565 -31356664353635336330346633343130323936626230663335623530386364383163383735636561 -34656437396131666532643032616161313462343262333665666230333332366133306330636235 -37636233353833663630316639336466353566356363373635616130323466643137363061356232 -37346463323130616239623234346564356661626565643531623831306639646636646163643136 -62386262633263393964623266363263656163303665666662356231323831613462386463346434 -66383539323463323634383832313433623333316633636266616239666431623161393665366366 -33363136663863313763636166313833646633636664353061366161333837643866633865393262 -63323537666436343235613935663637303632343733633631313839333935383366656234373839 -30383932326533393635323730323766323434356332356232646136373266666130386264326565 -64333432303137383833333535303933653934383761333030303838386532336662626332303838 -38393939613830646433623965363239326539393166353163333937613265653161386530303830 -36383834383566316665336665303534363561386237323035653765363164643963306635313764 -33366539396666623931383562616633613136623238316234613132333730646262666264613362 -63333964346439346231383238613031663035656266366233646563653465376137613462646234 -62613061643838333661653636346136313165363538656137643437383066386536643965663934 -30613566383534396162326638353237656130323930633262306639343866643030376333303438 -38613962353430653165353838313863316232326139356561353337626336356636383265396563 -61643538633766363333643731373339376662666631353938313635633037633830346665316630 -36303838663366646233633739393435373835363632663831393834303664343163383234613635 -36666164373362393562356634323562393064363135626636633737363034323764393635326234 -38323933303732626632643730343134313934656462313633646132386235646531373831363230 -31353430323338623562613764336537623062343864383431666166396132646135613133393164 -66393336646565346134366434383466633934396639613532306232346333613664396263356532 -63353362343138333366653635306236626635363137656661333234653666363264613166323239 -61616332643734383938646132633334383761363133646333343734333035383836396637313561 -63303235393763643835383335353337343465393738313266326265373834663934333165326264 -32326661643038366636303830326336346135336366623266323262333235323839633362363134 -35303530663066343064353833383366323531383761386365666266376135373363613137623531 -35306439643666633631643034376361333661653438373266656631333562346236636364383262 -35376661643565373737326232316466656434306265343137613565303564373563643734633863 -36376265343062656366343634643664653034666636343363316631353739383631386536383863 -62353463383830633938646262393262633462333830666130343631633236633663306537303237 -37313039306438343231303665313034306361363230336230626435613561643835656463353136 -63323737383034663334333133353134613434653166376632326630373933303233346138633634 -35616533343765336264393262306163653339646236366165623534646264653436353261363563 -33656430613836393339313031363764306463326238613665656264333533663262363265353037 -61346130663239633535303837636433326237383033373762636264353631646236386238666635 -30633230616235353035653038633962343363353264623765393764633039363832626335656538 -36383930613466393863306365303333643961306332393731363431643139363231373632316133 -30666666656564376364333134396633623138616534383938323131353539323763306137646338 -66303532633235343639393732373465373266386637633262373231643666316464363563376331 -66313462356135316136363966353061353164666462343930316665363432343339333931323837 -30393230393539393932663739303531303636393063313064626263653933633965643639663965 -65386465316464316134643961623662313039346439376232393833643636343338313738393139 -33346534663365616465393937633335663263313832333563616262636434333836313030303736 -38386535623632333638383836653532636136616535396664366562393464313637383230353863 -33626435383538333531323035343135303363333232326138323635336164383339346665376532 -64316262303239623633376664626134396639613639636461353132666339303334393231383539 -61643130303166316333303933383534363334383662303837666435646538663065633638633436 -64613236613965346436343963346365633365663039366662616337346366396537666432396430 -62353634633965303538363631626639373337663865376138653962636561313731363939396666 -34363335623035653333656165383432643265363266643362653832393730386130383138396163 -34356639663861333363376337623664303530643762633338343437333839363531303563303363 -65656337313161663466363963356138383937396163306334313137633161666532616538396535 -39623963396166346232633639333330373032353961363036333839313162663432666532633762 -63383765386334323166386464653032353337376339626335653934643363643738336235376661 -36333733353366353037663664653133376539313238383532396237363962626466646461343366 -30333663623362323136303039633663313264623666626136663765326635393232613431666135 -61363061303562663036333934363432356663333563633535326436363965343635663963386534 -61376531366134623339356135343333616231626436656263393261656161373265663961356562 -31353664643036356537396634646334633939376239393466326532383038303263623363636636 -30633063633737623239356534363931306633323530366131366561396637623066393630326534 -31326437373839656536326663383363353364303463326232666134306164313566633764336134 -65303839663036626339653633376465623236626661653532633435313737346135346539333066 -33396438383234623338376232383437316262646539636364643830353362643630666136336463 -65303730323431363435316433626265666535633263623962663431663737393061373463373936 -65623935333531393532623333626464376463633031663932343164616138643833633431323936 -30383135633934393139646438623664653766393537663036373566643735366334383133373333 -66336366323166303730306662393039353731666430363537313763306565616137386634393235 -34383734323164376565333432396266373333613337333766386161383931356262323563356563 -31326433613032313834323135306438353862366535383439656131313234373432386433386131 -32336564626238616534613132653033313532356236656636386337323561656138313562633633 -66326130353464373266643938363664623032653136643061613564636638343064383333396234 -30393666393336623935303532303664383333663036383465656230666130626133313864653538 -64366665356565616437613937343234353365653036393535626662383861336536653964626364 -38393339616665363438376131633834636534656137333535653038393236353334626363666662 -31396335653639636466626531376561666332343765353032633464313262306266663266373835 -37343339323831383062383261373735636631306265346130613165303739326239343832386534 -64663662346561346563656534323632363363333833663631363564326363383131303237326637 -65373034616361656138346636323665656130306333303862373665643230316365616361363066 -63366230373337333438383031383263633461636332626237343735336462373033376430326461 -37353435613435306665303738306336623062623061373538396463643061333637646630663939 -66373739323336353933336132623831663939323862653930363733616334356630636531383730 -61373631393633396232303530393730616664346332326365343730373961313237633832613036 -31353764363937353132393036646330303333633363623331363432323665353130396563343330 -39393233366563613864353239303138333333353339646463613238356439616437313466316434 -64353837316165636439616662633631663765623663323831306463646461653533633436363861 -66653064323065323737313135643065623466313039653131396137623737306336623039353138 -30633533376563343166323738333263623239356337663465356663383066323866326335333231 -37376364633361363364616437323565393338363336373939383232383231346636633935633731 -61373666663864383865396139343533303238666132323934663438393064643737313465323063 -66356365656465393866366462613065326637333638323630663932316438363339633330356363 -30386166383232383232633965363132663561616362653666393233383161633831343531306363 -63326163343133326635663338376437666538663733613937663136373933393036353334653865 -63666634613139366335386434646635383866666235373765653839353866333164343336616634 -35643063313535353063613030306162323435313638323337626131643235366135653062616533 -32383966313962386435386163393431623264343062363630633737353438653834633161626663 -62633335393331396464613538623038636664643131363133366235306533313161613436643636 -38663139663431653137336539363936333935363934656336646230336162306566346464623034 -39386563303631656465396337653962653262646463323031353765383938613632356138663962 -65323463613630643338373338623334333036663762663661373931386137323533306133393333 -34356237636630616439653438393630383835396134353366623039633266616232653336363130 -36343137363531393235643930656639643131396164343031343439653761623632346232356361 -34613166303839326135663931363236373563393936626166663830313465353035356432363061 -61313830666436663834646163313736343938643862653766353462363535393061626362663837 -30636330633732613037346461346131353433643633663631653666633663663261316264656566 -33393334376134653736623034343765623434396463383939393731346238656431613462386663 -31613861346233303335646265646538323766303666663564333534313866613335346664366661 -33323339663532373336313235356432343466343337346266643034663734343232353231393964 -39373966663436353163643432366434303833643866373262393930313766623631633630363865 -62343637353231343333346335616265383635346262383630396432643639396533623866373938 -66393466383135303633393237316230323663643539663330313261393065343537653564343239 -34633833393639366130373635616562663538393930643232323166363131613639363530643265 -63623566666337306338323436633632326633646661613032353133363462623761363436343665 -35363933636132316632313636623136336437373866373761323636366665393539643334646436 -65386461373466646161333538393836353338613134336136336664626134323137393431383034 -31656539626461663230333564663137373361383630376331643630613534633932326533366633 -31616566353738366139666562646238643337336435643736333261643236323766643462656162 -65356361626231326636666661653935613739303334393537353562326230616533616331346330 -65613439363133623062633563643636613234366636666434656237643063373263373365313734 -64373864363363653066623631366465663536363234343634663663626362656438653564636536 -64363030383738366561633630363038663438373537643961396534313038643965346536663238 -34393435396366333736363830383733656636653764373232653134353636343834626161366635 -62356132343866313963306633613733303865656535633866623533373365663239303239333635 -34333161383439326364626233313333383532366139646635613663616166663133656165383863 -34626364663763366666663438306532613833383162303766653162306437323532313438653932 -37666637346266346463396162373433636166343032313735656634356165323337666361333864 -66386331663961616130656634306664386163663064653464393438333266343535633839633833 -33393834613961323261633930323235303764383266663235323666373636336531623533396535 -62376530626138306365653264373932626438323939643739346162623361663535616339313539 -37366363363465643136363363633437373634656535363064316562623830666134663339663964 -63636162663166326634356332333236653732303430356430616539373264316131646439303935 -33303564326166326661623561383539363730653839336235313539386334326132363164633036 -31303730316635303539626233316632346336303737316539306139383063303064623632613666 -63363233343666666438396662613338613463633864653162636430346535393563333430313933 -63356464636136623536663662623336623564643362393030366434613232303363346362623933 -62336464303335663636613330663263336361336130363637323431656639656434373739326432 -65346233316262333733386233373838366565656538363764633562356264643837323064636162 -66653333323834346137646133643339363862303437353964343561653763633463333761353936 -63373033376130616461 diff --git a/shared_files/encrypted/local.env b/shared_files/encrypted/local.env deleted file mode 100644 index ef6ad61f2..000000000 --- a/shared_files/encrypted/local.env +++ /dev/null @@ -1,125 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -31366265396239613265333862353437663138626531373136316531306132663339643362373430 -3461623462353464666662643036656365633837666339660a666665663436363735643632636535 -37323637633062653465366239313630616131393632653961633430393064373536366262333232 -3931626665396638380a633838313363363465313236656261653366633266666238653633653431 -39613236646434333962343937343130623161396464366565336631666162333564383666663663 -61646266376462633734323535346663333664386636663431656133333834303963383461356537 -61623837613061323631666435643734666135363734643436366630346363346439326135623862 -32363535353639646366656230636436626336636139393966613663363430313861376661313336 -66626566353735303261633666613831383931346562323735613133633965653332626231303132 -36383535613661663335303963313336616262373063313665666236326165383939326132363962 -66356237303236646162336632626363383932376166363963323738663233393361643264356166 -30303861323137303563656164386236336164373735323536613962363436363234376165653334 -33626337306138663233653836666239343035623661666465663162393737646539373238313135 -31366530313036396465613766653236653336363865623664363265333162643361343863303539 -61346630393765343063386537623639383339313831643865393361346537653336633631333362 -61633137303265313334303636386365396539616162303961613833316466363363373737333232 -65663061613339393362373333656663353336393637383631303935346231353331373437343439 -33393434313466656562353663333664656166623234343530613265373234656439393933363735 -63653236613536363031396533306332613232383838336530306635386232363237396232626161 -30363962636361363262326137343030373564666332633866336230346636626463346565666430 -64373432343836346562303666346338393866343431616134636236346464383337333435653562 -66396365333562316338303666396530646333653237366665666231323534643732656337613933 -32356161313533643339333736353264613963653837663530326434636666306235623536363961 -36363735303831303935643863653133363936383563376463333731376233343861363631306338 -39373432663865663766646462653764653633356466376663306239386166616335326363666135 -37663530346633353366363662663362323835623039623137643161306439313039393536323930 -63326638356639316138373035623964313330626533616636633930303437376464663337363064 -34396439383337323739326235353931373935373235326662333338666536303031633434316461 -64356565303834646133623166336535393536393039326135666631636131353464366136303063 -66363334663863343264303066303435646237663139366135343237373266616133343261363039 -35636166666630383837333834623964313065373030343666353731356464633439653633363835 -39623230353864353261323038343966363238333433323938323465636534356337646535663130 -39326163626130356431333234643737333835303566646438393839643533346462623830343439 -63373037373338633838393463636161656662336536376664336334393162316531313563366564 -38373462643638336262346532356263643263323630363438356633393462383033313330656161 -37316232303735663832333462626637333234643730626233326438626339366130353430373434 -31346131666434633865386433306363656537313738383265663633376232393536333665666266 -34386465626633303565316539313135373033303262393561393961303638363561336634373730 -65626563396534613761653463303139396264653935393238373262656431396630373636663361 -37383230616665306339303832613339646632386337663664333837616238663534376530643035 -65393965383662623135326162323530333261383835323632343133633962323966333765666636 -66366532623138326563303933666139623463613835366664353232396533386535353864326332 -61643734633361353130386533353030373832373564316563663538303139303531366534616137 -35613437663166323863343135376239373137333330366135623437353362653337346564353733 -65383635393438613265623434666663656333316135643563373030373131353432356662383866 -33363365623863396366623837366162326232303133333436333135366561666436323234323866 -65313062623533663635303031316561633135386230313432336435316465666165353631333133 -61616533613361303237396562343031376265353734656334393932303265326363316638393333 -61626430646531646436313264613938633564646366636663326531663430333330626135623431 -31393035646163303262646334333262633435356531623736326134373032323237353938373036 -65383361306436383330376432373834343734663164366532303033656162636636303762373937 -35623936646634356465303263333663656438613061363934373962663363643533656665306431 -39343166326637343361626561356430633666303365373939613137323864636537346634396561 -32646432353333613762663265333863643631383762646133313638386438393164633135336432 -64363534353832396430326262393135313133303434383538356662363638656664643936666466 -64346466646434356666316164333564386465656461616632373365303664393039356432656561 -63373738353161653234316364323637376261616232326632646566376335316466616237313534 -64643531373662346339323534643863393833346530623732633532633536323732643935343239 -34306633613135333336666433393361323931653566666462373933363165646335653733376131 -33393938346637653732343330336234653132626538376339333762343135393733623866656265 -32366430666531623136623763303263373039346539343435346434386462663766613765373231 -36333466353232303536643537393134313131666234323733636565323265396638336663343636 -32363839646639316536666363336236373039373962336530393336313064386463316661626539 -32343065376336646536666432373439343535353763623163313934663162373636303636623563 -35636666376566373432373062373039646532636461346632646434373462623461636133353062 -63363131646536666330376230393039353531346332633137336161353334653839326431303066 -30643834326633656135376337363635356163636133653066393461303733663762626232383762 -37643632346263623630303236303463633232316162336563386362633632643731363864373534 -37383932363037373164633533346331393139396130306539303061333364323965633864363662 -63316666323231336231303834323231353139383266653936336266313636356637363332643532 -65303366643638373331616663363833646436666133616362323666313063626165656365616337 -35313261363837313833616532326333343261336433386365373439323837303061316463373939 -30396536623862656634623932623632623963613939343566363631656433393263346634313035 -39333433313136623934616135663231326161643337376531656337306238336664373733643565 -39323439633361613435666137313965646265633733343331346566396539643032353962316463 -63313837386131313565376430303435613161353835346239363161633938313139393863656462 -31383832623635626563623331653731626363353663303565376530393534646531333837323238 -65613634333436633963333238396461393664353936343834396332383235316332386633623534 -33353136333439383939353261343230373462623334623431336237363765646365303139393037 -66623064613932356361306466363761653236396563383064353731356239646532373232643765 -37653865356262653863363765653038393631653766646665626464353833383237336665643334 -62653336353863323731323232396563633437356633323839653665393138613364373639613665 -38656633633366303263386538353566613765323439366362633337653737643966623863343166 -30666163353331353761343737376531653639616138303063303336613764313332313366666161 -64343964663832626635626237323231623835306663336136663836366564616135663437386266 -37386461633039386232623339333435313435393031633838393166383664346632636537393636 -38323865383633333031653035366430656264303463313730353765653636653231343336636632 -63323333346135366466656365313463316661623765393036316462613463303939386464333432 -36646532326635616366336632303965303163356433646134626562613965383832663564383636 -61323132386435373664363530613164393165613439356631343136663266326563393261633164 -32396662643361346566356661343338393334643466373361383838636665663030363733363034 -30326635306366313836303536373433373531356430343866396465383064353064626132623332 -39663263353661323662346138653866666266653431393737626436666236386336646231323736 -35333764316134313863663162376536363564373332333934663134306437666163303732363035 -36316165626136633639663162653161313461623564663363326432623433653739376232663461 -30323666623932316663633933613432353132656535653434393964383237333363666638623364 -34333732663238386164323733646464653465313635333734323365353565353861646634666134 -38653433646438656165313935363866623734326362636436366336303264653265313434636137 -38393832393034623863653164373738303136663864626330396139386630646136326334386262 -63626438653732303839333339663438303333663462303239306631326232626265303433393261 -39626637613861653132343963353330326464636232623930666230643037623030353634633233 -35666231386231353338663131336562356438663835393863326436356463653133343162363932 -61396265363836613563643935376663323666633561663431646632343964633237636261316363 -33643930323131343133333237623361393536623533663366623437306662303663613037313130 -65346437383335393862353239396362343435323030633536373865373336383239323139653337 -64613861393266666337623762626364333132336362356566363364666266656537333263656362 -39623334373631343863396566343638666161373237373233343135313961396539396539616262 -34373932343963633736333362636463636366663135633139373862646332613034383431333566 -35323865343533623461613937343930666438316634623964616564613831646162616130343431 -61343334336161323835363534343762386436653865383965646434383434626231663534626435 -63396231346363313231326538366635626230383631616238646330316532636362303164386131 -30643839306337373734383632633430653061393066636662633765623037643963343066623436 -66323039653930666332666331303965343234356163326264393435393633613063376433613634 -66643133636665656166666161653030396262376230366434363733613035663036393563376465 -35356265636331353237343039313065656165346232303739343037656536393764323765393265 -30363332303563663662656634613934306362363532623135383430366532383139643637306435 -37356138383239663563623037666365643062613637643332336239623437363336393062663534 -64626564656364313066316639353662333962353736353134653464653634613839366465393164 -66333562346130613664306466346564643239333138363962656134623739376266623130623730 -35393461623761646233613465366661623031353565653033623835616239623835353531346230 -30323364326339316333613032366130666139636338383031643734623761303237356465626362 -30663666623732656437626434366430343731333239353562613134323564626562303266656130 -39653139396561663961316432633562323031376135643737303033363236636238333861373935 -39373831613732303662 From 62d83b4285e9c7925fa4a5db656bd1a2f8d5dc5b Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Tue, 24 Sep 2024 13:06:53 -0400 Subject: [PATCH 12/14] Readd shared files --- .github/workflows/dbdocs.yml | 3 +- shared_files/encrypted/api.yml | 62 +++++++ shared_files/encrypted/bfd-dev-test-cert.pem | 90 ++++++++++ shared_files/encrypted/bfd-dev-test-key.pem | 169 +++++++++++++++++++ shared_files/encrypted/local.env | 125 ++++++++++++++ 5 files changed, 448 insertions(+), 1 deletion(-) create mode 100644 shared_files/encrypted/api.yml create mode 100644 shared_files/encrypted/bfd-dev-test-cert.pem create mode 100644 shared_files/encrypted/bfd-dev-test-key.pem create mode 100644 shared_files/encrypted/local.env diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index 421f17bdc..e87e1d48a 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -35,9 +35,10 @@ jobs: - uses: EndBug/add-and-commit@v9 with: + add: dbdocs message: "Generate dbdocs" default_author: github_actions - + - name: Cleanup secrets if: always() run: rm -r shared_files/decrypted diff --git a/shared_files/encrypted/api.yml b/shared_files/encrypted/api.yml new file mode 100644 index 000000000..3d3e3d568 --- /dev/null +++ b/shared_files/encrypted/api.yml @@ -0,0 +1,62 @@ +$ANSIBLE_VAULT;1.1;AES256 +31363637366330663431373665323636663534383035336434613932376661613566383834623764 +3566613534313163663930333461363435373531306639380a393834353130366265323334666562 +66386365313835643562356431633462646661386163623064643333646239316333613264383838 +6634363364306436610a336532656665383132313134653539366430366432376239643930626231 +35666334353839396361646339333239333365616339396463653363323931306132643665383361 +34373864656461393039643433636362386666643965353335316666383136626364653137656135 +39626131653266323531386564373730653666313362646436303266373766343337303365363137 +63613037653865306138323564303234613139323135643835643638336430316462643462613237 +38376235646462383633376131343430633763303038393966613435386365313566653565663934 +32336634316336343139633930333436633731333831623064363263376666333531623734373437 +33393830383231383064613634343866346333373163646436656464346232613938303335373765 +33313232366138393238303532383432613566393865316565376364373032356163343766623863 +37646238633366616361663938336366653863336262363964376236343332653034323435653765 +64643838363434366332613737313632643531613430643836343435636532623634386330366164 +63666631663266653362356535363762633761643032653138323065386338623833623161623238 +32353238396331613335336265303265303539303333323363666332343266383836643161656265 +38393238666632643237623939393332363636316636616331363335386538623432303864326662 +32373536313436366162656431636239323434353539633231643661396237623664643865313636 +31383038393065386239636465623066656231313239636361346131613765373932643463323435 +64333435346337333862393836396433336161363961656462353132653334393439306139353564 +39343362346336383861313666623135363633326636326439383639373237663633396464363536 +34393064366366646532363934383061333363376161356535333262653734326464653565313830 +34663932313066636234373237323462393438356135616532643430383531396636313337333035 +37343830383430313737613762323335343865303832393838613338306238663966666661376464 +33336232346130383432346463616166356334386461366332656162393938633763653332376563 +66663234393031666363346632656363663463646637633038373863353539383164383736663936 +64663462353337333266386430313837633639623135306461656465383630656136306638323133 +63313332633230333139316465306664666366326434653331656230666461663963303735636464 +62393964323831323065356666373233333437383639626536336263396265666262626236633866 +62313638323534376439336433306165623131343137343237343235353361393763333839356439 +65333233313463366330653961653135613732633638613261333765623137323465656339336439 +37646431613363363865373736646635373462383366383731333734646539653236323065333637 +36346634353563386163353438356565626435616638666233393733636432373231356637316362 +62633166383533343364616663346463356238633861353935393666616562396163366165646533 +32376236353961626362306136316666303034633538313864636435353064636338393737323432 +64653066353861383235386262626333666461393736393066306138636135333762323730376664 +30613637313734656363393366346263383965353137333331366436363636616565616632333738 +31326137313437643733303565613030363766383937663336636639383665646331646635393035 +35346230333531316339616530323032383135666534643233313531613563633337343361336166 +34376364663232373964656638613961633139323138386234333737323766363138633038326261 +31353834663832353238653366316564646237396665363339373864616264663339653263376366 +37303639393166313466366334386130623466643835336631623436303465376130636133353833 +61313532643063666234363930643961313164343934333232386230336437613662306633613635 +33363763363466383932633435333331343530393031356666336639393033336663656436636639 +31363065383931396334366536656532353364396134396630353766643338356463626266353131 +37623039333038313234633132613763316533643435613936623562336533383661393439643335 +65316462653165386435393830663637343838643730633638636639623333613465653637346434 +61376532613330396131643633396265386533343533656336383830653064643563656632383836 +33633832316331363362346236306139333663373933653934613334393734643866663863323436 +63346339616163393735636336383866663836623037613366383364313563393530383232376436 +39303631353232623864333764633438353435323336393432653833626239393738613561316535 +31626464323534623035323365303130386236656630303462626534623431663235353764376265 +66343162363437636464626639643431646235613233663633343063666137373730616266613637 +31626561616466393730343161356262613132353764326434323861626537313239613633323764 +32663633343534373030323465383363353036353536656561326330656437353036363666613561 +36646531383663326464636231623937366235373936303465633633376364303361636339313936 +37333339323733326530323163366335353764306666383532373063326639663336323030373365 +33666634396231323435343662636365383938616266653661656234386666323465376633353338 +63363238343764343965323661383866306563363838373266306136353331353935363261663466 +31636561376434343138363739633932326164663163623132363161306537623062663739636266 +3565 diff --git a/shared_files/encrypted/bfd-dev-test-cert.pem b/shared_files/encrypted/bfd-dev-test-cert.pem new file mode 100644 index 000000000..aaa141173 --- /dev/null +++ b/shared_files/encrypted/bfd-dev-test-cert.pem @@ -0,0 +1,90 @@ +$ANSIBLE_VAULT;1.1;AES256 +34656261333264306662366337316439356336396566626130323261336239653035353730646561 +3463366536363565386539626539346238313262656633660a656135616430356331303063623062 +62376132376337306461356461313363396562393165653837316563333136353666393435623631 +3735653139333438390a333639316664323439386536323836343034386131353133333635353933 +34373566316532353737656235653533356535323637623731626331373666346465303535366130 +33373066336535373837316566383733643166633136343639323861353330613436633432666661 +38343065613433333537393630643238636130396134303339623864363138316364663832323337 +62643063666330356166633361346265323431326334613836323632653262333233386664326234 +61633436333432663364623761376135616138376339396536373961336462313331343531666666 +35613766613939336161613962343665363533386434653062336532616432656364633238383336 +61353563323232613738393935323563663836316361353239613065356431636235656439616261 +38613334613265626336393236613362633335323861636563623738343938303537663563616439 +65353730633433663965646430613831626335636237353936393538326562666430623839373133 +62383337623637356535303637636338323662323633643332313430306334343831323330613432 +30353162323263346638666435653034336230363562626439336666353164323262626462343430 +38316638653264623262613932633362303263303937346434633264643133636635303332393432 +35303965353431646133643565326438373433663734323038313933626361393765663833653934 +32646165386338643165303939646630363535333233653636356232363636633764626334663334 +37643839646536376366336433613032323539323031306636643564376436333664333633623064 +62616531316661313761393035383564626463643765323935306263366538356632393038646130 +62306232613338626535636362643334306665386435663061663038353361646232623935323835 +61623864663962333333393036306637646639356533353939373531343762333766663430313739 +61376137633033386536356561393631633361346238353930363430376137333839346564666665 +35393730303639363164623937666162386537346434656531333064616431653563356533366465 +30626363356363616435616133393263633362396432343433663738343662366632616665373464 +35343561363465343335363237303865376333393564396664343831363134306338383333393664 +39353532303833393438306139373632346535333062313666646536386239313437353232653465 +31353963616663316563343662666466646634316261386333333833316334323561666237366333 +66316230646139313036643738636439386563646532643531636664613036356466383432313435 +33326134633935643332326233316432383837396438363934656136376361653063303864623965 +36386534346537333437316336303939613136383861343863333766666338393230396633656238 +63626566336635396632613764373530303236633761393835353736333835346531646562346636 +36343065623835623439353332376138656663333635623538636530616233323536383933313738 +38653832343366663238393162643265653936623936373831396236393635383566333532616539 +62313537633835663032623333626563393630326334313966333736313161646463653135383938 +62356462346530653265343164326132626165636439663565633435643832636262616134303035 +36353433383462643331633338623366383632613365363836323730353334363332323137326534 +65646234383536356535653133303137633131623536343639626537306336393033373862353661 +30646635633731343531636535323731656636386263636133353863363432633337383630653830 +63653237363230653263303961383064303337623039613932386438383237333036326232643839 +64323336343636653036663066626364303735333338343035656164383636393064623533313437 +62643162363966386463323734393238636633316166333464396264396131303931323334623463 +66623630633230313737666366663362653136383765363433646266333030636430363833363232 +33313731373862303931356662663563393336383062623332626335643161303333393464366137 +32326332366562653930663836303366323937643636643437333637383733663832653561346233 +36393130373538633031353138636462306439353165386266396265323630326661396462396336 +35323931336163666466626230653834306630333363653464633135653864343034336565366234 +37616365623330326632323932323963313537636161373163336636623865643636633266356430 +38653136323331633538373635343831366639313762313635646538633566303366313131623463 +65653161393166393633613963353233353031333266623761363930643262313530313864393332 +62663735326562376336336332383233376337623538323362326434316131626665643538333162 +35313939383236316162303633363237636163623537393238333465393433323437613837626333 +62653437313264303131383363396565623436353338666565653433303230393864363530636635 +33313866316466663464396465656633326635626530643934363764303863303738386663306434 +36333237336639313138366364663463623536383736353539326130646265633335386165366238 +34623839346161373963633830383366353335396536643666366663646539313533643338373865 +33343936393364383266346364306139326338396433626134303139343236663565656136663531 +38323762313232653030323038623230303636333061346462323761353935613838653062643439 +65613461663231366639663963663361333733326564373732376265303131366333363562613335 +31343363643234373736356162656238363062366133393861343562353564376433363931333833 +33623761376437326434316130633735316334383337303830653063663933386163306665336262 +38326430643830366163303965623933656264313830373935663163656364623331323739643333 +32623133613733306462623063386662333133353330313232306461333638343634333333626161 +65653132363339656438376439616433383330643664343166663261373061393061313662303964 +38303738356166393432393830336231303464633533333265356461363964393161313834366566 +63653931323766336662623062623538396661323362383737626666363965623936376438383963 +39396166666430333839313636373434646634616364646635336131613465316565373133373239 +63643765313238663339316639353330663365373632663362373265343835393664346133656534 +38373339396135383936616135316636656435376135656439313161343637313330373536363138 +38313035383437626430663238656230346132303933653635623832643932633566323833306539 +30636130623732346166643735313839333133653238313162666463383334363439376438326233 +63346235333237366137613130383330363362316630336631363537633837613566646237326130 +30323138383066363330323966643434616439313830616432333831636336343865613536353639 +62643739666635366432653865636135356633393533313732623164646430306136376662386632 +35346265336638393636353564656666333461386338323365356263653765633031333862613837 +65343666373534303164336137633830303535623030613939353034373034393033643639663563 +30623336656165636163313134386134653039636665383166656232653936346639646664653865 +36396433636332386134613935353833326532363565383364383937306461666439303633313762 +39633062386262373264333935326530343235306330353832643761306335633964386462353263 +64656231366164346565313966313263626135386137396431306638346661313030373038656463 +65633936646333376434376338396532303437386333383561333061636265336633623236653431 +38666530663663336266303831663563386335363138646532356539323733316338353133343565 +39313738386432393737656561643836336434666339623133306530386639396435616364626263 +35656630363732633136663138383236616164316337343336666338663933353139313364653261 +39393435653863376637353166376639636535393965376432643565613138663939303930646565 +35626337663236376239303233626564376338636238643265316333383136366238616161346138 +33626661356239393339366532383939646162326438313263316662383332376664346336376433 +38636332313963613065393836313735663932336162643938623130313863653532343635306437 +6134 diff --git a/shared_files/encrypted/bfd-dev-test-key.pem b/shared_files/encrypted/bfd-dev-test-key.pem new file mode 100644 index 000000000..8be4ec4e6 --- /dev/null +++ b/shared_files/encrypted/bfd-dev-test-key.pem @@ -0,0 +1,169 @@ +$ANSIBLE_VAULT;1.1;AES256 +63333538363738613534353437633439643831613965356532306432613436643934343134396163 +3433326432333439653461363731613330636635353434360a323530363631326533663362666563 +31316235346237373362353439333038346364306338636562386634633363616263626361353233 +6661616266373431390a623865313338623564346162333664393666306166356263626531626134 +35353838623332623636356266613062613462336430663362626238313261343831643962646536 +32353535333861393865303237613364663436326263316365373037336532356633626236666338 +32663132353132623336346330613661626562643830613034346130306234326333363064626563 +61383666613535333437363438306434333938666632353836336561653537626432306432656336 +36643565643633633963666435663630346364353637313732393231316232333461393235373561 +36306262626564646331323061616332383830653731346535396336623934333631653133393662 +32616365313735393332373839303738643632656264636332656436376137363039353734303264 +66303562303338613536313537366137383032633665383232373036316163623235383532626538 +33383338373330353932376666656433393638333230356132643763323730613330623633386164 +66393039373136336565313566393336333834636665613764303131343732663466653431666433 +62396337336131633537316136396531653633653637346233356264313839643965613035656361 +64386238373063363533656366303265383165623934633230633764333230666462356363323365 +61656562343931613034396466646365333962303031356530383965656539376636346365323139 +30306632626333383262396635616439353539613863616135633737636261393831353764303330 +30383833663835343865353330313064363666616231346431666436396235633164633335633830 +31363965386561316137353765323031633830313031636564666639613337363239333536653862 +34316631666634393638363633623864636337396264326166346136333137313861336265313630 +33326231646532353935326130313934306130646633653732613365633466333763653064623661 +36306662616133323033626137643437336238646631326136363336613234326337616166363138 +38613261373235316662646330643434336261343861303835333663616533316534353464353362 +34356230353239316431393666666361633162316161336339303036626335396236353262386138 +63336132616238336439626163303935666461333330393031343237373263643836363737306465 +39626333323936383365363761646432663066613032623237623839363764353538663633656233 +64303636316463393535363361333231666562633631363866333039386436356532353165653565 +31356664353635336330346633343130323936626230663335623530386364383163383735636561 +34656437396131666532643032616161313462343262333665666230333332366133306330636235 +37636233353833663630316639336466353566356363373635616130323466643137363061356232 +37346463323130616239623234346564356661626565643531623831306639646636646163643136 +62386262633263393964623266363263656163303665666662356231323831613462386463346434 +66383539323463323634383832313433623333316633636266616239666431623161393665366366 +33363136663863313763636166313833646633636664353061366161333837643866633865393262 +63323537666436343235613935663637303632343733633631313839333935383366656234373839 +30383932326533393635323730323766323434356332356232646136373266666130386264326565 +64333432303137383833333535303933653934383761333030303838386532336662626332303838 +38393939613830646433623965363239326539393166353163333937613265653161386530303830 +36383834383566316665336665303534363561386237323035653765363164643963306635313764 +33366539396666623931383562616633613136623238316234613132333730646262666264613362 +63333964346439346231383238613031663035656266366233646563653465376137613462646234 +62613061643838333661653636346136313165363538656137643437383066386536643965663934 +30613566383534396162326638353237656130323930633262306639343866643030376333303438 +38613962353430653165353838313863316232326139356561353337626336356636383265396563 +61643538633766363333643731373339376662666631353938313635633037633830346665316630 +36303838663366646233633739393435373835363632663831393834303664343163383234613635 +36666164373362393562356634323562393064363135626636633737363034323764393635326234 +38323933303732626632643730343134313934656462313633646132386235646531373831363230 +31353430323338623562613764336537623062343864383431666166396132646135613133393164 +66393336646565346134366434383466633934396639613532306232346333613664396263356532 +63353362343138333366653635306236626635363137656661333234653666363264613166323239 +61616332643734383938646132633334383761363133646333343734333035383836396637313561 +63303235393763643835383335353337343465393738313266326265373834663934333165326264 +32326661643038366636303830326336346135336366623266323262333235323839633362363134 +35303530663066343064353833383366323531383761386365666266376135373363613137623531 +35306439643666633631643034376361333661653438373266656631333562346236636364383262 +35376661643565373737326232316466656434306265343137613565303564373563643734633863 +36376265343062656366343634643664653034666636343363316631353739383631386536383863 +62353463383830633938646262393262633462333830666130343631633236633663306537303237 +37313039306438343231303665313034306361363230336230626435613561643835656463353136 +63323737383034663334333133353134613434653166376632326630373933303233346138633634 +35616533343765336264393262306163653339646236366165623534646264653436353261363563 +33656430613836393339313031363764306463326238613665656264333533663262363265353037 +61346130663239633535303837636433326237383033373762636264353631646236386238666635 +30633230616235353035653038633962343363353264623765393764633039363832626335656538 +36383930613466393863306365303333643961306332393731363431643139363231373632316133 +30666666656564376364333134396633623138616534383938323131353539323763306137646338 +66303532633235343639393732373465373266386637633262373231643666316464363563376331 +66313462356135316136363966353061353164666462343930316665363432343339333931323837 +30393230393539393932663739303531303636393063313064626263653933633965643639663965 +65386465316464316134643961623662313039346439376232393833643636343338313738393139 +33346534663365616465393937633335663263313832333563616262636434333836313030303736 +38386535623632333638383836653532636136616535396664366562393464313637383230353863 +33626435383538333531323035343135303363333232326138323635336164383339346665376532 +64316262303239623633376664626134396639613639636461353132666339303334393231383539 +61643130303166316333303933383534363334383662303837666435646538663065633638633436 +64613236613965346436343963346365633365663039366662616337346366396537666432396430 +62353634633965303538363631626639373337663865376138653962636561313731363939396666 +34363335623035653333656165383432643265363266643362653832393730386130383138396163 +34356639663861333363376337623664303530643762633338343437333839363531303563303363 +65656337313161663466363963356138383937396163306334313137633161666532616538396535 +39623963396166346232633639333330373032353961363036333839313162663432666532633762 +63383765386334323166386464653032353337376339626335653934643363643738336235376661 +36333733353366353037663664653133376539313238383532396237363962626466646461343366 +30333663623362323136303039633663313264623666626136663765326635393232613431666135 +61363061303562663036333934363432356663333563633535326436363965343635663963386534 +61376531366134623339356135343333616231626436656263393261656161373265663961356562 +31353664643036356537396634646334633939376239393466326532383038303263623363636636 +30633063633737623239356534363931306633323530366131366561396637623066393630326534 +31326437373839656536326663383363353364303463326232666134306164313566633764336134 +65303839663036626339653633376465623236626661653532633435313737346135346539333066 +33396438383234623338376232383437316262646539636364643830353362643630666136336463 +65303730323431363435316433626265666535633263623962663431663737393061373463373936 +65623935333531393532623333626464376463633031663932343164616138643833633431323936 +30383135633934393139646438623664653766393537663036373566643735366334383133373333 +66336366323166303730306662393039353731666430363537313763306565616137386634393235 +34383734323164376565333432396266373333613337333766386161383931356262323563356563 +31326433613032313834323135306438353862366535383439656131313234373432386433386131 +32336564626238616534613132653033313532356236656636386337323561656138313562633633 +66326130353464373266643938363664623032653136643061613564636638343064383333396234 +30393666393336623935303532303664383333663036383465656230666130626133313864653538 +64366665356565616437613937343234353365653036393535626662383861336536653964626364 +38393339616665363438376131633834636534656137333535653038393236353334626363666662 +31396335653639636466626531376561666332343765353032633464313262306266663266373835 +37343339323831383062383261373735636631306265346130613165303739326239343832386534 +64663662346561346563656534323632363363333833663631363564326363383131303237326637 +65373034616361656138346636323665656130306333303862373665643230316365616361363066 +63366230373337333438383031383263633461636332626237343735336462373033376430326461 +37353435613435306665303738306336623062623061373538396463643061333637646630663939 +66373739323336353933336132623831663939323862653930363733616334356630636531383730 +61373631393633396232303530393730616664346332326365343730373961313237633832613036 +31353764363937353132393036646330303333633363623331363432323665353130396563343330 +39393233366563613864353239303138333333353339646463613238356439616437313466316434 +64353837316165636439616662633631663765623663323831306463646461653533633436363861 +66653064323065323737313135643065623466313039653131396137623737306336623039353138 +30633533376563343166323738333263623239356337663465356663383066323866326335333231 +37376364633361363364616437323565393338363336373939383232383231346636633935633731 +61373666663864383865396139343533303238666132323934663438393064643737313465323063 +66356365656465393866366462613065326637333638323630663932316438363339633330356363 +30386166383232383232633965363132663561616362653666393233383161633831343531306363 +63326163343133326635663338376437666538663733613937663136373933393036353334653865 +63666634613139366335386434646635383866666235373765653839353866333164343336616634 +35643063313535353063613030306162323435313638323337626131643235366135653062616533 +32383966313962386435386163393431623264343062363630633737353438653834633161626663 +62633335393331396464613538623038636664643131363133366235306533313161613436643636 +38663139663431653137336539363936333935363934656336646230336162306566346464623034 +39386563303631656465396337653962653262646463323031353765383938613632356138663962 +65323463613630643338373338623334333036663762663661373931386137323533306133393333 +34356237636630616439653438393630383835396134353366623039633266616232653336363130 +36343137363531393235643930656639643131396164343031343439653761623632346232356361 +34613166303839326135663931363236373563393936626166663830313465353035356432363061 +61313830666436663834646163313736343938643862653766353462363535393061626362663837 +30636330633732613037346461346131353433643633663631653666633663663261316264656566 +33393334376134653736623034343765623434396463383939393731346238656431613462386663 +31613861346233303335646265646538323766303666663564333534313866613335346664366661 +33323339663532373336313235356432343466343337346266643034663734343232353231393964 +39373966663436353163643432366434303833643866373262393930313766623631633630363865 +62343637353231343333346335616265383635346262383630396432643639396533623866373938 +66393466383135303633393237316230323663643539663330313261393065343537653564343239 +34633833393639366130373635616562663538393930643232323166363131613639363530643265 +63623566666337306338323436633632326633646661613032353133363462623761363436343665 +35363933636132316632313636623136336437373866373761323636366665393539643334646436 +65386461373466646161333538393836353338613134336136336664626134323137393431383034 +31656539626461663230333564663137373361383630376331643630613534633932326533366633 +31616566353738366139666562646238643337336435643736333261643236323766643462656162 +65356361626231326636666661653935613739303334393537353562326230616533616331346330 +65613439363133623062633563643636613234366636666434656237643063373263373365313734 +64373864363363653066623631366465663536363234343634663663626362656438653564636536 +64363030383738366561633630363038663438373537643961396534313038643965346536663238 +34393435396366333736363830383733656636653764373232653134353636343834626161366635 +62356132343866313963306633613733303865656535633866623533373365663239303239333635 +34333161383439326364626233313333383532366139646635613663616166663133656165383863 +34626364663763366666663438306532613833383162303766653162306437323532313438653932 +37666637346266346463396162373433636166343032313735656634356165323337666361333864 +66386331663961616130656634306664386163663064653464393438333266343535633839633833 +33393834613961323261633930323235303764383266663235323666373636336531623533396535 +62376530626138306365653264373932626438323939643739346162623361663535616339313539 +37366363363465643136363363633437373634656535363064316562623830666134663339663964 +63636162663166326634356332333236653732303430356430616539373264316131646439303935 +33303564326166326661623561383539363730653839336235313539386334326132363164633036 +31303730316635303539626233316632346336303737316539306139383063303064623632613666 +63363233343666666438396662613338613463633864653162636430346535393563333430313933 +63356464636136623536663662623336623564643362393030366434613232303363346362623933 +62336464303335663636613330663263336361336130363637323431656639656434373739326432 +65346233316262333733386233373838366565656538363764633562356264643837323064636162 +66653333323834346137646133643339363862303437353964343561653763633463333761353936 +63373033376130616461 diff --git a/shared_files/encrypted/local.env b/shared_files/encrypted/local.env new file mode 100644 index 000000000..ef6ad61f2 --- /dev/null +++ b/shared_files/encrypted/local.env @@ -0,0 +1,125 @@ +$ANSIBLE_VAULT;1.1;AES256 +31366265396239613265333862353437663138626531373136316531306132663339643362373430 +3461623462353464666662643036656365633837666339660a666665663436363735643632636535 +37323637633062653465366239313630616131393632653961633430393064373536366262333232 +3931626665396638380a633838313363363465313236656261653366633266666238653633653431 +39613236646434333962343937343130623161396464366565336631666162333564383666663663 +61646266376462633734323535346663333664386636663431656133333834303963383461356537 +61623837613061323631666435643734666135363734643436366630346363346439326135623862 +32363535353639646366656230636436626336636139393966613663363430313861376661313336 +66626566353735303261633666613831383931346562323735613133633965653332626231303132 +36383535613661663335303963313336616262373063313665666236326165383939326132363962 +66356237303236646162336632626363383932376166363963323738663233393361643264356166 +30303861323137303563656164386236336164373735323536613962363436363234376165653334 +33626337306138663233653836666239343035623661666465663162393737646539373238313135 +31366530313036396465613766653236653336363865623664363265333162643361343863303539 +61346630393765343063386537623639383339313831643865393361346537653336633631333362 +61633137303265313334303636386365396539616162303961613833316466363363373737333232 +65663061613339393362373333656663353336393637383631303935346231353331373437343439 +33393434313466656562353663333664656166623234343530613265373234656439393933363735 +63653236613536363031396533306332613232383838336530306635386232363237396232626161 +30363962636361363262326137343030373564666332633866336230346636626463346565666430 +64373432343836346562303666346338393866343431616134636236346464383337333435653562 +66396365333562316338303666396530646333653237366665666231323534643732656337613933 +32356161313533643339333736353264613963653837663530326434636666306235623536363961 +36363735303831303935643863653133363936383563376463333731376233343861363631306338 +39373432663865663766646462653764653633356466376663306239386166616335326363666135 +37663530346633353366363662663362323835623039623137643161306439313039393536323930 +63326638356639316138373035623964313330626533616636633930303437376464663337363064 +34396439383337323739326235353931373935373235326662333338666536303031633434316461 +64356565303834646133623166336535393536393039326135666631636131353464366136303063 +66363334663863343264303066303435646237663139366135343237373266616133343261363039 +35636166666630383837333834623964313065373030343666353731356464633439653633363835 +39623230353864353261323038343966363238333433323938323465636534356337646535663130 +39326163626130356431333234643737333835303566646438393839643533346462623830343439 +63373037373338633838393463636161656662336536376664336334393162316531313563366564 +38373462643638336262346532356263643263323630363438356633393462383033313330656161 +37316232303735663832333462626637333234643730626233326438626339366130353430373434 +31346131666434633865386433306363656537313738383265663633376232393536333665666266 +34386465626633303565316539313135373033303262393561393961303638363561336634373730 +65626563396534613761653463303139396264653935393238373262656431396630373636663361 +37383230616665306339303832613339646632386337663664333837616238663534376530643035 +65393965383662623135326162323530333261383835323632343133633962323966333765666636 +66366532623138326563303933666139623463613835366664353232396533386535353864326332 +61643734633361353130386533353030373832373564316563663538303139303531366534616137 +35613437663166323863343135376239373137333330366135623437353362653337346564353733 +65383635393438613265623434666663656333316135643563373030373131353432356662383866 +33363365623863396366623837366162326232303133333436333135366561666436323234323866 +65313062623533663635303031316561633135386230313432336435316465666165353631333133 +61616533613361303237396562343031376265353734656334393932303265326363316638393333 +61626430646531646436313264613938633564646366636663326531663430333330626135623431 +31393035646163303262646334333262633435356531623736326134373032323237353938373036 +65383361306436383330376432373834343734663164366532303033656162636636303762373937 +35623936646634356465303263333663656438613061363934373962663363643533656665306431 +39343166326637343361626561356430633666303365373939613137323864636537346634396561 +32646432353333613762663265333863643631383762646133313638386438393164633135336432 +64363534353832396430326262393135313133303434383538356662363638656664643936666466 +64346466646434356666316164333564386465656461616632373365303664393039356432656561 +63373738353161653234316364323637376261616232326632646566376335316466616237313534 +64643531373662346339323534643863393833346530623732633532633536323732643935343239 +34306633613135333336666433393361323931653566666462373933363165646335653733376131 +33393938346637653732343330336234653132626538376339333762343135393733623866656265 +32366430666531623136623763303263373039346539343435346434386462663766613765373231 +36333466353232303536643537393134313131666234323733636565323265396638336663343636 +32363839646639316536666363336236373039373962336530393336313064386463316661626539 +32343065376336646536666432373439343535353763623163313934663162373636303636623563 +35636666376566373432373062373039646532636461346632646434373462623461636133353062 +63363131646536666330376230393039353531346332633137336161353334653839326431303066 +30643834326633656135376337363635356163636133653066393461303733663762626232383762 +37643632346263623630303236303463633232316162336563386362633632643731363864373534 +37383932363037373164633533346331393139396130306539303061333364323965633864363662 +63316666323231336231303834323231353139383266653936336266313636356637363332643532 +65303366643638373331616663363833646436666133616362323666313063626165656365616337 +35313261363837313833616532326333343261336433386365373439323837303061316463373939 +30396536623862656634623932623632623963613939343566363631656433393263346634313035 +39333433313136623934616135663231326161643337376531656337306238336664373733643565 +39323439633361613435666137313965646265633733343331346566396539643032353962316463 +63313837386131313565376430303435613161353835346239363161633938313139393863656462 +31383832623635626563623331653731626363353663303565376530393534646531333837323238 +65613634333436633963333238396461393664353936343834396332383235316332386633623534 +33353136333439383939353261343230373462623334623431336237363765646365303139393037 +66623064613932356361306466363761653236396563383064353731356239646532373232643765 +37653865356262653863363765653038393631653766646665626464353833383237336665643334 +62653336353863323731323232396563633437356633323839653665393138613364373639613665 +38656633633366303263386538353566613765323439366362633337653737643966623863343166 +30666163353331353761343737376531653639616138303063303336613764313332313366666161 +64343964663832626635626237323231623835306663336136663836366564616135663437386266 +37386461633039386232623339333435313435393031633838393166383664346632636537393636 +38323865383633333031653035366430656264303463313730353765653636653231343336636632 +63323333346135366466656365313463316661623765393036316462613463303939386464333432 +36646532326635616366336632303965303163356433646134626562613965383832663564383636 +61323132386435373664363530613164393165613439356631343136663266326563393261633164 +32396662643361346566356661343338393334643466373361383838636665663030363733363034 +30326635306366313836303536373433373531356430343866396465383064353064626132623332 +39663263353661323662346138653866666266653431393737626436666236386336646231323736 +35333764316134313863663162376536363564373332333934663134306437666163303732363035 +36316165626136633639663162653161313461623564663363326432623433653739376232663461 +30323666623932316663633933613432353132656535653434393964383237333363666638623364 +34333732663238386164323733646464653465313635333734323365353565353861646634666134 +38653433646438656165313935363866623734326362636436366336303264653265313434636137 +38393832393034623863653164373738303136663864626330396139386630646136326334386262 +63626438653732303839333339663438303333663462303239306631326232626265303433393261 +39626637613861653132343963353330326464636232623930666230643037623030353634633233 +35666231386231353338663131336562356438663835393863326436356463653133343162363932 +61396265363836613563643935376663323666633561663431646632343964633237636261316363 +33643930323131343133333237623361393536623533663366623437306662303663613037313130 +65346437383335393862353239396362343435323030633536373865373336383239323139653337 +64613861393266666337623762626364333132336362356566363364666266656537333263656362 +39623334373631343863396566343638666161373237373233343135313961396539396539616262 +34373932343963633736333362636463636366663135633139373862646332613034383431333566 +35323865343533623461613937343930666438316634623964616564613831646162616130343431 +61343334336161323835363534343762386436653865383965646434383434626231663534626435 +63396231346363313231326538366635626230383631616238646330316532636362303164386131 +30643839306337373734383632633430653061393066636662633765623037643963343066623436 +66323039653930666332666331303965343234356163326264393435393633613063376433613634 +66643133636665656166666161653030396262376230366434363733613035663036393563376465 +35356265636331353237343039313065656165346232303739343037656536393764323765393265 +30363332303563663662656634613934306362363532623135383430366532383139643637306435 +37356138383239663563623037666365643062613637643332336239623437363336393062663534 +64626564656364313066316639353662333962353736353134653464653634613839366465393164 +66333562346130613664306466346564643239333138363962656134623739376266623130623730 +35393461623761646233613465366661623031353565653033623835616239623835353531346230 +30323364326339316333613032366130666139636338383031643734623761303237356465626362 +30663666623732656437626434366430343731333239353562613134323564626562303266656130 +39653139396561663961316432633562323031376135643737303033363236636238333861373935 +39373831613732303662 From e84578efc91c26246c93d8aa5e643e4b9ebc2772 Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Tue, 24 Sep 2024 16:13:40 -0400 Subject: [PATCH 13/14] Update .github/workflows/dbdocs.yml Co-authored-by: Sean Fern --- .github/workflows/dbdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index e87e1d48a..5c2b06ade 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -33,7 +33,7 @@ jobs: - name: Generate DB docs run: make dbdocs - - uses: EndBug/add-and-commit@v9 + - uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4 with: add: dbdocs message: "Generate dbdocs" From 7e00c0b39a23127938a0a3458317416def7cff2f Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Wed, 25 Sep 2024 10:47:12 -0400 Subject: [PATCH 14/14] Update dbdocs.yml --- .github/workflows/dbdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dbdocs.yml b/.github/workflows/dbdocs.yml index 5c2b06ade..e75f7cc21 100644 --- a/.github/workflows/dbdocs.yml +++ b/.github/workflows/dbdocs.yml @@ -41,4 +41,4 @@ jobs: - name: Cleanup secrets if: always() - run: rm -r shared_files/decrypted + run: rm -r shared_files/decrypted shared_files/encrypted .vault_password