-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lmb 557 | email for not bekrachtigd mandataris #218
base: master
Are you sure you want to change the base?
Changes from 6 commits
4a36e5e
0e82b69
ff710b8
4d0b512
6581734
1f02712
d945376
bed91d7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
PREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#> | ||
PREFIX lmb: <http://lblod.data.gift/vocabularies/lmb/> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
|
||
INSERT { | ||
GRAPH ?graph { | ||
?mandataris lmb:effectiefAt "2024-09-18T13:13:00.007Z"^^xsd:dateTime. | ||
} | ||
} | ||
WHERE { | ||
GRAPH ?graph { | ||
?mandataris a mandaat:Mandataris; | ||
lmb:hasPublicationStatus <http://data.lblod.info/id/concept/MandatarisPublicationStatusCode/d3b12468-3720-4cb0-95b4-6aa2996ab188> . # Effectief mandataris-publication-status-code | ||
} | ||
FILTER NOT EXISTS { | ||
?graph a <http://mu.semte.ch/vocabularies/ext/FormHistory> | ||
} | ||
FILTER NOT EXISTS { | ||
?graph a <http://mu.semte.ch/graphs/public> | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# FROM https://github.com/aatauil/app-deliver-email/blob/master/config/migrations/20190122110800-mailbox-folders.sparql | ||
INSERT DATA { | ||
GRAPH <http://mu.semte.ch/graphs/system/email> { | ||
<http://data.lblod.info/id/mailboxes/1> a <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Mailbox>; | ||
<http://mu.semte.ch/vocabularies/core/uuid> "cf9cb7e4-9a00-4855-9ee0-e8e3bbeba9e9"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart> <http://data.lblod.info/id/mail-folders/1>; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart> <http://data.lblod.info/id/mail-folders/2>; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart> <http://data.lblod.info/id/mail-folders/3>; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart> <http://data.lblod.info/id/mail-folders/4>; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart> <http://data.lblod.info/id/mail-folders/5>; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart> <http://data.lblod.info/id/mail-folders/6>. | ||
|
||
<http://data.lblod.info/id/mail-folders/1> a <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder>; | ||
<http://mu.semte.ch/vocabularies/core/uuid> "891c67e5-4719-47f8-aec2-d898ba2c09e8"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#title> "inbox"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description> "Your incoming mail goes here.". | ||
|
||
<http://data.lblod.info/id/mail-folders/2> a <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder>; | ||
<http://mu.semte.ch/vocabularies/core/uuid> "786a8cb0-4452-40f5-b8d8-046dd2d63281"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#title> "outbox"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description> "Your outgoing mail goes here.". | ||
|
||
<http://data.lblod.info/id/mail-folders/3> a <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder>; | ||
<http://mu.semte.ch/vocabularies/core/uuid> "a6fb03f9-11be-4401-9d8f-b4dc0e9df5ee"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#title> "sentbox"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description> "Your sent mail goes here.". | ||
|
||
|
||
<http://data.lblod.info/id/mail-folders/4> a <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder>; | ||
<http://mu.semte.ch/vocabularies/core/uuid> "a430a848-e595-49fa-bc11-f5579605877f"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#title> "sending"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description> "Your mail goes here while being sent.". | ||
|
||
<http://data.lblod.info/id/mail-folders/5> a <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder>; | ||
<http://mu.semte.ch/vocabularies/core/uuid> "0cb108a9-1c0d-4c0a-bf53-60e304116e47"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#title> "drafts"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description> "Your draft goes here.". | ||
|
||
<http://data.lblod.info/id/mail-folders/6> a <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder>; | ||
<http://mu.semte.ch/vocabularies/core/uuid> "70c0baba-17a0-11eb-adc1-0242ac120002"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#title> "failbox"; | ||
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description> "Your email that failed while sending goes here.". | ||
|
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,3 +92,21 @@ services: | |
restart: "no" | ||
authorization-wrapper: | ||
restart: "no" | ||
deliver-email: | ||
image: local-deliver-email-service:latest | ||
restart: "no" | ||
ports: | ||
- 8888:80 | ||
- 9223:9229 | ||
environment: | ||
NODE_ENV: "development" | ||
WELL_KNOWN_SERVICE: "test" | ||
EMAIL_CRON_PATTERN: "* * * * *" | ||
CRON_FREQUENCY,: "* * * * *" | ||
LOG_ERRORS: true | ||
MAILBOX_URI: 'http://data.lblod.info/id/mailboxes/1' | ||
SECURE_CONNECTION: "true" | ||
EMAIL_ADDRESS: "[email protected]" | ||
EMAIL_PASSWORD: "myemailpassword" | ||
FROM_NAME: "Testmailer" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove these as not needed for test mode |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -230,3 +230,21 @@ services: | |
- ./config/sparql-authorization-wrapper:/config | ||
restart: always | ||
logging: *default-logging | ||
deliver-email: | ||
image: redpencil/deliver-email-service:0.3.3 | ||
profiles: | ||
- send-emails | ||
environment: | ||
MAILBOX_URI: 'http://data.lblod.info/id/mailboxes/1' | ||
SECURE_CONNECTION: "true" | ||
EMAIL_PROTOCOL: "smtp" | ||
EMAIL_ADDRESS: "[email protected]" | ||
EMAIL_PASSWORD: "myemailpassword" | ||
FROM_NAME: "Lokaal Mandatenbeheer" | ||
Comment on lines
+241
to
+243
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Create ticket for Tim fore these values There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. None of these are set in this project (https://github.com/lblod/app-complaint-form/blob/6ec0880bac51e5b0a2aaa60af784d42de7f06aad/docker-compose.yml#L114) this is done in the pipeline? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Checked with Achraf: "rechtstreeks op server. Worden gewoon in database opgeslagen. Geen injecties of pipelines of dergelijke" |
||
NODE_ENV: "production" | ||
labels: | ||
- "logging=true" | ||
restart: always | ||
volumes: | ||
- ./data/mail:/share | ||
logging: *default-logging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once the PR redpencilio/deliver-email-service#11 is merged and a new version is published the image here needs to be updated