-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a compass.yml file to manage this repository as a Compass compo…
…nent (#212) * Compass.yml file for config-as-code * chore: linting Signed-off-by: Krishna Waske <[email protected]> * chore: linting Signed-off-by: Krishna Waske <[email protected]> --------- Signed-off-by: Krishna Waske <[email protected]> Co-authored-by: atlassian-compass[bot] <89495476+atlassian-compass[bot]@users.noreply.github.com> Co-authored-by: Krishna Waske <[email protected]>
- Loading branch information
1 parent
8530cd3
commit b1493d9
Showing
5 changed files
with
144 additions
and
133 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: credo-controller | ||
id: ari:cloud:compass:6095931c-8137-4ae1-822a-2d7411835fc7:component/9029b47a-062e-4e25-a761-a2c0fc9ebd98/b6016bde-79c2-4d3f-84cf-b25f27bc50c7 | ||
description: Controller App for Aries Framework JavaScript REST Extension | ||
configVersion: 1 | ||
typeId: SERVICE | ||
ownerId: ari:cloud:identity::team/6fe50e36-8efb-47a6-aab5-ea47bd10ec4e | ||
fields: | ||
tier: 4 | ||
links: | ||
- name: null | ||
type: REPOSITORY | ||
url: https://github.com/credebl/credo-controller | ||
relationships: | ||
DEPENDS_ON: [] | ||
labels: | ||
- aries | ||
- aries-framework-javascript | ||
- decentralized-identity | ||
- language:typescript | ||
- self-sovereign-identity | ||
- source:github | ||
customFields: null |
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 |
---|---|---|
@@ -1,66 +1,59 @@ | ||
{ | ||
"family": "${FAMILY}", | ||
"containerDefinitions": [ | ||
"family": "${FAMILY}", | ||
"containerDefinitions": [ | ||
{ | ||
"name": "Platform-admin", | ||
"image": "%REPOSITORY_URI%:CREDO_v_%BUILD_NUMBER%", | ||
"cpu": 154, | ||
"memory": 307, | ||
"portMappings": [ | ||
{ | ||
"name": "Platform-admin", | ||
"image": "%REPOSITORY_URI%:CREDO_v_%BUILD_NUMBER%", | ||
"cpu": 154, | ||
"memory": 307, | ||
"portMappings": [ | ||
{ | ||
"containerPort": 8001, | ||
"hostPort": 8001, | ||
"protocol": "tcp" | ||
}, | ||
{ | ||
"containerPort": 9001, | ||
"hostPort": 9001, | ||
"protocol": "tcp" | ||
} | ||
], | ||
"essential": true, | ||
"command": [ | ||
"--auto-accept-connections", | ||
"--config", | ||
"/config.json" | ||
], | ||
"environment": [ | ||
{ | ||
"name": "AFJ_REST_LOG_LEVEL", | ||
"value": "1" | ||
} | ||
], | ||
"environmentFiles": [ | ||
{ | ||
"value": "${S3_ARN}", | ||
"type": "s3" | ||
} | ||
], | ||
"mountPoints": [ | ||
{ | ||
"sourceVolume": "config", | ||
"containerPath": "/config.json", | ||
"readOnly": true | ||
} | ||
], | ||
"volumesFrom": [], | ||
"ulimits": [] | ||
"containerPort": 8001, | ||
"hostPort": 8001, | ||
"protocol": "tcp" | ||
}, | ||
{ | ||
"containerPort": 9001, | ||
"hostPort": 9001, | ||
"protocol": "tcp" | ||
} | ||
], | ||
"essential": true, | ||
"command": ["--auto-accept-connections", "--config", "/config.json"], | ||
"environment": [ | ||
{ | ||
"name": "AFJ_REST_LOG_LEVEL", | ||
"value": "1" | ||
} | ||
], | ||
"environmentFiles": [ | ||
{ | ||
"value": "${S3_ARN}", | ||
"type": "s3" | ||
} | ||
|
||
], | ||
"executionRoleArn": "arn:aws:iam::${ACCOUNT_ID}:role/ecsTaskExecutionRole", | ||
"placementConstraints": [], | ||
"requiresCompatibilities": [ | ||
"EC2" | ||
], | ||
"cpu": "154", | ||
"memory": "307", | ||
"volumes": [ | ||
], | ||
"mountPoints": [ | ||
{ | ||
"name": "config", | ||
"host": { | ||
"sourcePath": "${SourcePath}" | ||
} | ||
"sourceVolume": "config", | ||
"containerPath": "/config.json", | ||
"readOnly": true | ||
} | ||
] | ||
], | ||
"volumesFrom": [], | ||
"ulimits": [] | ||
} | ||
], | ||
"executionRoleArn": "arn:aws:iam::${ACCOUNT_ID}:role/ecsTaskExecutionRole", | ||
"placementConstraints": [], | ||
"requiresCompatibilities": ["EC2"], | ||
"cpu": "154", | ||
"memory": "307", | ||
"volumes": [ | ||
{ | ||
"name": "config", | ||
"host": { | ||
"sourcePath": "${SourcePath}" | ||
} | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,76 +1,69 @@ | ||
{ | ||
"family": "${FAMILY}", | ||
"containerDefinitions": [ | ||
"family": "${FAMILY}", | ||
"containerDefinitions": [ | ||
{ | ||
"name": "Platform-admin", | ||
"image": "%REPOSITORY_URI%:CREDO_v_%BUILD_NUMBER%", | ||
"cpu": 0, | ||
"portMappings": [ | ||
{ | ||
"name": "Platform-admin", | ||
"image": "%REPOSITORY_URI%:CREDO_v_%BUILD_NUMBER%", | ||
"cpu": 0, | ||
"portMappings": [ | ||
{ | ||
"containerPort": 8004, | ||
"hostPort": 8004, | ||
"protocol": "tcp" | ||
}, | ||
{ | ||
"containerPort": 9004, | ||
"hostPort": 9004, | ||
"protocol": "tcp" | ||
} | ||
], | ||
"essential": true, | ||
"command": [ | ||
"--auto-accept-connections", | ||
"--config", | ||
"/config/${CONFIG_FILE}" | ||
], | ||
"environment": [ | ||
{ | ||
"name": "AFJ_REST_LOG_LEVEL", | ||
"value": "1" | ||
} | ||
], | ||
"environmentFiles": [ | ||
{ | ||
"value": "${S3_ARN}", | ||
"type": "s3" | ||
} | ||
], | ||
"mountPoints": [ | ||
{ | ||
"sourceVolume": "config", | ||
"containerPath": "/config", | ||
"readOnly": false | ||
} | ||
], | ||
"volumesFrom": [], | ||
"ulimits": [], | ||
"logConfiguration": { | ||
"logDriver": "awslogs", | ||
"options": { | ||
"awslogs-group": "/ecs/${FAMILY}", | ||
"awslogs-create-group": "true", | ||
"awslogs-region": "ap-south-1", | ||
"awslogs-stream-prefix": "ecs" | ||
} | ||
} | ||
"containerPort": 8004, | ||
"hostPort": 8004, | ||
"protocol": "tcp" | ||
}, | ||
{ | ||
"containerPort": 9004, | ||
"hostPort": 9004, | ||
"protocol": "tcp" | ||
} | ||
|
||
], | ||
"executionRoleArn": "arn:aws:iam::${ACCOUNT_ID}:role/ecsTaskExecutionRole", | ||
"networkMode": "awsvpc", | ||
"placementConstraints": [], | ||
"requiresCompatibilities": [ | ||
"FARGATE" | ||
], | ||
"cpu": "1024", | ||
"memory": "2048", | ||
"volumes": [ | ||
], | ||
"essential": true, | ||
"command": ["--auto-accept-connections", "--config", "/config/${CONFIG_FILE}"], | ||
"environment": [ | ||
{ | ||
"name": "AFJ_REST_LOG_LEVEL", | ||
"value": "1" | ||
} | ||
], | ||
"environmentFiles": [ | ||
{ | ||
"name": "config", | ||
"efsVolumeConfiguration": { | ||
"fileSystemId": "${EFS}", | ||
"rootDirectory": "/" | ||
} | ||
"value": "${S3_ARN}", | ||
"type": "s3" | ||
} | ||
] | ||
], | ||
"mountPoints": [ | ||
{ | ||
"sourceVolume": "config", | ||
"containerPath": "/config", | ||
"readOnly": false | ||
} | ||
], | ||
"volumesFrom": [], | ||
"ulimits": [], | ||
"logConfiguration": { | ||
"logDriver": "awslogs", | ||
"options": { | ||
"awslogs-group": "/ecs/${FAMILY}", | ||
"awslogs-create-group": "true", | ||
"awslogs-region": "ap-south-1", | ||
"awslogs-stream-prefix": "ecs" | ||
} | ||
} | ||
} | ||
], | ||
"executionRoleArn": "arn:aws:iam::${ACCOUNT_ID}:role/ecsTaskExecutionRole", | ||
"networkMode": "awsvpc", | ||
"placementConstraints": [], | ||
"requiresCompatibilities": ["FARGATE"], | ||
"cpu": "1024", | ||
"memory": "2048", | ||
"volumes": [ | ||
{ | ||
"name": "config", | ||
"efsVolumeConfiguration": { | ||
"fileSystemId": "${EFS}", | ||
"rootDirectory": "/" | ||
} | ||
} | ||
] | ||
} |
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