@@ -115,32 +115,38 @@ Write-Host ("CSC API staging build: v{0}" -f $VERSION)
115115
116116# ----------- LA DfE Config START -----------
117117
118- # LA's to replace details in quotes below with your LA's credentials as supplied by DfE API portal
119- # from https://pp-find-and-use-an-api.education.gov.uk/ (once logged in), transfer the following details into the quotes:
118+ # LA's to replace the following details( in quotes) with your LA's credentials as supplied by DfE API portal
119+ # from https://pp-find-and-use-an-api.education.gov.uk/ (logged in)
120120
121+ # Base URL TEST
122+ $api_endpoint = " https://pp-api.education.gov.uk/children-in-social-care-data-receiver-test/1"
121123
122- $api_endpoint = " https://pp-api.education.gov.uk/children-in-social-care-data-receiver-test/1" # 'Base URL' -test set as default, change when moving to PP/Production
124+ # Base URL PP/Live (switch over only when sending live records)
125+ # $api_endpoint = "https://pp-api.education.gov.uk/children-in-social-care-data-receiver/1"
123126
124- # From the 'Native OAuth Application-flow' block
125- $client_id = " OAUTH_CLIENT_ID_CODE" # 'OAuth Client ID'
126- $client_secret = " NATIVE_OAUTH_PRIMARY_KEY_CODE" # 'Native OAuth Application-flow' - 'Primary key' or 'Secondary key'
127- $scope = " OAUTH_SCOPE_LINK" # 'OAuth Scope'
128- $token_endpoint = " OAUTH_TOKEN_ENDPOINT" # From the 'Native OAuth Application-flow' block - 'OAuth token endpoint'
129127
130- # From 'subscription key' block
131- $supplier_key = " SUBSCRIPTION_PRIMARY_KEY_CODE" # From the 'subscription key' block - 'Primary key' or 'Secondary key'
128+ # 'Subscription key' block
129+ $supplier_key = " SUBSCRIPTION_PRIMARY_KEY_CODE" # 'Primary key' or 'Secondary key'
130+
131+ # 'Native OAuth Application-flow' block
132+ $token_endpoint = " OAUTH_TOKEN_ENDPOINT" # 'OAuth token endpoint'
132133
134+ $client_id = " OAUTH_CLIENT_ID_CODE" # 'OAuth Client ID'
135+ $client_secret = " NATIVE_OAUTH_PRIMARY_KEY_CODE" # 'Primary key' or 'Secondary key'
136+ $scope = " OAUTH_SCOPE_LINK" # 'OAuth Scope'
133137
134138# -- DfE Config END --
135139
136140# LA specifics
137141$la_code = " 000" # Change to your 3 digit LA code(within quotes)
138- $la_proxy = $null # LA default proxy ($null or '' disables, or http://proxy.myLA.local:8080)
139142
140143# LA SQL Server target
141144$server = " ESLLREPORTS04V" # example
142145$database = " HDM_Local" # SystemC default
143146
147+ # Only some LAs will need to set this
148+ $la_proxy = $null # LA default proxy ($null or '' disables, or use such as "http://proxy.myLA.local:8080")
149+
144150# payload table (_anon is non-live default)
145151$api_data_staging_table = " ssd_api_data_staging_anon" # live: ssd_api_data_staging | test: _anon
146152
0 commit comments