51 lines
1.3 KiB
SQL
51 lines
1.3 KiB
SQL
--
|
|
-- $Id$
|
|
--
|
|
-- Technisch adres instellen bij Poortcentraal, naar accepatie
|
|
|
|
DEFINE thisfile = 'post-imp_FMHN_accp.sql'
|
|
DEFINE dbuser = 'FMHN_TEST'
|
|
|
|
SET ECHO ON
|
|
SET DEFINE ON
|
|
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
|
|
COLUMN fcltcusterr NEW_VALUE fcltcusterr NOPRINT;
|
|
WHENEVER SQLERROR CONTINUE;
|
|
SELECT adm.getscriptspoolfile('&thisfile') AS fcltlogfile FROM DUAL;
|
|
SPOOL &fcltlogfile
|
|
WHENEVER SQLERROR EXIT;
|
|
SELECT adm.checkscriptcust('&dbuser') AS fcltcusterr FROM DUAL;
|
|
WHENEVER SQLERROR CONTINUE;
|
|
PROMPT &fcltcusterr
|
|
SET DEFINE OFF
|
|
|
|
------ payload begin ------
|
|
|
|
BEGIN
|
|
UPDATE prs_bedrijfadres
|
|
SET prs_bedrijfadres_url =
|
|
'file:d:\Apps\Facilitor\FMHN_A\CUST\FMHN\export\NPQ\'
|
|
WHERE prs_bedrijfadres_key = 101; -- Technisch adres bij relatie PoortCentraal
|
|
|
|
--SAML Identity provider omzetten naar acceptatie
|
|
UPDATE aut_idp
|
|
SET aut_idp_issuer =
|
|
'https://engine.spbroker-acp.bzk.sson.overheid-i.nl/authentication/idp/metadata'
|
|
WHERE lower (aut_idp_issuer) =
|
|
'https://engine.spbroker-prd.bzk.sson.overheid-i.nl/authentication/idp/metadata';
|
|
|
|
END;
|
|
/
|
|
|
|
------ payload end ------
|
|
|
|
SET DEFINE OFF
|
|
BEGIN adm.systrackscriptId ('$Id$', 1); END;
|
|
/
|
|
|
|
COMMIT;
|
|
SET ECHO OFF
|
|
SPOOL OFF
|
|
SET DEFINE ON
|
|
PROMPT Logfile of this upgrade is: &fcltlogfile
|