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

Workload & Mongodb Schema #51

Closed
wants to merge 48 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
0cf45c3
delete workload
Jan 14, 2025
2ee3e4a
schema updated for mongodb
Jan 16, 2025
4184244
update workloads
Jan 16, 2025
83cb648
clean up
Jan 16, 2025
f71f377
schema updates
Jan 16, 2025
dccf9f0
added orchestrator rust api
Jan 16, 2025
ec1ecbd
updated cargo toml
Jan 16, 2025
e855c2c
Merge branch 'nats-crates' into delete_workload
zeeshan595 Jan 16, 2025
58074e8
updated lock file
Jan 17, 2025
ea4c24e
updated ref_id to be mongodb id
Jan 17, 2025
9aa637b
fixed type issues because of MongoDbId
Jan 17, 2025
164822d
fixed mappings
Jan 17, 2025
6333f1c
Update rust/util_libs/src/db/schemas.rs
zeeshan595 Jan 20, 2025
85a42ad
Update rust/util_libs/src/db/mongodb.rs
zeeshan595 Jan 20, 2025
e9ccd31
Update rust/services/workload/src/lib.rs
zeeshan595 Jan 20, 2025
025b5c0
Update rust/services/workload/src/lib.rs
zeeshan595 Jan 20, 2025
934889e
Merge branch 'main' into delete_workload
zeeshan595 Jan 20, 2025
075e331
Update rust/orchestrator/src/hello.rs
zeeshan595 Jan 20, 2025
034ba7f
Update rust/services/workload/src/lib.rs
zeeshan595 Jan 20, 2025
a4850c2
improved mapping
Jan 20, 2025
6623bf4
Merge branch 'delete_workload' of github.com:Holo-Host/holo-host into…
Jan 20, 2025
e795177
Update rust/services/workload/src/lib.rs
zeeshan595 Jan 20, 2025
024b2ee
removed clone from _id
Jan 20, 2025
d50c9fb
added workload state called updating
Jan 20, 2025
16e574e
PR changes
Jan 20, 2025
adb3070
updated
zeeshan595 Jan 21, 2025
f8f6912
added updated at when updating workload
Jan 21, 2025
c3c184c
clean up
Jan 21, 2025
5d32adf
adde metadata base struct
Jan 21, 2025
7f6438f
added helper function for workload and host relationship
Jan 24, 2025
5af7591
when status is removed then mark workload as deleted
Jan 24, 2025
4693a26
deleted workloads cannot assign hosts to the workload
Jan 24, 2025
2fd631f
mongodb error handling
Jan 24, 2025
e82590d
fixed issues with handle_status_update
Feb 4, 2025
891859c
cleanup
Feb 4, 2025
15403c8
cargo lock update
Feb 4, 2025
fb3ea58
Merge branch 'main' into delete_workload
Feb 4, 2025
759ef05
fixed issues from conflicts
Feb 4, 2025
c9d0fa2
clean up
Feb 4, 2025
f369ee2
used expect instead of unwrap
Feb 4, 2025
45c32d5
lint
JettTech Feb 6, 2025
65365c5
add curl pkg
JettTech Feb 6, 2025
c0ad524
nix configs
JettTech Feb 6, 2025
63eff69
reconfigure
JettTech Feb 6, 2025
469d6e2
reconfigure curl
JettTech Feb 6, 2025
d96abc1
fix(orchestrator): use vendored Swagger UI for utoipa-swagger-ui
steveej Feb 10, 2025
c6f6ffd
clippy mongodb tests
JettTech Feb 10, 2025
160be94
update test
JettTech Feb 13, 2025
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ rust/*/*/leaf_server.conf
rust/*/*/resolver.conf
leaf_server.conf
.local

rust/*/*/*/tmp/
rust/*/*/*/*/tmp/
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@
"command": ["treefmt-nix", "--stdin", "neverexists.nix"]
}
}
}
},
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
},
"files.readonlyInclude": {
"**/.cargo/registry/src/**/*.rs": true,
"**/lib/rustlib/src/rust/library/**/*.rs": true,
},
}
Loading
Loading