-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1994 from openedx/hamza/ENT-8276-record-corner-st…
…one-api-calls feat: update cornerstone client to store API calls in DB
- Loading branch information
Showing
12 changed files
with
247 additions
and
71 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
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
Your project description goes here. | ||
""" | ||
|
||
__version__ = "4.11.2" | ||
__version__ = "4.11.3" |
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
16 changes: 16 additions & 0 deletions
16
integrated_channels/cornerstone/migrations/0032_delete_cornerstoneapirequestlogs.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,16 @@ | ||
# Generated by Django 3.2.22 on 2024-01-25 09:25 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('cornerstone', '0031_cornerstoneapirequestlogs'), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name='CornerstoneAPIRequestLogs', | ||
), | ||
] |
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
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
36 changes: 36 additions & 0 deletions
36
...nnels/integrated_channel/migrations/0031_alter_integratedchannelapirequestlogs_options.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,36 @@ | ||
# Generated by Django 3.2.22 on 2024-01-25 09:25 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('integrated_channel', '0030_integratedchannelapirequestlogs'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='integratedchannelapirequestlogs', | ||
options={'verbose_name_plural': 'Integrated channels API request logs'}, | ||
), | ||
migrations.RemoveField( | ||
model_name='integratedchannelapirequestlogs', | ||
name='api_record', | ||
), | ||
migrations.AddField( | ||
model_name='integratedchannelapirequestlogs', | ||
name='response_body', | ||
field=models.TextField(blank=True, help_text='API call response body', null=True), | ||
), | ||
migrations.AddField( | ||
model_name='integratedchannelapirequestlogs', | ||
name='status_code', | ||
field=models.PositiveIntegerField(blank=True, help_text='API call response HTTP status code', null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='integratedchannelapirequestlogs', | ||
name='time_taken', | ||
field=models.FloatField(), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
...nels/integrated_channel/migrations/0032_alter_integratedchannelapirequestlogs_endpoint.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,18 @@ | ||
# Generated by Django 3.2.22 on 2024-01-29 13:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('integrated_channel', '0031_alter_integratedchannelapirequestlogs_options'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='integratedchannelapirequestlogs', | ||
name='endpoint', | ||
field=models.URLField(max_length=255), | ||
), | ||
] |
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.