-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: enrollment with Backoffice API (#1905)
- Loading branch information
Showing
13 changed files
with
218 additions
and
857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
benefits/core/migrations/0002_paymentprocessor_backoffice_api.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Generated by Django 5.0.2 on 2024-03-07 21:38 | ||
|
||
import benefits.core.models | ||
import benefits.secrets | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="api_access_token_endpoint", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="api_access_token_request_key", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="api_access_token_request_val", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="client_cert", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="client_cert_private_key", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="client_cert_root_ca", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="customer_endpoint", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="customers_endpoint", | ||
), | ||
migrations.RemoveField( | ||
model_name="paymentprocessor", | ||
name="group_endpoint", | ||
), | ||
migrations.AddField( | ||
model_name="paymentprocessor", | ||
name="audience", | ||
field=models.TextField(default="audience"), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name="paymentprocessor", | ||
name="client_id", | ||
field=models.TextField(default="client_id"), | ||
preserve_default=False, | ||
), | ||
migrations.AddField( | ||
model_name="paymentprocessor", | ||
name="client_secret_name", | ||
field=benefits.core.models.SecretNameField( | ||
default="client-secret-name", max_length=127, validators=[benefits.secrets.SecretNameValidator()] | ||
), | ||
preserve_default=False, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.