new branch for the implementation of the event feedbacks
This commit is contained in:
parent
9404779389
commit
23995486be
|
@ -18,6 +18,13 @@ CREATE TABLE topic_types (
|
|||
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"
|
||||
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