Skip to content

Commit 7fddab3

Browse files
Remove Orion
Signed-off-by: Alexandros Filios <[email protected]>
1 parent 9796f03 commit 7fddab3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+59
-4196
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,8 @@ jobs:
103103
update-t1,
104104
update-t2,
105105
update-t3,
106-
dlog-orion,
107-
fabtoken-orion,
108106
nft-dlog,
109107
nft-fabtoken,
110-
nft-dlog-orion,
111-
nft-fabtoken-orion,
112108
dvp-fabtoken,
113109
dvp-dlog,
114110
interop-fabtoken-t1,

Makefile

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
FABRIC_VERSION ?= 2.5.0
33
FABRIC_CA_VERSION ?= 1.5.7
44
FABRIC_TWO_DIGIT_VERSION = $(shell echo $(FABRIC_VERSION) | cut -d '.' -f 1,2)
5-
ORION_VERSION=v0.2.10
65

76
# need to install fabric binaries outside of fts tree for now (due to chaincode packaging issues)
87
FABRIC_BINARY_BASE=$(PWD)/../fabric
@@ -49,7 +48,7 @@ install-softhsm:
4948
./ci/scripts/install_softhsm.sh
5049

5150
.PHONY: docker-images
52-
docker-images: fabric-docker-images orion-server-images monitoring-docker-images testing-docker-images
51+
docker-images: fabric-docker-images monitoring-docker-images testing-docker-images
5352

5453
.PHONY: testing-docker-images
5554
testing-docker-images:
@@ -73,12 +72,6 @@ monitoring-docker-images:
7372
docker pull jaegertracing/all-in-one:latest
7473
docker pull otel/opentelemetry-collector:latest
7574

76-
.PHONY: orion-server-images
77-
orion-server-images:
78-
docker pull orionbcdb/orion-server:$(ORION_VERSION)
79-
docker image tag orionbcdb/orion-server:$(ORION_VERSION) orionbcdb/orion-server:latest
80-
81-
8275
.PHONY: integration-tests-nft-dlog
8376
integration-tests-nft-dlog:
8477
cd ./integration/token/nft/dlog; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) .
@@ -87,14 +80,6 @@ integration-tests-nft-dlog:
8780
integration-tests-nft-fabtoken:
8881
cd ./integration/token/nft/fabtoken; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) .
8982

90-
.PHONY: integration-tests-nft-dlog-orion
91-
integration-tests-nft-dlog-orion:
92-
cd ./integration/token/nft/odlog; ginkgo $(GINKGO_TEST_OPTS) .
93-
94-
.PHONY: integration-tests-nft-fabtoken-orion
95-
integration-tests-nft-fabtoken-orion:
96-
cd ./integration/token/nft/ofabtoken; ginkgo $(GINKGO_TEST_OPTS) .
97-
9883
.PHONY: integration-tests-dvp-fabtoken
9984
integration-tests-dvp-fabtoken:
10085
cd ./integration/token/dvp/fabtoken; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Developing applications that leverage tokens on Hyperledger Fabric can be comple
9595

9696
**Introducing the Fabric Token SDK: Streamlining Tokenized Development (and Beyond)**
9797

98-
The Fabric Token SDK has evolved beyond its initial focus on Hyperledger Fabric. It now empowers developers with the following capabilities across various platforms, including permissioned blockchains like Fabric and even centralized systems like Orion:
98+
The Fabric Token SDK has evolved beyond its initial focus on Hyperledger Fabric. It now empowers developers with the following capabilities across various platforms, including permissioned blockchains like Fabric:
9999

100100
* **Tokenization Made Easy:** Create tokens representing any type of asset, be it physical or digital.
101101
* **Privacy by Design:** Select the appropriate privacy level for your specific use case, without modifying your application logic.

docs/core-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ token:
7777
listenerTimeout: 10s
7878
tms:
7979
mytms: # unique name of this token management system
80-
network: default # the name of the network this TMS refers to (Fabric, Orion, etc)
80+
network: default # the name of the network this TMS refers to (Fabric, etc)
8181
channel: testchannel # the name of the network's channel this TMS refers to, if applicable
8282
namespace: tns # the name of the channel's namespace this TMS refers to, if applicable
8383

docs/design.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**What it is:**
44

5-
* A set of APIs and services for building token-based applications on Hyperledger Fabric, Orion, and potentially other platforms.
5+
* A set of APIs and services for building token-based applications on Hyperledger Fabric, and potentially other platforms.
66

77
**Key Features:**
88

@@ -16,7 +16,7 @@
1616
* The Fabric Token SDK stack consists of several layers:
1717
* [`Services`](services/services.md): Pre-built functionalities like assembling transactions and selecting unspent tokens.
1818
* [`Token API`](apis/token-api.md): Provides a common abstraction for interacting with tokens across different backends.
19-
* [`Driver API`](apis/driver-api.md): Translates generic token operations into backend-specific calls (e.g., Fabric vs. Orion).
19+
* [`Driver API`](apis/driver-api.md): Translates generic token operations into backend-specific calls (e.g., Fabric).
2020
* [`Drivers`](drivers/drivers.md): Define token representation, operations, and validation rules for specific implementations.
2121

