Rebranding
This commit is contained in:
parent
afaab504da
commit
36bc5dd14b
32 changed files with 120 additions and 146 deletions
24
README.md
24
README.md
|
@ -132,7 +132,7 @@ remoteMockServer.addMock(new AddMock(
|
|||
Send POST request to localhost:<PORT>/serverControl
|
||||
|
||||
```xml
|
||||
<addMock xmlns="http://touk.pl/mockserver/api/request">
|
||||
<addMock xmlns="http://ztsh.eu/mockserver/api/request">
|
||||
<name>...</name>
|
||||
<path>...</path>
|
||||
<port>...</port>
|
||||
|
@ -200,13 +200,13 @@ In closures input parameter (called req) contains properties:
|
|||
Response if success:
|
||||
|
||||
```xml
|
||||
<mockAdded xmlns="http://touk.pl/mockserver/api/response"/>
|
||||
<mockAdded xmlns="http://ztsh.eu/mockserver/api/response"/>
|
||||
```
|
||||
|
||||
Response with error message if failure:
|
||||
|
||||
```xml
|
||||
<exceptionOccured xmlns="http://touk.pl/mockserver/api/response">...</exceptionOccured>
|
||||
<exceptionOccured xmlns="http://ztsh.eu/mockserver/api/response">...</exceptionOccured>
|
||||
```
|
||||
|
||||
Peek mock
|
||||
|
@ -225,7 +225,7 @@ List<MockEvent> mockEvents = remoteMockServer.peekMock('...')
|
|||
Send POST request to localhost:<PORT>/serverControl
|
||||
|
||||
```xml
|
||||
<peekMock xmlns="http://touk.pl/mockserver/api/request">
|
||||
<peekMock xmlns="http://ztsh.eu/mockserver/api/request">
|
||||
<name>...</name>
|
||||
</peekMock>
|
||||
```
|
||||
|
@ -233,7 +233,7 @@ Send POST request to localhost:<PORT>/serverControl
|
|||
Response if success:
|
||||
|
||||
```xml
|
||||
<mockPeeked xmlns="http://touk.pl/mockserver/api/response">
|
||||
<mockPeeked xmlns="http://ztsh.eu/mockserver/api/response">
|
||||
<mockEvent>
|
||||
<request>
|
||||
<text>...</text>
|
||||
|
@ -265,7 +265,7 @@ Response if success:
|
|||
Response with error message if failure:
|
||||
|
||||
```xml
|
||||
<exceptionOccured xmlns="http://touk.pl/mockserver/api/response">...</exceptionOccured>
|
||||
<exceptionOccured xmlns="http://ztsh.eu/mockserver/api/response">...</exceptionOccured>
|
||||
```
|
||||
|
||||
Remove mock
|
||||
|
@ -284,7 +284,7 @@ List<MockEvent> mockEvents = remoteMockServer.removeMock('...', ...)
|
|||
Send POST request to localhost:<PORT>/serverControl
|
||||
|
||||
```xml
|
||||
<removeMock xmlns="http://touk.pl/mockserver/api/request">
|
||||
<removeMock xmlns="http://ztsh.eu/mockserver/api/request">
|
||||
<name>...</name>
|
||||
<skipReport>...</skipReport>
|
||||
</removeMock>
|
||||
|
@ -293,7 +293,7 @@ Send POST request to localhost:<PORT>/serverControl
|
|||
Response if success (and skipReport not given or equal false):
|
||||
|
||||
```xml
|
||||
<mockRemoved xmlns="http://touk.pl/mockserver/api/response">
|
||||
<mockRemoved xmlns="http://ztsh.eu/mockserver/api/response">
|
||||
<mockEvent>
|
||||
<request>
|
||||
<text>...</text>
|
||||
|
@ -325,13 +325,13 @@ Response if success (and skipReport not given or equal false):
|
|||
If skipReport is set to true then response will be:
|
||||
|
||||
```xml
|
||||
<mockRemoved xmlns="http://touk.pl/mockserver/api/response"/>
|
||||
<mockRemoved xmlns="http://ztsh.eu/mockserver/api/response"/>
|
||||
```
|
||||
|
||||
Response with error message if failure:
|
||||
|
||||
```xml
|
||||
<exceptionOccured xmlns="http://touk.pl/mockserver/api/response">...</exceptionOccured>
|
||||
<exceptionOccured xmlns="http://ztsh.eu/mockserver/api/response">...</exceptionOccured>
|
||||
```
|
||||
|
||||
List mocks definitions
|
||||
|
@ -425,7 +425,7 @@ This response could be saved to file and passed as it is during mock server crea
|
|||
Remote repository
|
||||
-----------------
|
||||
|
||||
Mockserver is available at `philanthropist.touk.pl`.
|
||||
Mockserver is available at `philanthropist.ztsh.eu`.
|
||||
|
||||
Just add repository to maven pom:
|
||||
|
||||
|
@ -436,7 +436,7 @@ Just add repository to maven pom:
|
|||
...
|
||||
<repository>
|
||||
<id>touk</id>
|
||||
<url>https://philanthropist.touk.pl/nexus/content/repositories/releases</url>
|
||||
<url>https://philanthropist.ztsh.eu/nexus/content/repositories/releases</url>
|
||||
</repository>
|
||||
...
|
||||
</repositories>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue