Skip to content

Commit 6e82d1a

Browse files
authored
PML-159: Rename binary from percona-mongolink to pml (#92)
1 parent a5ef6d7 commit 6e82d1a

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/e2etests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Run Percona-MongoLink
4545
run: |
4646
echo "Starting project..."
47-
bin/percona-mongolink_test \
47+
bin/pml_test \
4848
--source="mongodb://source:pass@rs00:30000" \
4949
--target="mongodb://target:pass@rs10:30100" \
5050
--reset-state --start --log-level debug &> server.log &

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ all: build
2020

2121
# Build production binary (optimized for runtime speed and size)
2222
build:
23-
go build $(BUILD_FLAGS) -o bin/percona-mongolink .
23+
go build $(BUILD_FLAGS) -o bin/pml .
2424

2525
# Build test binary with race detection and debugging enabled
2626
test-build:
27-
go build $(TEST_BUILD_FLAGS) -o bin/percona-mongolink_test .
27+
go build $(TEST_BUILD_FLAGS) -o bin/pml_test .
2828

2929
# Run tests with race detection
3030
test:

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ Percona MongoLink is a tool for replicating data from a source MongoDB cluster t
4545
3. Run the server:
4646

4747
```sh
48-
bin/percona-mongolink --source <source-mongodb-uri> --target <target-mongodb-uri>
48+
bin/pml --source <source-mongodb-uri> --target <target-mongodb-uri>
4949
```
5050

5151
Alternatively, you can use environment variables:
5252

5353
```sh
5454
export SOURCE_URI=<source-mongodb-uri>
5555
export TARGET_URI=<target-mongodb-uri>
56-
bin/percona-mongolink --source $SOURCE_URI --target $TARGET_URI
56+
bin/pml --source $SOURCE_URI --target $TARGET_URI
5757
```
5858

5959
> Connections to the source and target must have `readPreference=primary` and `writeConcern=majority` explicitly or unset.
@@ -67,7 +67,7 @@ To start the replication process, you can either use the command-line interface
6767
#### Using Command-Line Interface
6868

6969
```sh
70-
bin/percona-mongolink start
70+
bin/pml start
7171
```
7272

7373
#### Using HTTP API
@@ -86,7 +86,7 @@ To finalize the replication process, you can either use the command-line interfa
8686
#### Using Command-Line Interface
8787

8888
```sh
89-
bin/percona-mongolink finalize
89+
bin/pml finalize
9090
```
9191

9292
#### Using HTTP API
@@ -102,7 +102,7 @@ To pause the replication process, you can either use the command-line interface
102102
#### Using Command-Line Interface
103103

104104
```sh
105-
bin/percona-mongolink pause
105+
bin/pml pause
106106
```
107107

108108
#### Using HTTP API
@@ -118,7 +118,7 @@ To resume the replication process, you can either use the command-line interface
118118
#### Using Command-Line Interface
119119

120120
```sh
121-
bin/percona-mongolink resume
121+
bin/pml resume
122122
```
123123

124124
#### Using HTTP API
@@ -134,7 +134,7 @@ To check the current status of the replication process, you can either use the c
134134
#### Using Command-Line Interface
135135

136136
```sh
137-
bin/percona-mongolink status
137+
bin/pml status
138138
```
139139

140140
#### Using HTTP API
@@ -157,7 +157,7 @@ When starting the MongoLink server, you can use the following options:
157157
Example:
158158

159159
```sh
160-
bin/percona-mongolink \
160+
bin/pml \
161161
--source <source-mongodb-uri> \
162162
--target <target-mongodb-uri> \
163163
--port 2242 \
@@ -348,7 +348,7 @@ poetry run pytest \
348348
--source-uri <source-mongodb-uri> \
349349
--target-uri <target-mongodb-uri> \
350350
--mongolink-url http://localhost:2242 \
351-
--mongolink-bin bin/percona-mongolink_test
351+
--mongolink-bin bin/pml_test
352352
```
353353
354354
Alternatively, you can use environment variables:
@@ -357,7 +357,7 @@ Alternatively, you can use environment variables:
357357
export TEST_SOURCE_URI=<source-mongodb-uri>
358358
export TEST_TARGET_URI=<target-mongodb-uri>
359359
export TEST_MONGOLINK_URL=http://localhost:2242
360-
export TEST_MONGOLINK_BIN=bin/percona-mongolink_test
360+
export TEST_MONGOLINK_BIN=bin/pml_test
361361
poetry run pytest
362362
```
363363

0 commit comments

Comments
 (0)