Skip to content

Commit

Permalink
Remove ofdb-seed
Browse files Browse the repository at this point in the history
  • Loading branch information
flosse committed Jul 17, 2023
1 parent 2f7d16f commit da847f1
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 1,048 deletions.
1 change: 0 additions & 1 deletion .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ check:
cargo check --locked --all-features --all-targets -p ofdb-db-tantivy
cargo check --locked --all-features --all-targets -p ofdb-frontend-api
cargo check --locked --all-features --all-targets -p ofdb-gateways
cargo check --locked --all-features --all-targets -p ofdb-seed
cargo check --locked --all-features --all-targets -p ofdb-webserver

# Run clippy on the workspace (both dev and release profile)
Expand Down
84 changes: 0 additions & 84 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ members = [
"ofdb-entities",
"ofdb-frontend-api",
"ofdb-gateways",
"ofdb-seed",
"ofdb-webserver",
]
exclude = [ "ofdb-frontend", "ofdb-app-clearance" ]
Expand All @@ -37,7 +36,6 @@ ofdb-db-tantivy = { path = "./ofdb-db-tantivy" }
ofdb-entities = { path = "./ofdb-entities" }
ofdb-frontend-api = { path = "./ofdb-frontend-api" }
ofdb-gateways = { path = "./ofdb-gateways" }
ofdb-seed = { path = "./ofdb-seed" }
ofdb-webserver = { path = "./ofdb-webserver" }

[dependencies]
Expand Down
12 changes: 0 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ RUN USER=root cargo new --lib ofdb-application \
&& \
USER=root cargo new --lib ofdb-gateways \
&& \
USER=root cargo new --lib ofdb-seed \
&& \
USER=root cargo new --lib ofdb-webserver

COPY [ \
Expand Down Expand Up @@ -89,9 +87,6 @@ COPY [ \
COPY [ \
"ofdb-gateways/Cargo.toml", \
"./ofdb-gateways/" ]
COPY [ \
"ofdb-seed/Cargo.toml", \
"./ofdb-seed/" ]
COPY [ \
"ofdb-webserver/Cargo.toml", \
"./ofdb-webserver/" ]
Expand Down Expand Up @@ -135,8 +130,6 @@ RUN cargo build --${BUILD_MODE} --target ${BUILD_TARGET} --workspace \
&& \
rm -rf ./target/${BUILD_TARGET}/${BUILD_MODE}/.fingerprint/ofdb-gateways-* \
&& \
rm -rf ./target/${BUILD_TARGET}/${BUILD_MODE}/.fingerprint/ofdb-seed-* \
&& \
rm -rf ./target/${BUILD_TARGET}/${BUILD_MODE}/.fingerprint/ofdb-webserver-*

# Copy all project (re-)sources that are required for building (ordered alphabetically)
Expand Down Expand Up @@ -173,9 +166,6 @@ COPY [ \
COPY [ \
"ofdb-webserver/build.rs", \
"./ofdb-webserver/build.rs" ]
COPY [ \
"ofdb-seed/src", \
"./ofdb-seed/src/" ]
COPY [ \
"ofdb-webserver/src", \
"./ofdb-webserver/src/" ]
Expand All @@ -198,8 +188,6 @@ RUN cargo check --${BUILD_MODE} --target ${BUILD_TARGET} --package ofdb-applicat
&& \
cargo check --${BUILD_MODE} --target ${BUILD_TARGET} --package ofdb-gateways \
&& \
cargo check --${BUILD_MODE} --target ${BUILD_TARGET} --package ofdb-seed \
&& \
cargo check --${BUILD_MODE} --target ${BUILD_TARGET} --package ofdb-webserver \
&& \
cargo test --${BUILD_MODE} --target ${BUILD_TARGET} --workspace \
Expand Down
4 changes: 2 additions & 2 deletions doc/src/architecture/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Boundary(infrastructure, "infrastructure") {
Component(ofdb_gateways, "ofdb-db-gateways", "...")
Component(ofdb_boundary, "ofdb-boundary", "...")
Component(ofdb_app_clearance, "ofdb-app-clearance", "...")
Component(ofdb_seed, "ofdb-seed", "...")
Component(ofdb_frontend_api, "ofdb-frontend-api", "...")
}
Rel(ofdb, ofdb_gateways, "...")
Expand All @@ -45,7 +45,7 @@ Rel(ofdb_webserver, ofdb_entities, "...")
Rel(ofdb_webserver, ofdb_db_sqlite, "...")
Rel(ofdb_webserver, ofdb_db_tantivy, "...")
Rel(ofdb_app_clearance, ofdb_seed, "...")
Rel(ofdb_app_clearance, ofdb_frontend_api, "...")
@enduml
```
Expand Down
23 changes: 0 additions & 23 deletions ofdb-seed/Cargo.toml

This file was deleted.

16 changes: 0 additions & 16 deletions ofdb-seed/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions ofdb-seed/examples/login/Cargo.toml

This file was deleted.

45 changes: 0 additions & 45 deletions ofdb-seed/examples/login/index.html

This file was deleted.

Loading

0 comments on commit da847f1

Please sign in to comment.