Skip to content

Uniform Resource Ingest Resource Path Match Rule

Description

A regular expression can determine the flags to apply to an ingestion path
and if the regular expr contains a nature capture group that pattern match
will assign the nature too.

Table Definition
CREATE TABLE "ur_ingest_resource_path_match_rule" (
"ur_ingest_resource_path_match_rule_id" VARCHAR PRIMARY KEY NOT NULL,
"namespace" TEXT NOT NULL,
"regex" TEXT NOT NULL,
"flags" TEXT NOT NULL,
"nature" TEXT,
"priority" TEXT,
"description" TEXT,
"elaboration" TEXT CHECK(json_valid(elaboration) OR elaboration IS NULL),
"created_at" TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP,
"created_by" TEXT DEFAULT 'UNKNOWN',
"updated_at" TIMESTAMPTZ,
"updated_by" TEXT,
"deleted_at" TIMESTAMPTZ,
"deleted_by" TEXT,
"activity_log" TEXT,
UNIQUE("namespace", "regex")
)

Columns

NameTypeDefaultNullableComment
ur_ingest_resource_path_match_rule_idVARCHARfalse{“isSqlDomainZodDescrMeta”:true,“isVarChar”:true}
namespaceTEXTfalse
regexTEXTfalse
flagsTEXTfalse
natureTEXTtrue
priorityTEXTtrue
descriptionTEXTtrue
elaborationTEXTtrue{“isSqlDomainZodDescrMeta”:true,“isJsonText”:true}
created_atTIMESTAMPTZCURRENT_TIMESTAMPtrue
created_byTEXT’UNKNOWN’true
updated_atTIMESTAMPTZtrue
updated_byTEXTtrue
deleted_atTIMESTAMPTZtrue
deleted_byTEXTtrue
activity_logTEXTtrue{“isSqlDomainZodDescrMeta”:true,“isJsonSqlDomain”:true}

Constraints

NameTypeDefinition
ur_ingest_resource_path_match_rule_idPRIMARY KEYPRIMARY KEY (ur_ingest_resource_path_match_rule_id)
sqlite_autoindex_ur_ingest_resource_path_match_rule_2UNIQUEUNIQUE (namespace, regex)
sqlite_autoindex_ur_ingest_resource_path_match_rule_1PRIMARY KEYPRIMARY KEY (ur_ingest_resource_path_match_rule_id)
-CHECKCHECK(json_valid(elaboration) OR elaboration IS NULL)

Indexes

NameDefinition
sqlite_autoindex_ur_ingest_resource_path_match_rule_2UNIQUE (namespace, regex)
sqlite_autoindex_ur_ingest_resource_path_match_rule_1PRIMARY KEY (ur_ingest_resource_path_match_rule_id)

Relations

er