Commit ee847d78 authored by Alexis Ragot's avatar Alexis Ragot
Browse files

Merge branch 'develop' into 'master'

fix sql data

See merge request maarch/archivesPubliques!7
parents 590872dd 7eb09736
......@@ -10,4 +10,4 @@ INSERT INTO "medona"."controlAuthority"("originatorOrgUnitId", "controlAuthority
('*','AD_92_AC');
INSERT INTO "medona"."message"("messageId", "schema", "type", "status", "date", "reference", "accountId", "senderOrgRegNumber", "senderOrgName", "recipientOrgRegNumber", "recipientOrgName", "data", "active", "archived", "isIncoming") VALUES
('modele_seda_v1', 'seda', 'ArchiveTransfer', 'template', '2018-02-19 18:21:50', 'Modèle de démonstration', 'bblier', 'org_987654321_DGS_SA', 'Service Administratif', 'org_123456789_Archives', 'Archivage, Conservation et Mémoire Électronique', '{"transferIdentifier":{"value":"Mod\u00e8le de d\u00e9monstration"},"archivalAgency":{"name":"Archivage, Conservation et M\u00e9moire \u00c9lectronique","identification":{"value":"org_123456789_Archives"}},"transferringAgency":{"name":"Service Administratif","identification":{"value":"org_987654321_DGS_SA"}},"comment":[],"archive":[{"id":"maarchRM_p4eqwe-0851-wzurkv","descriptionLanguage":"fra","name":"D\u00e9claration","accessRestrictionRule":{"code":"AR038","startDate":"2018-02-21"},"serviceLevel":[{"value":"serviceLevel_001"}],"contentDescription":{"descriptionLevel":"item","language":["fra"],"originatingAgency":[{"identification":{"value":"org_987654321_DGS"},"name":"Direction G\u00e9n\u00e9rale des Services"}]},"appraisalRule":{"code":"conserver","duration":"P5Y","startDate":"2002-05-02"},"document":[]},{"id":"maarchRM_p4eqwe-00d5-qzbilp","descriptionLanguage":"fra","name":"Factures","accessRestrictionRule":{"code":"AR038","startDate":"2018-02-21"},"serviceLevel":[{"value":"serviceLevel_002"}],"contentDescription":{"descriptionLevel":"item","language":["fra"],"originatingAgency":[{"identification":{"value":"org_987654321_DGS_SF"},"name":"Service des Finances"}]},"appraisalRule":{"code":"detruire","duration":"P3Y","startDate":"2017-05-02"},"document":[]}],"date":"2018-02-19T18:21:50Z"}', TRUE, FALSE, TRUE);
\ No newline at end of file
('modele_seda_v1', 'seda', 'ArchiveTransfer', 'template', '2018-02-19 18:21:50', 'Modèle de démonstration', 'cchaplin', 'org_987654321_DGS_SA', 'Service Administratif', 'org_123456789_Archives', 'Archivage, Conservation et Mémoire Électronique', '{"transferIdentifier":{"value":"Mod\u00e8le de d\u00e9monstration"},"archivalAgency":{"name":"Archivage, Conservation et M\u00e9moire \u00c9lectronique","identification":{"value":"org_123456789_Archives"}},"transferringAgency":{"name":"Service Administratif","identification":{"value":"org_987654321_DGS_SA"}},"comment":[],"archive":[{"id":"maarchRM_p4eqwe-0851-wzurkv","descriptionLanguage":"fra","name":"D\u00e9claration","accessRestrictionRule":{"code":"AR038","startDate":"2018-02-21"},"serviceLevel":[{"value":"serviceLevel_001"}],"contentDescription":{"descriptionLevel":"item","language":["fra"],"originatingAgency":[{"identification":{"value":"org_987654321_DGS"},"name":"Direction G\u00e9n\u00e9rale des Services"}]},"appraisalRule":{"code":"conserver","duration":"P5Y","startDate":"2002-05-02"},"document":[]},{"id":"maarchRM_p4eqwe-00d5-qzbilp","descriptionLanguage":"fra","name":"Factures","accessRestrictionRule":{"code":"AR038","startDate":"2018-02-21"},"serviceLevel":[{"value":"serviceLevel_002"}],"contentDescription":{"descriptionLevel":"item","language":["fra"],"originatingAgency":[{"identification":{"value":"org_987654321_DGS_SF"},"name":"Service des Finances"}]},"appraisalRule":{"code":"detruire","duration":"P3Y","startDate":"2017-05-02"},"document":[]}],"date":"2018-02-19T18:21:50Z"}', TRUE, FALSE, TRUE);
\ No newline at end of file
......@@ -25,10 +25,10 @@ INSERT INTO "organization"."orgRole" ("code", "name","description") VALUES
-- Organizations
INSERT INTO "organization"."organization"( "orgId", "orgName", "displayName", "parentOrgId", "ownerOrgId", "orgRoleCodes", "registrationNumber", "isOrgUnit") VALUES
('AD_92', 'Archives départementales des Hauts-de-Maarch', 'Archives départementales des Hauts-de-Maarch', NULL, NULL, NULL, 'org_444555666', false ),
('AD_92', 'Archives Départementales des Hauts-de-Maarch', 'Archives Départementales des Hauts-de-Maarch', NULL, NULL, NULL, 'org_444555666', false ),
('AD_92_DAD', 'Directeur des archives départementales', 'Directeur des archives départementales', 'AD_92', 'AD_92', '', 'org_444555666_DAD', true ),
('AD_92_SHP', 'Service Histoire et Patrimoine', 'Service Histoire et Patrimoine', 'AD_92_DAD', 'AD_92', 'archiver', 'org_444555666_DAD_SHP', true ),
('AD_92_AC', 'Autorité de Contrôle des Archives Départementales', 'Autorités de Contrôle des Archives Départementales', 'AD_92_DAD', 'AD_92', 'controlAuthority', 'org_444555666_DAD_AC', true ),
('AD_92_AC', 'Autorité de Contrôle des Archives Départementales', 'Autorité de Contrôle des Archives Départementales', 'AD_92_DAD', 'AD_92', 'controlAuthority', 'org_444555666_DAD_AC', true ),
('Dep_92', 'Département des Hauts-de-Maarch', 'Département des Hauts-de-Maarch', NULL, NULL, NULL, 'org_92', false ),
('ACME_Archive', 'Archivage, Conservation et Mémoire Électronique','Archivage, Conservation et Mémoire Électronique', 'Dep_92', 'Dep_92', 'archiver owner', 'org_123456789_Archives', true),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment