Skip to content

Commit

Permalink
feat!: remove distributed mode (#341)
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultFy <[email protected]>
  • Loading branch information
ThibaultFy authored Dec 21, 2023
1 parent 1030a44 commit bd70dfc
Show file tree
Hide file tree
Showing 129 changed files with 65 additions and 9,637 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Removed

- BREAKING: remove all code related to the `distributed` mode, and mentions in schemas and documentation ([#341](https://github.com/Substra/orchestrator/pull/341))
- BREAKING: `distributed` Skaffold profile and mentions in doc ([#319](https://github.com/Substra/orchestrator/pull/319))
- BREAKING: `chaincode-init` and `chaincode` Dockerfiles ([#319](https://github.com/Substra/orchestrator/pull/319))

Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
OUTPUT_DIR = ./bin
CHAINCODE_BIN = $(OUTPUT_DIR)/chaincode
ORCHESTRATOR_BIN = $(OUTPUT_DIR)/orchestrator
PROJECT_ROOT = .
MIGRATIONS_DIR = $(PROJECT_ROOT)/server/standalone/migration
Expand Down Expand Up @@ -45,9 +44,6 @@ format: codegen # Format codebase
$(ORCHESTRATOR_BIN): $(pbgo) $(go_src) $(OUTPUT_DIR) $(lib_generated)
$(build_env) go build -o $(ORCHESTRATOR_BIN) -ldflags="-X 'github.com/substra/orchestrator/server/common.Version=$(VERSION)'" ./server

$(CHAINCODE_BIN): $(pbgo) $(go_src) $(OUTPUT_DIR) $(lib_generated)
$(build_env) go build -o $(CHAINCODE_BIN) -ldflags="-X 'github.com/substra/orchestrator/chaincode/info.Version=$(VERSION)'" ./chaincode

$(OUTPUT_DIR):
mkdir $(OUTPUT_DIR)

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ This component's purpose is to orchestrate task processing in multiple channels
- it is the single source of truth of _Substra_ organizations;
- it exposes necessary data to _Substra_ instances to process their tasks and register their assets;
- its API is aimed to serve backends, not end-users;
- it works the same way in both standalone and distributed mode;
- it enforces that all registered data are valid;
- it ensures data consistency under multiple concurrent requests;

Expand Down Expand Up @@ -128,7 +127,7 @@ Then you can launch call like this:
```
package orchestrator
service OrganizationService
header mspid=MyOrg1MSP channel=mychannel chaincode=mycc
header mspid=MyOrg1MSP channel=mychannel
call GetAllOrganizations
```

Expand Down
60 changes: 0 additions & 60 deletions chaincode/communication/wrapper.go

This file was deleted.

30 changes: 0 additions & 30 deletions chaincode/communication/wrapper_test.go

This file was deleted.

217 changes: 0 additions & 217 deletions chaincode/computeplan/contract.go

This file was deleted.

Loading

0 comments on commit bd70dfc

Please sign in to comment.