Skip to content

Commit 4e999fc

Browse files
committed
[build] Remove o2-aliecs-odc-shim, the legacy ODC client implementation
1 parent 0f605e6 commit 4e999fc

File tree

14 files changed

+4
-4594
lines changed

14 files changed

+4
-4594
lines changed

Makefile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,19 @@ DD_PROTO="https://raw.githubusercontent.com/AliceO2Group/DataDistribution/master
4343
VERBOSE_1 := -v
4444
VERBOSE_2 := -v -x
4545

46-
WHAT := o2-aliecs-core o2-aliecs-executor coconut peanut o2-aliecs-odc-shim walnut o2-apricot
46+
WHAT := o2-aliecs-core o2-aliecs-executor coconut peanut walnut o2-apricot
4747
WHAT_o2-aliecs-core_BUILD_FLAGS=$(BUILD_ENV_FLAGS)
4848
WHAT_o2-aliecs-executor_BUILD_FLAGS=$(BUILD_ENV_FLAGS)
4949
WHAT_coconut_BUILD_FLAGS=$(BUILD_ENV_FLAGS)
5050
WHAT_peanut_BUILD_FLAGS=$(BUILD_ENV_FLAGS)
51-
WHAT_o2-aliecs-odc-shim_BUILD_FLAGS=$(BUILD_ENV_FLAGS)
5251
WHAT_walnut_BUILD_FLAGS=$(BUILD_ENV_FLAGS)
5352
WHAT_o2-apricot_BUILD_FLAGS=$(BUILD_ENV_FLAGS)
5453

5554
INSTALL_WHAT:=$(patsubst %, install_%, $(WHAT))
5655

5756

58-
GENERATE_DIRS := ./apricot ./coconut/cmd ./common/runtype ./common/system ./core ./core/integration/dcs ./core/integration/ddsched ./core/integration/odc ./executor ./odcshim ./walnut
59-
SRC_DIRS := ./apricot ./cmd/* ./core ./coconut ./executor ./common ./configuration ./occ/peanut ./odcshim ./walnut
57+
GENERATE_DIRS := ./apricot ./coconut/cmd ./common/runtype ./common/system ./core ./core/integration/dcs ./core/integration/ddsched ./core/integration/odc ./executor ./walnut
58+
SRC_DIRS := ./apricot ./cmd/* ./core ./coconut ./executor ./common ./configuration ./occ/peanut ./walnut
6059

6160
# Use linker flags to provide version/build settings to the target
6261
PROD :=-X=$(REPOPATH)/common/product
@@ -131,8 +130,6 @@ vendor:
131130
@echo -e "\033[1;33mcurl odc.proto\033[0m"
132131
@mkdir -p core/integration/odc/protos
133132
@curl -s -L $(ODC_PROTO) -o core/integration/odc/protos/odc.proto
134-
@mkdir -p odcshim/odcprotos
135-
@curl -s -L $(ODC_PROTO) -o odcshim/odcprotos/odc.proto
136133

137134
@echo -e "\033[1;33mcurl ddsched.proto\033[0m"
138135
@mkdir -p core/integration/ddsched/protos
@@ -145,7 +142,6 @@ vendor:
145142
# after we download it.
146143
@echo -e "\033[1;33mpatch odc.proto\033[0m"
147144
@perl -pi -e '$$_.="option go_package = \"protos;odc\";\n" if (/^package/)' core/integration/odc/protos/odc.proto
148-
@perl -pi -e '$$_.="option go_package = \"odcprotos;odc\";\n" if (/^package/)' odcshim/odcprotos/odc.proto
149145

150146
# vendor: tools/dep
151147
# @echo -e "\033[1;33mdep ensure\033[0m"

cmd/o2-aliecs-odc-shim/main.go

Lines changed: 0 additions & 41 deletions
This file was deleted.

docs/building.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ AliECS consists of:
1313
* process control plugin + library (OCC) - C++, runs throughout the cluster linked by user processes
1414
* peanut - Go, local debugging tool
1515
* walnut - Go, local workflow conversion tool
16-
* o2-aliecs-odc-shim - Go, runs on the cluster as an intermediary between AliECS and the EPN cluster
1716

1817
## Building with aliBuild
1918

@@ -30,7 +29,7 @@ For development purposes, due to the significant differences in building and dep
3029
$ aliBuild init --defaults o2-dataflow Control-OCCPlugin
3130
$ aliBuild build --defaults o2-dataflow Control-OCCPlugin
3231

33-
# Includes core, executor and o2-aliecs-odc-shim in default build, can be used to build coconut, peanut and walnut locally
32+
# Includes core and executor in default build, can be used to build coconut, peanut and walnut locally
3433
$ aliBuild init --defaults o2-dataflow Control-Core
3534
$ aliBuild build --defaults o2-dataflow Control-Core
3635
```

docs/handbook/overview.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ AliECS in a distributed application, using Apache Mesos as toolkit. It integrate
1515
| configuration | A Consul data store, running on the head node on port 8500. Used for AliECS configuration as well as application-specific component configuration. |
1616
| Mesos master | Main service of the Mesos resource management system, running on the head node on port 5050. |
1717
| Mesos agent | Agent service of the Mesos RMS, running on every FLP. |
18-
| O²/EPN cluster control | Instance of Online Device Control (ODC) running on the O²/EPN cluster. Used for workflows that include `o2-aliecs-odc-shim` as controlled task. |
1918
| AliECS GUI | Instance of the user-facing web interface for AliECS (`cog`), running on the head node. This is the main entry point for regular users. |
2019
| AliECS CLI | The `coconut` command, provided by the package with the same name. This is the reference client for advanced users and developers. |
2120

0 commit comments

Comments
 (0)