Skip to content

Commit

Permalink
chore: rename to deployapi
Browse files Browse the repository at this point in the history
  • Loading branch information
Alxandr committed Oct 8, 2024
1 parent cd8107d commit 1b95c7c
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions infra/deploy/auth/variables.tf
Original file line number Diff line number Diff line change
@@ -107,8 +107,8 @@ variable "services" {
},
{
domain = "api"
path = "/bootstrapper"
hostname = "bootstrapper"
path = "/deployapi"
hostname = "deployapi"
}
]

2 changes: 1 addition & 1 deletion src/apps/Altinn.Authorization.DeployApi/deploy/main.tf
Original file line number Diff line number Diff line change
@@ -32,6 +32,6 @@ module "app" {

instance = var.instance
environment = var.environment
name = "bootstrapper"
name = "deployapi"
image = var.image
}
4 changes: 2 additions & 2 deletions src/apps/Altinn.Authorization.DeployApi/metadata.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"image_name": "altinn-authorization-bootstrapper"
}
"image_name": "altinn-authorization-deployapi"
}
Original file line number Diff line number Diff line change
@@ -31,6 +31,6 @@

var app = builder.Build();

app.MapPost("bootstrapper/api/v1/databases", (BootstrapDatabasePipeline pipeline, HttpContext context) => pipeline.Run(context));
app.MapPost("deployapi/api/v1/database/bootstrap", (BootstrapDatabasePipeline pipeline, HttpContext context) => pipeline.Run(context));

app.Run();

0 comments on commit 1b95c7c

Please sign in to comment.