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

feat: initial dataset v4 controller #1537

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
e28d7b1
start with adding the v4 datasets controller
martin-trajanovski Nov 29, 2024
533789b
start the main cleanup on the dataset v4 controller
martin-trajanovski Dec 1, 2024
cdd9afa
cleanup and fix some linting errors
martin-trajanovski Dec 2, 2024
8089998
Merge branch 'migrate-principal-investigator' of https://github.com/S…
martin-trajanovski Dec 3, 2024
48118d2
use the versioning of datasets controller properly and finalize the i…
martin-trajanovski Dec 3, 2024
ab7136b
do some more cleanup in the new controller
martin-trajanovski Dec 3, 2024
6638d0f
use improved regex to extract the version from the URI
martin-trajanovski Dec 4, 2024
1a9575a
Merge branch 'master' of https://github.com/SciCatProject/scicat-back…
martin-trajanovski Dec 4, 2024
3054920
refactor how we use config module and make accessGroups easily access…
martin-trajanovski Dec 5, 2024
2056bd2
fix failing unit tests
martin-trajanovski Dec 5, 2024
7cbe9ea
improve dataset dto types for sdk generation
martin-trajanovski Dec 5, 2024
5b2c33e
add aggregation for findById and findOne on the datasets.v4 controller
martin-trajanovski Dec 6, 2024
5e6b6cd
add some notes and todos on whats left
martin-trajanovski Dec 6, 2024
1617446
do some more cleanup and improve include filters for aggregation
martin-trajanovski Dec 9, 2024
b528017
more cleanup and filter refactor and validation
martin-trajanovski Dec 10, 2024
8b7c4f2
resolve merge conflicts
martin-trajanovski Dec 10, 2024
500ed77
resolve merge conflicts
martin-trajanovski Dec 11, 2024
d6aaa63
try to revert some package upgrades
martin-trajanovski Dec 11, 2024
5f9b97e
Merge branch 'master' into SWAP-4319-add-new-dataset-v4-minimal-contr…
martin-trajanovski Dec 11, 2024
2f3d89a
try to revert some more package changes
martin-trajanovski Dec 11, 2024
8bb6982
test the new content property
martin-trajanovski Dec 12, 2024
8d9531d
content property final improvements
martin-trajanovski Dec 12, 2024
96ce2ea
use content variable instead of funciton
martin-trajanovski Dec 12, 2024
05eab47
cleanup
martin-trajanovski Dec 12, 2024
589bf1e
finalize all filters for find dataset endpoints
martin-trajanovski Dec 12, 2024
3b0ef0b
fix most of the PR review comments
martin-trajanovski Dec 13, 2024
8432254
fix v3 dataset controller access filters
martin-trajanovski Dec 13, 2024
e98d0b4
some small improvements and leads how to solve the nested relational …
martin-trajanovski Dec 13, 2024
848633f
try to revert some chages that are making tests fail
martin-trajanovski Dec 13, 2024
e6441a9
fix api tests as well
martin-trajanovski Dec 13, 2024
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: 1 addition & 0 deletions .github/workflows/release-and-publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
env:
MONGODB_URI: "mongodb://localhost:27017/scicat"
JWT_SECRET: thisIsTheJwtSecret
SDK_PACKAGE_SWAGGER_HELPERS_DISABLED: true
run: |
npm install -g wait-on && npm install
npm run start & wait-on http://localhost:3000/api/v3/health --timeout 200000
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/upload-sdk-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- master
on:
pull_request:
branches:
- master

env:
NODE_VERSION: 20.x
Expand All @@ -30,6 +34,7 @@ jobs:
env:
MONGODB_URI: "mongodb://localhost:27017/scicat"
JWT_SECRET: thisIsTheJwtSecret
SDK_PACKAGE_SWAGGER_HELPERS_DISABLED: true
run: |
npm install -g wait-on && npm install
npm run start & wait-on http://localhost:3000/api/v3/health --timeout 200000
Expand Down
Loading
Loading