Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #557 from findy-network/add-dyn-to-core-paths
Browse files Browse the repository at this point in the history
Add dyn path to core.
  • Loading branch information
lauravuo authored Apr 3, 2024
2 parents 897da87 + e4700f8 commit b0d452c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aws-ecs/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Port } from "aws-cdk-lib/aws-ec2";

export const apiPaths = {
authPaths: ["/register/*", "/login/*", "/attestation/*", "/assertion/*"],
corePaths: ["/api/*", "/ca-api/*", "/ca-apiws/*", "/a2a/*"],
corePaths: ["/api/*", "/ca-api/*", "/ca-apiws/*", "/a2a/*", "/dyn*"],
vaultPaths: ["/query*"],
};

Expand Down
1 change: 1 addition & 0 deletions aws-ecs/test/__snapshots__/backend.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,7 @@ exports[`Backend Created 1`] = `
"/ca-api/*",
"/ca-apiws/*",
"/a2a/*",
"/dyn*",
],
},
},
Expand Down
28 changes: 28 additions & 0 deletions aws-ecs/test/__snapshots__/frontend.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,34 @@ exports[`Frontend Created 1`] = `
"TargetOriginId": "origin2",
"ViewerProtocolPolicy": "redirect-to-https",
},
{
"AllowedMethods": [
"DELETE",
"GET",
"HEAD",
"OPTIONS",
"PATCH",
"POST",
"PUT",
],
"CachedMethods": [
"GET",
"HEAD",
],
"Compress": true,
"ForwardedValues": {
"Cookies": {
"Forward": "all",
},
"Headers": [
"*",
],
"QueryString": true,
},
"PathPattern": "/dyn*",
"TargetOriginId": "origin2",
"ViewerProtocolPolicy": "redirect-to-https",
},
{
"AllowedMethods": [
"DELETE",
Expand Down
6 changes: 3 additions & 3 deletions docker-compose/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ up: down von-up agency
up-d: down von-up agency-d

down: clone
docker-compose down
docker compose down
cd .docker/von-network && ./manage down

# resolve docker host similarly as is done in von-network
Expand Down Expand Up @@ -37,10 +37,10 @@ ledger-ready:
curl http://localhost:9000/genesis > conf/genesis.txt

agency: gen-cert ledger-ready
docker-compose up
docker compose up

agency-d: gen-cert ledger-ready
docker-compose up -d
docker compose up -d

cli-login:
-findy-agent-cli authn register --config config.yaml
Expand Down

0 comments on commit b0d452c

Please sign in to comment.