-
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.
Merge branch 'master' into TDRD-89-Excel-Metadata-Download-POC
- Loading branch information
Showing
6 changed files
with
122 additions
and
56 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
2 changes: 1 addition & 1 deletion
2
beta-architecture/diagrams/tdr-beta-high-level-architecture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
32 changes: 32 additions & 0 deletions
32
manual/development-process/manually-trigger-consignment-export.md
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,32 @@ | ||
# Manually Trigger Consignment Export Step Function | ||
|
||
**NOTE**: Before manually triggering a **judgment** consignment export double check with the Find Case Law (FCL) team that the user has not re-attempted the transfer to prevent duplicate judgments being published | ||
|
||
In some circumstances it may be necessary to manually trigger a consignment export, for example: | ||
* Consignment export failure; | ||
* Legitimate request from another Digital Archiving service for a re-export | ||
|
||
## Use AWS Console to manually execute Consignment Export Step Function | ||
1. Retrieve the relevant consignment id for the consignment to trigger the export for | ||
2. Log into the relevant AWS account | ||
3. Go to the TDRConsignmentExport{env} step function | ||
4. Click `Start Execution` and add the relevant json into the dialog box: | ||
``` | ||
{ | ||
"ConsignmentId": "{consignment id for consignment}" | ||
} | ||
``` | ||
5. Enter the a name for the new execution into the dialog box in the following form: `{initials}-{consignment id for consignment}` | ||
6. Click `Start execution` | ||
|
||
## Use AWS CLI to manually execute Consignment Export Step Function | ||
1. Retrieve the relevant consignment id for the consignment to trigger the export for | ||
2. Ensure have relevant credentials set to execute the step function | ||
3. Run the following command: | ||
``` | ||
$ aws cli start-execution --state-machine-arn {arn of the step function} \ | ||
--name {initials}-{consignment id for consignment} \ | ||
--input "input": "{\"ConsignmentId\" : \"{consignment id for consignment}\"}" | ||
``` | ||
|
||
Full details of the `start-execution` command can be found here: https://docs.aws.amazon.com/cli/latest/reference/stepfunctions/start-execution.html |
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,15 +1,55 @@ | ||
# New starters | ||
|
||
## Essential setup | ||
## Development Laptop Setup | ||
|
||
- Install [git secrets](git-secrets.md). You **must** do this before working on | ||
TDR code changes, and when you switch to a new computer. | ||
### Install Ubuntu OS | ||
|
||
Ubuntu is the recommended OS to install on the development laptop. | ||
|
||
Instruction for installation can be found here: https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview | ||
|
||
**Full hard drive encryption must be implemented** | ||
|
||
### Install Virus Scanning / Firewall | ||
|
||
#### Virus Scanning | ||
|
||
Install ClamAV: https://help.ubuntu.com/community/ClamAV | ||
|
||
#### Firewall | ||
[TBC] | ||
|
||
### Software Installation | ||
|
||
* *Git*: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git | ||
* *Git Secrets*: [git secrets](git-secrets.md). You **must** do this before working on TDR code changes | ||
* *AWS CLI*: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html | ||
* *Java*: https://ubuntu.com/tutorials/install-jre#1-overview | ||
* *Sbt*: https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html | ||
* *Intellij*: You should have a licence for the version (https://www.jetbrains.com/help/idea/installation-guide.html) | ||
* *Docker*: https://docs.docker.com/engine/install/ubuntu/ | ||
** Ensure to do follow the post installation steps: https://docs.docker.com/engine/install/linux-postinstall/ | ||
* *Terraform*: https://developer.hashicorp.com/terraform/cli/install/apt | ||
* *Nvm*: https://github.com/nvm-sh/nvm | ||
* *Npm*: Use NVM to install: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm | ||
* *Python*: https://docs.python-guide.org/starting/install3/linux/ | ||
* *Chrome*: https://support.google.com/chrome/a/answer/9025903?hl=en | ||
* *Firefox*: https://support.mozilla.org/en-US/kb/install-firefox-linux | ||
* *MS Edge*: https://answers.microsoft.com/en-us/microsoftedge/forum/all/how-to-install-edge-on-linux-desktop/c6a1575a-8910-431f-b651-b24938da904e | ||
|
||
## Accounts and access | ||
|
||
- To access the AWS environments, follow the "Access TDR AWS accounts as a | ||
* To access the AWS environments, follow the "Access TDR AWS accounts as a | ||
developer" guide in the [internal developer manual on Sharepoint][sharepoint-dev-manual] | ||
- To access the TDR GitHub repos, ask an admin of The National Archives' GitHub | ||
* To access the TDR GitHub repos, ask an admin of The National Archives' GitHub | ||
organisation to add you to the Transfer Digital Records team | ||
|
||
## Familiarisation | ||
|
||
### Accessibility | ||
|
||
Please read through this presentation for [background on accessibility][accessibility-presentation] | ||
|
||
[sharepoint-dev-manual]: https://nationalarchivesuk.sharepoint.com/:f:/r/sites/DA_Proj/Transfer%20Digital%20Records/Documentation/Developer%20manual | ||
|
||
[accessibility-presentation]: https://nationalarchivesuk.sharepoint.com/:f:/r/sites/DA_Proj/Transfer%20Digital%20Records/TDR%20UX%20and%20Accessibility/Accessibility/Introduction%20to%20Accessibility%20Testing%20May%202024?csf=1&web=1&e=RYRyi2 |
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