Skip to content

Commit 54f7837

Browse files
authored
Merge pull request #74 from ONS-Innovation/new-endpoint-refactor
KEH-2025 Copilot Lambda New Endpoints Refactor
2 parents 5808223 + 298af15 commit 54f7837

File tree

7 files changed

+97
-737
lines changed

7 files changed

+97
-737
lines changed

config/config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"features": {
3-
"show_log_locally": false,
43
"write_data_locally": false
54
}
65
}

docs/technical_documentation/overview.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,4 @@ This component is an imported library which is shared across multiple GitHub too
3737

3838
### Historic Usage Data
3939

40-
This section gathers data from AWS S3. The Copilot usage endpoints have a limitation where they only return the last 100 days worth of information. To get around this, the project has an AWS Lambda function which runs weekly and stores data within an S3 bucket.
41-
42-
### Copilot Teams Data
43-
44-
This section gathers a list of teams within the organisation with Copilot data and updates the S3 bucket accordingly. This allows all relevant teams to be displayed within the dashboard.
40+
This section gathers data from AWS S3. The Copilot usage endpoints have a limitation where they only return the last 28 days worth of information. To get around this, the project has an AWS Lambda function which runs weekly and stores data within an S3 bucket.

docs/technical_documentation/team_usage.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ six = "^1.17.0"
2525
urllib3 = "^2.6.3"
2626

2727
[tool.poetry.group.dev.dependencies]
28-
black = "^26.3.1"
2928
ruff = "^0.6.5"
3029
pylint = "^3.2.7"
3130
mypy = "^1.11.2"
3231
pytest = "^8.4.1"
3332
pytest-cov = "^6.2.1"
3433
pytest-xdist = "^3.8.0"
34+
black = "^26.3.1"
3535

3636
[tool.poetry.group.docs.dependencies]
3737
mkdocs = "^1.6.0"
@@ -111,4 +111,4 @@ warn_redundant_casts = "True"
111111
disallow_untyped_defs = "True"
112112
disallow_untyped_calls = "True"
113113
disallow_incomplete_defs = "True"
114-
strict_equality = "True"
114+
strict_equality = "True"

0 commit comments

Comments
 (0)