Skip to content

Commit 5712546

Browse files
committed
update links to smocker-dev/smocker
1 parent a409815 commit 5712546

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/guide/installation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ docker run -d \
1414
-p 8080:8080 \
1515
-p 8081:8081 \
1616
--name smocker \
17-
thiht/smocker
17+
ghcr.io/smocker-dev/smocker
1818
```
1919

2020
or with TLS enabled:
@@ -28,7 +28,7 @@ docker run -d \
2828
-v /path/to/your/cert.pem:/etc/smocker/tls/certs/cert.pem:ro \
2929
-v /path/to/your/key.pem:/etc/smocker/tls/private/key.pem:ro \
3030
--name smocker \
31-
thiht/smocker
31+
ghcr.io/smocker-dev/smocker
3232
```
3333

3434
## Manual Deployment
@@ -40,7 +40,7 @@ The official binaries are currently built for Linux only. This is not a hard lim
4040
```sh
4141
# This will be the deployment folder for the Smocker instance
4242
mkdir -p /opt/smocker && cd /opt/smocker
43-
wget -P /tmp https://github.com/Thiht/smocker/releases/latest/download/smocker.tar.gz
43+
wget -P /tmp https://github.com/smocker-dev/smocker/releases/latest/download/smocker.tar.gz
4444
tar xf /tmp/smocker.tar.gz
4545
rm /tmp/smocker.tar.gz
4646

docs/guide/real-life.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Let's synthesize this in a docker-compose file:
196196
version: "3"
197197
services:
198198
smocker:
199-
image: thiht/smocker
199+
image: ghcr.io/smocker-dev/smocker
200200
ports:
201201
- 8080:8080
202202
- 8081:8081
@@ -366,4 +366,4 @@ To simply describe the above test, Venom will:
366366
- Display the Venom call in Smocker's history. \
367367
If we had made the call directly on the `reservations` service, we would only have the call to the `users` service on Smocker's history.
368368

369-
For real Venom tests examples, we invite you to check [Smocker's test suite](https://github.com/Thiht/smocker/tree/master/tests/features).
369+
For real Venom tests examples, we invite you to check [Smocker's test suite](https://github.com/smocker-dev/smocker/tree/main/tests/features).

docs/technical-documentation/mock-definition.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ dynamic_response:
252252

253253
### Dynamic responses using Go templates
254254

255-
A dynamic response using Go templates must generate a YAML string representing a `response` object. Some parts of the response can be generated dynamically. In Go templates, the [`Request`](https://pkg.go.dev/github.com/Thiht/smocker/server/types#Request) variable is available, containing the values of the current request. The utility library [Masterminds/sprig](https://masterminds.github.io/sprig/) is also fully available.
255+
A dynamic response using Go templates must generate a YAML string representing a `response` object. Some parts of the response can be generated dynamically. In Go templates, the [`Request`](https://pkg.go.dev/github.com/smocker-dev/smocker/server/types#Request) variable is available, containing the values of the current request. The utility library [Masterminds/sprig](https://masterminds.github.io/sprig/) is also fully available.
256256

257257
The easiest way to write a dynamic response using Go templates is to first write the static response you want:
258258

@@ -286,7 +286,7 @@ Note that the `script` is a string which must be written in YAML.
286286

287287
### Dynamic responses using Lua scripts
288288

289-
A dynamic response using Lua must generate a [Lua table](https://devhints.io/lua#lookups) representing a `response` object. In Lua scripts, the [`request`](https://pkg.go.dev/github.com/Thiht/smocker/server/types#Request) variable is available, containing the values of the current request. The [`math`](http://lua-users.org/wiki/MathLibraryTutorial), [`string`](http://lua-users.org/wiki/StringLibraryTutorial), and [`table`](http://lua-users.org/wiki/TableLibraryTutorial) libraries are available.
289+
A dynamic response using Lua must generate a [Lua table](https://devhints.io/lua#lookups) representing a `response` object. In Lua scripts, the [`request`](https://pkg.go.dev/github.com/smocker-dev/smocker/server/types#Request) variable is available, containing the values of the current request. The [`math`](http://lua-users.org/wiki/MathLibraryTutorial), [`string`](http://lua-users.org/wiki/StringLibraryTutorial), and [`table`](http://lua-users.org/wiki/TableLibraryTutorial) libraries are available.
290290

291291
A dynamic response using Lua scripts has the following format:
292292

docusaurus.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const config: Config = {
121121
label: "Resources",
122122
},
123123
{
124-
href: "https://github.com/Thiht/smocker",
124+
href: "https://github.com/smocker-dev/smocker",
125125
label: "GitHub",
126126
position: "right",
127127
},

0 commit comments

Comments
 (0)