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

Removed v1 support #684

Merged
merged 5 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ LOG_FILE=/tmp/fractal-web.log
LOG_LEVEL_FILE=info
LOG_LEVEL_CONSOLE=warn

FRACTAL_API_V1_MODE=include
FRACTAL_RUNNER_BACKEND=local
#WARNING_BANNER_PATH=/path/to/banner.txt
1 change: 0 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ LOG_FILE=./fractal-web.log
LOG_LEVEL_FILE=debug
LOG_LEVEL_CONSOLE=info

FRACTAL_API_V1_MODE=include
FRACTAL_RUNNER_BACKEND=local
#WARNING_BANNER_PATH=/path/to/banner.txt
8 changes: 1 addition & 7 deletions .github/workflows/end_to_end_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,9 @@ jobs:
if: matrix.node-version == '18'
run: echo "FRACTAL_SERVER_HOST=http://127.0.0.1:8000" >> $GITHUB_ENV

- name: Run Playwright tests [v1]
- name: Run Playwright tests
run: npx playwright test
env:
TEST_VERSION: v1

- name: Run Playwright tests [v2]
run: npx playwright test
env:
TEST_VERSION: v2
FRACTAL_RUNNER_BACKEND: local_experimental

- name: Archive test results
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
*Note: Numbers like (\#123) point to closed Pull Requests on the fractal-web repository.*

# Unreleased

* Removed legacy version support (\#684);

# 1.13.1

* Tasks table improvements (\#677):
Expand Down
18 changes: 6 additions & 12 deletions __tests__/mock/jobs-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,43 +37,37 @@ export const data = {
id: 1,
project_id: 1,
workflow_id: 1,
input_dataset_id: 1,
output_dataset_id: 2,
dataset_id: 1,
dataset_dump: { id: 1, name: 'dataset1' },
start_timestamp: '2023-10-30T09:00:38.442196+00:00',
end_timestamp: '2023-10-30T09:10:38.442196+00:00',
project_dump: { id: 1, name: 'project 1' },
workflow_dump: { id: 1, name: 'workflow 1' },
input_dataset_dump: { id: 1, name: 'input1' },
output_dataset_dump: { id: 2, name: 'output1' },
status: 'done',
user_email: '[email protected]'
},
{
id: 2,
project_id: 2,
workflow_id: 2,
input_dataset_id: 3,
output_dataset_id: 4,
dataset_id: 2,
dataset_dump: { id: 2, name: 'dataset2' },
start_timestamp: '2023-10-30T09:15:38.442196+00:00',
end_timestamp: '2023-10-30T09:20:38.442196+00:00',
project_dump: { id: 2, name: 'project 2' },
workflow_dump: { id: 2, name: 'workflow 2' },
input_dataset_dump: { id: 3, name: 'input2' },
output_dataset_dump: { id: 4, name: 'output2' },
status: 'failed',
user_email: '[email protected]'
},
{
id: 3,
project_id: 2,
workflow_id: 2,
input_dataset_id: 5,
output_dataset_id: 6,
dataset_id: 3,
dataset_dump: { id: 3, name: 'dataset3' },
start_timestamp: '2023-10-30T09:30:38.442196+00:00',
project_dump: { id: 2, name: 'project 2' },
workflow_dump: { id: 2, name: 'workflow 2' },
input_dataset_dump: { id: 5, name: 'input3' },
output_dataset_dump: { id: 6, name: 'output3' },
end_timestamp: null,
status: 'submitted',
user_email: '[email protected]'
Expand Down
27 changes: 0 additions & 27 deletions __tests__/selected_api_version.test.js

This file was deleted.

210 changes: 0 additions & 210 deletions __tests__/v1/TaskCollection.test.js

This file was deleted.

Loading
Loading