Skip to content

Commit

Permalink
fix the SRM api issue (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
raylrui authored Dec 6, 2024
1 parent bb61f87 commit 1d0fca8
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
18 changes: 18 additions & 0 deletions lib/workload/stateless/stacks/sequence-run-manager/deploy/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,24 @@ export class SequenceRunManagerStack extends Stack {
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.GET),
});

new HttpRoute(this, 'PostHttpRoute', {
httpApi: httpApi,
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.POST),
});

new HttpRoute(this, 'PatchHttpRoute', {
httpApi: httpApi,
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.PATCH),
});

new HttpRoute(this, 'DeleteHttpRoute', {
httpApi: httpApi,
integration: apiIntegration,
routeKey: HttpRouteKey.with('/{proxy+}', HttpMethod.DELETE),
});
}

private createProcSqsHandler() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 5.1.2 on 2024-12-06 00:06

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("sequence_run_manager", "0001_initial"),
]

operations = [
migrations.AlterField(
model_name="sequence",
name="run_folder_path",
field=models.TextField(blank=True, null=True),
),
]
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ class Meta:
null=False, blank=False
) # legacy `gds_volume_name`
run_folder_path = models.TextField(
null=False, blank=False
) # legacy `gds_folder_path`
null=True, blank=True
) # legacy `gds_folder_path`, nullable as ICAv2 event upgrade
run_data_uri = models.TextField(
null=False, blank=False
) # must be absolute path, including URI scheme/protocol
Expand Down

0 comments on commit 1d0fca8

Please sign in to comment.