broker_feedbacks #16
|
@ -18,6 +18,13 @@ CREATE TABLE topic_types (
|
||||||
regex text UNIQUE NOT NULL
|
regex text UNIQUE NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE feedbacks (
|
||||||
|
eventid text PRIMARY KEY,
|
||||||
|
status text NOT NULL,
|
||||||
|
creation_date timestamp without time zone DEFAULT now(),
|
||||||
|
modification_date timestamp without time zone DEFAULT now()
|
||||||
|
);
|
||||||
|
|
||||||
-- curl "http://localhost:8080/api/topic-types/add" -d "name=ENRICH&expression=ENRICH%2F%3Ccond%3E%2F%3Cfield%3E&producerId=OpenAIRE&mapKeys=targetDatasourceName"
|
-- curl "http://localhost:8080/api/topic-types/add" -d "name=ENRICH&expression=ENRICH%2F%3Ccond%3E%2F%3Cfield%3E&producerId=OpenAIRE&mapKeys=targetDatasourceName"
|
||||||
INSERT INTO public.topic_types (id, name, expression, map_keys, producer_id, regex) VALUES ('tt-a739fa2b-fde0-4eb2-bcee-6e7f277347db', 'ENRICH', 'ENRICH/<cond>/<field>', 'targetDatasourceName', 'OpenAIRE', '^ENRICH\/[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$');
|
INSERT INTO public.topic_types (id, name, expression, map_keys, producer_id, regex) VALUES ('tt-a739fa2b-fde0-4eb2-bcee-6e7f277347db', 'ENRICH', 'ENRICH/<cond>/<field>', 'targetDatasourceName', 'OpenAIRE', '^ENRICH\/[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue