Skip to content

Commit 38d75d3

Browse files
committed
chore: update local_fixtures with new models/fields
1 parent 01b0728 commit 38d75d3

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

benefits/core/migrations/local_fixtures.json

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,15 @@
142142
"private_key": 6
143143
}
144144
},
145+
{
146+
"model": "core.eligibilityapiconfig",
147+
"pk": 1,
148+
"fields": {
149+
"api_id": "cst",
150+
"api_private_key": 2,
151+
"api_public_key": 3
152+
}
153+
},
145154
{
146155
"model": "core.transitagency",
147156
"pk": 1,
@@ -152,9 +161,7 @@
152161
"long_name": "California State Transit (local)",
153162
"info_url": "https://www.agency-website.com",
154163
"phone": "1-800-555-5555",
155-
"eligibility_api_id": "cst",
156-
"eligibility_api_private_key": 2,
157-
"eligibility_api_public_key": 3,
164+
"eligibility_api_config": 1,
158165
"staff_group": 2,
159166
"customer_service_group": 2,
160167
"logo_large": "agencies/cst-lg.png",
@@ -211,6 +218,20 @@
211218
"pk": 5,
212219
"fields": { "group_id": "30027174-bc59-40bb-935c-3bd9b1c26a63" }
213220
},
221+
{
222+
"model": "core.eligibilityapiverificationrequest",
223+
"pk": 1,
224+
"fields": {
225+
"label": "agency_card",
226+
"api_url": "http://server:8000/verify",
227+
"api_auth_header": "X-Server-API-Key",
228+
"api_auth_key_secret_name": "agency-card-flow-api-auth-key",
229+
"api_public_key": 1,
230+
"api_jwe_cek_enc": "A256CBC-HS512",
231+
"api_jwe_encryption_alg": "RSA-OAEP",
232+
"api_jws_signing_alg": "RS256"
233+
}
234+
},
214235
{
215236
"model": "core.enrollmentflow",
216237
"pk": 1,
@@ -247,14 +268,8 @@
247268
"fields": {
248269
"system_name": "agency_card",
249270
"label": "Agency Cardholder",
271+
"api_request": 1,
250272
"display_order": 4,
251-
"eligibility_api_url": "http://server:8000/verify",
252-
"eligibility_api_auth_header": "X-Server-API-Key",
253-
"eligibility_api_auth_key_secret_name": "agency-card-flow-api-auth-key",
254-
"eligibility_api_public_key": 1,
255-
"eligibility_api_jwe_cek_enc": "A256CBC-HS512",
256-
"eligibility_api_jwe_encryption_alg": "RSA-OAEP",
257-
"eligibility_api_jws_signing_alg": "RS256",
258273
"supported_enrollment_methods": ["digital"],
259274
"transit_agency": 1
260275
}

0 commit comments

Comments
 (0)