Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote from BLAIS5-4274-extension to main #368

Merged
merged 74 commits into from
Jul 9, 2024
Merged

Conversation

social-surveys-blaise-concourse
Copy link
Collaborator

Auto generated by concourse:

Promote from BLAIS5-4274-extension to main

matthewandrewpalmer and others added 30 commits March 15, 2021 12:02
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
kristian4res and others added 15 commits April 9, 2024 13:47
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
Promote from main to preprod
Promote from preprod to prod
* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>
* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>
* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

* BLAIS5-4274 increase unit test coverage in bam (#356)

* chore: fail_ci_if_error: true

* refactor: Protected server API endpoint test passes successfully

* feat: Add all tests to cover the code in /api/users POST endpoint

* fix: Prevent disk I/O each time GET * request hits server

* fix: Fix formatting: yarn eslint . --fix
fix: Add typemoq as dependency

* feat: Add all tests to cover the code in /api/users DELETE endpoint

* feat: Add all tests to cover the code in /api/users GET endpoint

* feat: Add all tests to cover the code in /api/roles GET endpoint

* feat: Add all tests to cover the code in /api/change_password/:user GET endpoint

* fix: Fix Linting with ESLINT: yarn eslint . --fix

* fix: Load .env variables if current env is not PROD.

* fix: Remove launch.json from source control as it should be dev local file.

* feat: Add test for "external Blaise API changePassword endpoint rejects request with error message"

* chore: No changes in yarn.lock file.

* refactor: Removed redundant json map from client. We don't trust client side script, mapping happens on server side so only one json map file needed that is on the server side.

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>
* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

* BLAIS5-4274 increase unit test coverage in bam (#356)

* chore: fail_ci_if_error: true

* refactor: Protected server API endpoint test passes successfully

* feat: Add all tests to cover the code in /api/users POST endpoint

* fix: Prevent disk I/O each time GET * request hits server

* fix: Fix formatting: yarn eslint . --fix
fix: Add typemoq as dependency

* feat: Add all tests to cover the code in /api/users DELETE endpoint

* feat: Add all tests to cover the code in /api/users GET endpoint

* feat: Add all tests to cover the code in /api/roles GET endpoint

* feat: Add all tests to cover the code in /api/change_password/:user GET endpoint

* fix: Fix Linting with ESLINT: yarn eslint . --fix

* fix: Load .env variables if current env is not PROD.

* fix: Remove launch.json from source control as it should be dev local file.

* feat: Add test for "external Blaise API changePassword endpoint rejects request with error message"

* chore: No changes in yarn.lock file.

* refactor: Removed redundant json map from client. We don't trust client side script, mapping happens on server side so only one json map file needed that is on the server side.

* Feature/blais5 4274 fix merge conflicts preprod and main branches (#360)

* Promote from main to preprod (#354)

* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>

* Promote from main to preprod (#358)

* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

* BLAIS5-4274 increase unit test coverage in bam (#356)

* chore: fail_ci_if_error: true

* refactor: Protected server API endpoint test passes successfully

* feat: Add all tests to cover the code in /api/users POST endpoint

* fix: Prevent disk I/O each time GET * request hits server

* fix: Fix formatting: yarn eslint . --fix
fix: Add typemoq as dependency

* feat: Add all tests to cover the code in /api/users DELETE endpoint

* feat: Add all tests to cover the code in /api/users GET endpoint

* feat: Add all tests to cover the code in /api/roles GET endpoint

* feat: Add all tests to cover the code in /api/change_password/:user GET endpoint

* fix: Fix Linting with ESLINT: yarn eslint . --fix

* fix: Load .env variables if current env is not PROD.

* fix: Remove launch.json from source control as it should be dev local file.

* feat: Add test for "external Blaise API changePassword endpoint rejects request with error message"

* chore: No changes in yarn.lock file.

* refactor: Removed redundant json map from client. We don't trust client side script, mapping happens on server side so only one json map file needed that is on the server side.

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>

* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* refactor: using blaise-api-node-client v1.1.0

* BLAIS5-4274 increase unit test coverage in bam (#356)

* chore: fail_ci_if_error: true

* refactor: Protected server API endpoint test passes successfully

* feat: Add all tests to cover the code in /api/users POST endpoint

* fix: Prevent disk I/O each time GET * request hits server

* fix: Fix formatting: yarn eslint . --fix
fix: Add typemoq as dependency

* feat: Add all tests to cover the code in /api/users DELETE endpoint

* feat: Add all tests to cover the code in /api/users GET endpoint

* feat: Add all tests to cover the code in /api/roles GET endpoint

* feat: Add all tests to cover the code in /api/change_password/:user GET endpoint

* fix: Fix Linting with ESLINT: yarn eslint . --fix

* fix: Load .env variables if current env is not PROD.

* fix: Remove launch.json from source control as it should be dev local file.

* feat: Add test for "external Blaise API changePassword endpoint rejects request with error message"

* chore: No changes in yarn.lock file.

* refactor: Removed redundant json map from client. We don't trust client side script, mapping happens on server side so only one json map file needed that is on the server side.

---------

Co-authored-by: Matthew Palmer <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>
Co-authored-by: Nik Webb <[email protected]>
Co-authored-by: Alistair Grew <[email protected]>
Co-authored-by: Richmond Rice <[email protected]>
Co-authored-by: Sidra Javed <[email protected]>
Co-authored-by: James Anthony Williams <[email protected]>
Co-authored-by: motalm_ONS <[email protected]>
Co-authored-by: Kristian T <[email protected]>
Co-authored-by: Cal <[email protected]>
Co-authored-by: BenjaminLambe_ONS <[email protected]>
Co-authored-by: social-surveys-blaise-concourse <79969802+social-surveys-blaise-concourse@users.noreply.github.com>

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>
Co-authored-by: Matthew Palmer <[email protected]>
Co-authored-by: Nik Webb <[email protected]>
Co-authored-by: Alistair Grew <[email protected]>
Co-authored-by: Richmond Rice <[email protected]>
Co-authored-by: Sidra Javed <[email protected]>
Co-authored-by: James Anthony Williams <[email protected]>
Co-authored-by: motalm_ONS <[email protected]>
Co-authored-by: Kristian T <[email protected]>
Co-authored-by: Cal <[email protected]>
Co-authored-by: BenjaminLambe_ONS <[email protected]>
* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

* BLAIS5-4274 increase unit test coverage in bam (#356)

* chore: fail_ci_if_error: true

* refactor: Protected server API endpoint test passes successfully

* feat: Add all tests to cover the code in /api/users POST endpoint

* fix: Prevent disk I/O each time GET * request hits server

* fix: Fix formatting: yarn eslint . --fix
fix: Add typemoq as dependency

* feat: Add all tests to cover the code in /api/users DELETE endpoint

* feat: Add all tests to cover the code in /api/users GET endpoint

* feat: Add all tests to cover the code in /api/roles GET endpoint

* feat: Add all tests to cover the code in /api/change_password/:user GET endpoint

* fix: Fix Linting with ESLINT: yarn eslint . --fix

* fix: Load .env variables if current env is not PROD.

* fix: Remove launch.json from source control as it should be dev local file.

* feat: Add test for "external Blaise API changePassword endpoint rejects request with error message"

* chore: No changes in yarn.lock file.

* refactor: Removed redundant json map from client. We don't trust client side script, mapping happens on server side so only one json map file needed that is on the server side.

* Feature/blais5 4274 fix merge conflicts preprod and main branches (#360)

* Promote from main to preprod (#354)

* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>

* Promote from main to preprod (#358)

* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* fix: Updated snapshot for UTs on users component tests.

* refactor: using blaise-api-node-client v1.1.0

* ci: Do not fail CI build if coverage is low. Coverage will be increased in separate ticket for adding more tests.

* refactor: Add whitespace after comma in server parks list.

* BLAIS5-4274 increase unit test coverage in bam (#356)

* chore: fail_ci_if_error: true

* refactor: Protected server API endpoint test passes successfully

* feat: Add all tests to cover the code in /api/users POST endpoint

* fix: Prevent disk I/O each time GET * request hits server

* fix: Fix formatting: yarn eslint . --fix
fix: Add typemoq as dependency

* feat: Add all tests to cover the code in /api/users DELETE endpoint

* feat: Add all tests to cover the code in /api/users GET endpoint

* feat: Add all tests to cover the code in /api/roles GET endpoint

* feat: Add all tests to cover the code in /api/change_password/:user GET endpoint

* fix: Fix Linting with ESLINT: yarn eslint . --fix

* fix: Load .env variables if current env is not PROD.

* fix: Remove launch.json from source control as it should be dev local file.

* feat: Add test for "external Blaise API changePassword endpoint rejects request with error message"

* chore: No changes in yarn.lock file.

* refactor: Removed redundant json map from client. We don't trust client side script, mapping happens on server side so only one json map file needed that is on the server side.

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>

* refactor: Add DEFAULT to RoleToServerParksMap, renamed heading "Default Server Park" to "Server Parks"
    ClientConfig reads RoleToServerParksMap from json file
    Read role_to_serverparks_map_json from json file
    Rename RoleToServerParksMap to RoleToServerParksMap
    Server side RoleToServerParksDict config change
    Client side RoleToServerParksDict config changes

fix: Add resolveJsonModule to tsconfig.server.json

* refactor: using blaise-api-node-client v1.1.0

* BLAIS5-4274 increase unit test coverage in bam (#356)

* chore: fail_ci_if_error: true

* refactor: Protected server API endpoint test passes successfully

* feat: Add all tests to cover the code in /api/users POST endpoint

* fix: Prevent disk I/O each time GET * request hits server

* fix: Fix formatting: yarn eslint . --fix
fix: Add typemoq as dependency

* feat: Add all tests to cover the code in /api/users DELETE endpoint

* feat: Add all tests to cover the code in /api/users GET endpoint

* feat: Add all tests to cover the code in /api/roles GET endpoint

* feat: Add all tests to cover the code in /api/change_password/:user GET endpoint

* fix: Fix Linting with ESLINT: yarn eslint . --fix

* fix: Load .env variables if current env is not PROD.

* fix: Remove launch.json from source control as it should be dev local file.

* feat: Add test for "external Blaise API changePassword endpoint rejects request with error message"

* chore: No changes in yarn.lock file.

* refactor: Removed redundant json map from client. We don't trust client side script, mapping happens on server side so only one json map file needed that is on the server side.

---------

Co-authored-by: Matthew Palmer <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>
Co-authored-by: Nik Webb <[email protected]>
Co-authored-by: Alistair Grew <[email protected]>
Co-authored-by: Richmond Rice <[email protected]>
Co-authored-by: Sidra Javed <[email protected]>
Co-authored-by: James Anthony Williams <[email protected]>
Co-authored-by: motalm_ONS <[email protected]>
Co-authored-by: Kristian T <[email protected]>
Co-authored-by: Cal <[email protected]>
Co-authored-by: BenjaminLambe_ONS <[email protected]>
Co-authored-by: social-surveys-blaise-concourse <79969802+social-surveys-blaise-concourse@users.noreply.github.com>

---------

Co-authored-by: am-ons <[email protected]>
Co-authored-by: Elinor Thorne <[email protected]>
Co-authored-by: Matthew Palmer <[email protected]>
Co-authored-by: Nik Webb <[email protected]>
Co-authored-by: Alistair Grew <[email protected]>
Co-authored-by: Richmond Rice <[email protected]>
Co-authored-by: Sidra Javed <[email protected]>
Co-authored-by: James Anthony Williams <[email protected]>
Co-authored-by: motalm_ONS <[email protected]>
Co-authored-by: Kristian T <[email protected]>
Co-authored-by: Cal <[email protected]>
Co-authored-by: BenjaminLambe_ONS <[email protected]>
@social-surveys-blaise-concourse social-surveys-blaise-concourse requested a review from a team July 9, 2024 09:52
@elthorne elthorne marked this pull request as ready for review July 9, 2024 10:35
@elthorne elthorne marked this pull request as draft July 9, 2024 10:36
@lambeb lambeb marked this pull request as ready for review July 9, 2024 10:49
@lambeb lambeb marked this pull request as draft July 9, 2024 10:50
@motalm motalm marked this pull request as ready for review July 9, 2024 11:20
lambeb added 2 commits July 9, 2024 13:11
# Conflicts:
#	server/server.ts
#	server/tests/index.test.ts
#	src/pages/users/UserUpload/NewUser.tsx
#	src/pages/users/UsersTable.tsx
#	src/pages/users/__snapshots__/Users.test.tsx.snap
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 60.63%. Comparing base (133f65f) to head (8206b3b).

Files Patch % Lines
src/ClientConfig.ts 0.00% 3 Missing ⚠️
src/pages/users/UserUpload/NewUser.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #368      +/-   ##
==========================================
- Coverage   60.93%   60.63%   -0.30%     
==========================================
  Files          35       36       +1     
  Lines         814      818       +4     
  Branches      185      185              
==========================================
  Hits          496      496              
- Misses        318      322       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@motalm motalm merged commit f4447a3 into main Jul 9, 2024
5 checks passed
@motalm motalm deleted the BLAIS5-4274-extension branch July 9, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.