-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ci/#10 scenarios expressief documenteren #97
Ci/#10 scenarios expressief documenteren #97
Conversation
…n-stepdefs-ouder.js
…ouder 1 en ouder 2
…id met ouder 1 en 2 gehuwd
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,P,000000012,19940923,Voorbeeld | | ||
| | kind-1 | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,K,000000036,20070923 | | ||
| 2 | ouder-1-1 | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,1,000000012,19940923,Voorbeeld | | ||
| | inschrijving | INSERT INTO public.lo3_pl(pl_id,mutatie_dt,geheim_ind) VALUES((SELECT COALESCE(MAX(pl_id), 0)+1 FROM public.lo3_pl),current_timestamp,$1) RETURNING * | 0 | |
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.
deze moet denk ik naar boven, want de pl_id die hieruit komt heb je nodig voor een aantal inserts
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.
inschrijving is verplaatst naar boven
| stap | categorie | text | values | | ||
| 1 | inschrijving | INSERT INTO public.lo3_pl(pl_id,mutatie_dt,geheim_ind) VALUES((SELECT COALESCE(MAX(pl_id), 0)+1 FROM public.lo3_pl),current_timestamp,$1) RETURNING * | 0 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,voor_naam) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,P,000000036,P1 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,P,000000012,19940923,Voorbeeld | |
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.
dit is de tweede persoon die je toevoegt, dus moet een andere pl_id krijgen: 10000
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.
voor 1e persoon wordt nu pl_id 9999 gehanteerd, 2e persoon krijgt pl_id 10000 en evt 3e persoon pl_id 10001
| stap | categorie | text | values | | ||
| 1 | inschrijving | INSERT INTO public.lo3_pl(pl_id,mutatie_dt,geheim_ind) VALUES((SELECT COALESCE(MAX(pl_id), 0)+1 FROM public.lo3_pl),current_timestamp,$1) RETURNING * | 0 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,voor_naam) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,P,000000036,P1 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,P,000000012,19940923,Voorbeeld | |
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.
ik denk dat het handig is dat de ouder als geslachtsnaam de naam krijgt die je opgeeft, in dit geval 'P2'
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.
gewijzigd in stap-definities, aanduiding wordt bij ouder ingevuld als geslachtsnaam
| 1 | inschrijving | INSERT INTO public.lo3_pl(pl_id,mutatie_dt,geheim_ind) VALUES((SELECT COALESCE(MAX(pl_id), 0)+1 FROM public.lo3_pl),current_timestamp,$1) RETURNING * | 0 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,voor_naam) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,P,000000036,P1 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,P,000000012,19940923,Voorbeeld | | ||
| | kind-1 | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,K,000000036,20070923 | |
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.
ik denk dat je hier de gegevens van de persoon moet overnemen. Dus in dit voorbeeld voornaam=P1, geboortedatum=null.
Wanneer er eerder een stap "is minderjarig" of "is meerderjarig" is opgegeven zou wel die geboortedatum gevuld worden
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.
step_definition hiervan is aangepast zodat geboortedatum leeg blijft indien niet vermeld
| 1 | inschrijving | INSERT INTO public.lo3_pl(pl_id,mutatie_dt,geheim_ind) VALUES((SELECT COALESCE(MAX(pl_id), 0)+1 FROM public.lo3_pl),current_timestamp,$1) RETURNING * | 0 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,voor_naam) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,P,000000036,P1 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,P,000000012,19940923,Voorbeeld | | ||
| | kind-1 | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,K,000000036,20070923 | |
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.
de pl_id moet horen bij de ouder P1. dat is de tweede persoon die is opgevoerd, dus pl_id=10000
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.
pl_id aangepast zodat het overeenkomt met de tweede persoon
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,voor_naam) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,P,000000036,P1 | | ||
| | persoon | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,P,000000012,19940923,Voorbeeld | | ||
| | kind-1 | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum) VALUES($1,$2,$3,$4,$5,$6) | 9999,0,0,K,000000036,20070923 | | ||
| 2 | ouder-1-1 | INSERT INTO public.lo3_pl_persoon(pl_id,stapel_nr,volg_nr,persoon_type,burger_service_nr,geboorte_datum,geslachts_naam) VALUES($1,$2,$3,$4,$5,$6,$7) | 9999,0,0,1,000000012,19940923,Voorbeeld | |
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.
zie eerdere opmerking: ik denk dat het handig is dat de ouder als geslachtsnaam de naam krijgt die je opgeeft, in dit geval 'P2' (in plaats van 'Voorbeeld')
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.
stap-definitie aangepast: ipv 'Voorbeeld' word de aanduiding als geslachtsnaam gebruikt
… inschrijving pl_id fix
…thub.com/BRP-API/brp-api-gezag into ci/#10-scenarios-expressief-documenteren
…lidatie toegevoegd
…thub.com/BRP-API/brp-api-gezag into ci/#10-scenarios-expressief-documenteren
aangezien adoptie nu wel zo'n beetje goed is heb ik de volgende feature toegevoegd: recente gebeurtenis hertrouwen. In het eerste scenario (features/gezag-minderjarige/3.1-recente-gebeurtenis-hertrouwen.feature:68) gaat er iets niet helemaal goed. |
ik heb hiervoor issue #131 gemaakt, zodat deze PR gewoon gemerged kan worden |
ik heb de features ook weggehaald zodat deze PR zonder features bestanden kan worden gemerged |
No description provided.