2222
**Additional Information:**

docs/services/network.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Network Service
22

3-
The [`token/services/network`](./../../token/services/network) service acts as a bridge, hiding the intricate details of the underlying ledger technology (like Fabric or Orion) from developers.
3+
The [`token/services/network`](./../../token/services/network) service acts as a bridge, hiding the intricate details of the underlying ledger technology (like Fabric) from developers.
44
This service leverages a driver-based design, allowing developers to create new drivers for additional ledger platforms.
5-
Currently, Fabric and Orion are supported out of the box.
5+
Currently, Fabric is supported out of the box.
66

77
### Fabric Driver
88

@@ -45,14 +45,3 @@ In more details:
4545
5. Finally, the RW Set, after processing, is committed to the vault.
4646

4747
Only at this point, the tokens created by the transaction become available via the `Token Vault Service` we have discussed above.
48-
49-
### Orion Driver
50-
51-
The Orion driver is similar to the Fabric driver because also Orion manages RW Sets.
52-
Though, in Orion there is no concept of chaincode or stored routines.
53-
To solve this problem, the Orion driver assumes the existence of a `Custodian` (another FSC node) that sits in front of Orion
54-
and handles the `approval` and `commit` steps.
55-
56-
Here is the pictorial representation of the lifecycle of a token transaction for Orion:
57-
58-
![orion_ttx_lifecycle.png](./../imgs/orion_ttx_lifecycle.png)

docs/services/services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ But that's not all! The SDK also empowers you to create custom services tailored
1010
It offers flexible deployment options for isolated or shared backend systems.
1111
- [`Token Selector`](selector.md): Fabric Token SDK's token selectors allow developers to choose specific tokens (by type, amount, owner) from the vault for transactions.
1212
They prevent double-spending by locking tokens until the transaction is completed, rejected, times out, or explicitly unlocked
13-
- [`Network`](network.md): Network Service in Fabric Token SDK hides complexities of the ledger (Fabric or Orion) for developers.
13+
- [`Network`](network.md): Network Service in Fabric Token SDK hides complexities of the ledger (Fabric) for developers.
1414
It uses a driver-based design allowing for future support of additional platforms.
1515
- [`Interoperability`](interop.md): Fabric Token SDK allows spending tokens based on conditions defined in scripts.
1616
You encode the script within the token's owner field, and the backend interprets it during spending.

docs/services/storage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Here is an example of configuration
4545
token:
4646
tms:
4747
mytms: # unique name of this token management system
48-
network: default # the name of the network this TMS refers to (Fabric, Orion, etc)
48+
network: default # the name of the network this TMS refers to (Fabric, etc)
4949
channel: testchannel # the name of the network's channel this TMS refers to, if applicable
5050
namespace: tns # the name of the channel's namespace this TMS refers to, if applicable
5151
# db specific driver
@@ -58,7 +58,7 @@ token:
5858
token:
5959
tms:
6060
mytms: # unique name of this token management system
61-
network: default # the name of the network this TMS refers to (Fabric, Orion, etc)
61+
network: default # the name of the network this TMS refers to (Fabric, etc)
6262
channel: testchannel # the name of the network's channel this TMS refers to, if applicable
6363
namespace: tns # the name of the channel's namespace this TMS refers to, if applicable
6464
```

docs/services/ttx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Token SDK simplifies token transaction assembly with a dedicated service in
44
This service handles the entire transaction lifecycle, from building the transaction to managing its various stages.
55

66
Even better, this service is ledger-agnostic.
7-
Whether you're using Fabric, Orion, or another platform, you can use the same service to assemble token transactions.
7+
Whether you're using Fabric, or another platform, you can use the same service to assemble token transactions.
88
This flexibility is thanks to the `token/services/network` service, which acts as an abstraction layer, hiding the complexities of the underlying ledger technology.
99
We'll delve deeper into this service later.
1010

fungible.mk

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,6 @@ integration-tests-fabtoken-fabric-t5:
9797
integration-tests-fabtoken-fabric:
9898
cd ./integration/token/fungible/fabtoken; export FAB_BINS=$(FAB_BINS); ginkgo $(GINKGO_TEST_OPTS) --tags pkcs11 --label-filter="$(TEST_FILTER)" .
9999

100-
.PHONY: integration-tests-dlog-orion
101-
integration-tests-dlog-orion:
102-
cd ./integration/token/fungible/odlog; ginkgo $(GINKGO_TEST_OPTS) .
103-
104-
.PHONY: integration-tests-fabtoken-orion
105-
integration-tests-fabtoken-orion:
106-
cd ./integration/token/fungible/ofabtoken; ginkgo $(GINKGO_TEST_OPTS) .
107-
108100
.PHONY: integration-tests-update-t1
109101
integration-tests-update-t1:
110102
make integration-tests-update TEST_FILTER="T1"

0 commit comments

Comments
 (0)