Skip to content

Commit 0b2c891

Browse files
committed
Refactor all internal links to point to markdown source.
This will allow the content to be referenced within GitHub as well as VSCode and in the final build
1 parent 83e5089 commit 0b2c891

File tree

33 files changed

+86
-107
lines changed

33 files changed

+86
-107
lines changed

docs/api-playbook/11-faqs.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ You can do this by looking up the API in AWS API Gateway.
1010
5. Choose the stage you want to use;
1111
6. Now you can see the entire URL inside a blue box on the top with the heading "Invoke URL";
1212

13-
Additionally, you can find API URLs on our Developer Hub website. See more information about it [here](../Governance/developer_hub).
14-
1513
## How do I find out whether an API is healthy?:
1614

1715
You can utilise AWS Canaries, which we use for uptime monitoring.
@@ -55,7 +53,3 @@ Visit [https://app.circleci.com/pipelines/github/LBHackney-IT](https://app.circl
5553
If you aren't subscribed to any projects, simply navigate to the'projects' tab on the sidebar to view and search for all Hackney projects.
5654

5755
![Circle CI Sidebar - Click on the second icon (projects) to view all projects in a workspace](./doc-images/CircleCI_sidebar.png)
58-
59-
## Where can I find different APIs that we use at Hackney?:
60-
61-
You can use our Developer Hub to view our APIs! See [this page](../Governance/developer_hub/) for more information.

docs/api-playbook/DevOps practices/Monitoring/alerting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ We use AWS CloudWatch Canaries to monitor the availability of our APIs and front
4444

4545
- The current creation process for a canary is **manual**;
4646

47-
[See the guidance for Canaries here](../uptime_monitoring)
47+
[See the guidance for Canaries here](./uptime_monitoring.md)
4848

4949
### AWS Canaries for front end applications:
5050

docs/api-playbook/DevOps practices/aws_ecs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This means that if any large file needs to be stored at run time to be accessed
4141

4242
It is recommended that you use Terraform to provision AWS resources. We already have produced a terraform template that generates all necessary resources for an API/app that is to be hosted using ECS with Fargate.
4343

44-
In this playbook, please refer to the [Terraform section](../infrastructure) to find out more about the templates and how to use them. The template has configuration both for front end apps and for back end services that are to use ECS with Fargate.
44+
In this playbook, please refer to the [Terraform section](./infrastructure.md) to find out more about the templates and how to use them. The template has configuration both for front end apps and for back end services that are to use ECS with Fargate.
4545

4646
** The Terraform template creates the following resources: **
4747

docs/api-playbook/DevOps practices/deployment_pipeline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ We use the Test-Driven Development (TDD) approach when writing code.
3737

3838
Each project’s test suite must include units tests produced as part of TDD as well as integration tests.
3939

40-
> ℹ️ More on practices in Hackney for writing tests here: [TDD Practices](/api-playbook/Testing/tdd.md)
40+
> ℹ️ More on practices in Hackney for writing tests here: [TDD Practices](../../api-playbook/Testing/tdd.md)
4141
4242
## Environments:
4343

docs/api-playbook/DevOps practices/lambda_best_practices.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ example-api’s serverless configuration includes the basic setup for policies r
7171

7272
In some cases it’s useful to have a bit more insight on how the Lambda is performing. In that case services like X-Ray can be implemented. They require some additional configuration to the application, but are generally relatively easy to implement at any point.
7373

74-
[**More about X-Ray here**](../Monitoring/x_ray)
74+
[**More about X-Ray here**](./Monitoring/x_ray.md)
7575
### Alerts:
7676

77-
For more details on logging and alerts in general, please see our [alerting guide](../Monitoring/alerting).
77+
For more details on logging and alerts in general, please see our [alerting guide](./Monitoring/alerting.md).

docs/api-playbook/Development Lifecycle/Designing your API/references.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ This section collects links to documents to which we refer, and base our guideli
3131
- [BCP 47: Tags for Identifying Languages](https://tools.ietf.org/html/bcp47);
3232
## Dissertations:
3333

34-
- [Roy Thomas Fielding - Architectural Styles and the Design of Network-Based Software Architectures](http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm). This is the text which defines what REST is;
34+
- [Roy Thomas Fielding - Architectural Styles and the Design of Network-Based Software Architectures](https://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm). This is the text which defines what REST is;
3535
## Books:
3636

37-
- [REST in Practice: Hypermedia and Systems Architecture](http://www.amazon.de/REST-Practice-Hypermedia-Systems-Architecture/dp/0596805829);
37+
- [REST in Practice: Hypermedia and Systems Architecture](https://www.amazon.de/REST-Practice-Hypermedia-Systems-Architecture/dp/0596805829);
3838

3939
- [Build APIs You Won’t Hate](https://leanpub.com/build-apis-you-wont-hate);
4040

docs/api-playbook/Development Lifecycle/How to build an API/Preferred tech stack/Readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
- .NET Core 3.1 (C#);
66
- AWS Lambda;
77
- Serverless framework.
8-
* [See more](./serverless_lambda);
8+
* [See more](./serverless_lambda.md);
99
- AWS API Gateway;
1010
- Hackney Lambda authoriser (for authentication).
1111
* [See more](../API-Practices and tools/lambda_authoriser);
1212
- FxCop for static code analysis.
13-
* [See more](./static_code_analysis);
13+
- [See more](./static_code_analysis.md);
1414
- dotnet-format for linting.
1515
- [See more](../API-Practices and tools/linting);
1616
- AWS Canaries for availability monitoring.
17-
* [See more](../../../DevOps%20practices/Monitoring/uptime_monitoring);
17+
- [See more](../../../DevOps%20practices/Monitoring/uptime_monitoring.md);
1818

1919
## Testing:
2020

@@ -29,20 +29,20 @@
2929
* For spinning up DB image containers and running tests against that database ;
3030
* _During local development and during test run as part of CI/CD_;
3131

32-
*For more guidance on testing, go to the [testing](../../../Testing/tdd) section*.
32+
_For more guidance on testing, go to the [testing](../../../Testing/tdd.md) section_.
3333

3434
## Common:
3535

3636
- Swagger documentation.
3737
* For API design prior to implementation;
3838
* Automated Swagger docs for each API endpoint deployed;
39-
* [See more](../../API Documentation/swagger_documentation);
39+
- [See more](../../API Documentation/swagger_documentation.md);
4040
- CircleCI for CI/CD.
41-
* [See more](../../../DevOps%20practices/deployment_pipeline);
41+
- [See more](../../../DevOps%20practices/deployment_pipeline.md);
4242
- GitHub for version control.
4343
* [HackIT Github](https://github.com/LBHackney-IT);
4444
- AWS for cloud hosting;
4545
- AWS CloudWatch for monitoring;
4646
- Terraform for Infrastructure as Code (IaC) (e.g. setting up AWS DMS).
47-
- [See more](../../../DevOps%20practices/infrastructure);
47+
- [See more](../../../DevOps%20practices/infrastructure.md);
4848
- AWS Parameter Store for secrets (connection string and similar);

docs/api-playbook/Development Lifecycle/Implementing HTTP endpoints/GET endpoint/get_dynamodb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GET requests are used to **read** either a single or a collection resource.
99

1010
- GET requests must NOT have a request body payload;
1111

12-
**Note:** GET requests on collection resources should provide sufficient filter and [pagination](../../../Designing%20your%20API/pagination) mechanisms;
12+
**Note:** GET requests on collection resources should provide sufficient filter and [pagination](../../Designing%20your%20API/pagination.md) mechanisms;
1313

1414
[Here is an example PR to show how to build an GET endpoint using DynamoDB](https://github.com/LBHackney-IT/notes-api/pull/8/files)
1515

docs/api-playbook/Development Lifecycle/Implementing HTTP endpoints/GET endpoint/get_opensearch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ GET requests are used to **read** either a single or a collection resource.
1010

1111
- GET requests must NOT have a request body payload;
1212

13-
**Note:** GET requests on collection resources should provide sufficient filter and [pagination](../../../Designing%20your%20API/pagination) mechanisms;
13+
**Note:** GET requests on collection resources should provide sufficient filter and [pagination](../../Designing%20your%20API/pagination.md) mechanisms;
1414

1515
[Here is an example PR to show how to build a search endpoint using OpenSearch (Also known as ElasticSearch)](https://github.com/LBHackney-IT/housing-search-api/pull/154)
1616

docs/api-playbook/Development Lifecycle/Implementing HTTP endpoints/GET endpoint/get_postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ GET requests are used to **read** either a single or a collection resource.
99

1010
- GET requests must NOT have a request body payload;
1111

12-
**Note:** GET requests on collection resources should provide sufficient filter and [pagination](../../../Designing%20your%20API/pagination) mechanisms;
12+
**Note:** GET requests on collection resources should provide sufficient filter and [pagination](../../Designing%20your%20API/pagination.md) mechanisms;
1313

1414
We have created a video that gives developers a good understanding of how we build API Endpoints using Postgres from beginning to end, following best practices.
1515

0 commit comments

Comments
 (0)