Skip to content

Commit

Permalink
Update API_DOC
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Oct 1, 2018
1 parent 18d31bc commit 4a05b0c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion doc/manuals.jp/admin/sanity_check.md
Expand Up @@ -29,7 +29,7 @@ curl --header 'Accept: application/json' localhost:1026/version
"compiled_by" : "fermin",
"compiled_in" : "debvm",
"release_date" : "Wed Sep 27 16:56:16 CEST 2017",
"doc" : "https://fiware-orion.readthedocs.org/en/master/"
"doc" : "https://fiware-orion.rtfd.io/"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion doc/manuals/admin/sanity_check.md
Expand Up @@ -31,7 +31,7 @@ curl --header 'Accept: application/json' localhost:1026/version
"compiled_by" : "fermin",
"compiled_in" : "debvm",
"release_date" : "Wed Sep 27 16:56:16 CEST 2017",
"doc" : "https://fiware-orion.readthedocs.org/en/master/"
"doc" : "https://fiware-orion.rtfd.io/"
}
}
```
Expand Down
18 changes: 9 additions & 9 deletions docker/docker_swarm.jp.md
Expand Up @@ -46,10 +46,10 @@ Docker クライアントは、今、作成したクラスタのマネージャ
```bash
$ docker machine ls

NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
ms-manager0 * virtualbox Running tcp://192.168.99.101:2376 v18.02.0-ce
ms-worker0 - virtualbox Running tcp://192.168.99.102:2376 v18.02.0-ce
ms-worker1 - virtualbox Running tcp://192.168.99.100:2376 v18.02.0-ce
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
ms-manager0 * virtualbox Running tcp://192.168.99.101:2376 v18.02.0-ce
ms-worker0 - virtualbox Running tcp://192.168.99.102:2376 v18.02.0-ce
ms-worker1 - virtualbox Running tcp://192.168.99.100:2376 v18.02.0-ce
```

`*` のノードは、Docker クライアントが接続するノードです。
Expand Down Expand Up @@ -207,7 +207,7 @@ MongoDB ReplicaSet を Docker Swarm にデプロイする方法の詳細につ
"compiled_by" : "root",
"compiled_in" : "4d72f1940cd1",
"release_date" : "Wed Feb 21 15:56:28 UTC 2018",
"doc" : "https://fiware-orion.readthedocs.org/en/master/"
"doc" : "https://fiware-orion.rtfd.io/"
}
}
```
Expand All @@ -217,8 +217,8 @@ MongoDB ReplicaSet を Docker Swarm にデプロイする方法の詳細につ
$ docker service scale orion_orion=3

orion_orion scaled to 3
overall progress: 2 out of 3 tasks
1/3: running [==================================================>]
2/3: preparing [=================================> ]
3/3: running [==================================================>]
overall progress: 2 out of 3 tasks
1/3: running [==================================================>]
2/3: preparing [=================================> ]
3/3: running [==================================================>]
```
22 changes: 11 additions & 11 deletions docker/docker_swarm.md
@@ -1,6 +1,6 @@
# How to deploy Orion Context Broker in a Docker Swarm cluster

[Docker Swarm](https://docs.docker.com/engine/swarm/) is the official docker
[Docker Swarm](https://docs.docker.com/engine/swarm/) is the official docker
cluster management solution and it is natively integrated with Docker Engine.

You can find detailed instructions and consideration on running Orion Context
Expand Down Expand Up @@ -35,7 +35,7 @@ $ chmod +rx /usr/local/bin/miniswarm
$ miniswarm start 3
```

The above command will create a Docker Swarm cluster of 3 nodes, including
The above command will create a Docker Swarm cluster of 3 nodes, including
1 master and 2 workers nodes.

### Connect to the cluster
Expand All @@ -52,10 +52,10 @@ You can check that by running
```bash
$ docker machine ls

NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
ms-manager0 * virtualbox Running tcp://192.168.99.101:2376 v18.02.0-ce
ms-worker0 - virtualbox Running tcp://192.168.99.102:2376 v18.02.0-ce
ms-worker1 - virtualbox Running tcp://192.168.99.100:2376 v18.02.0-ce
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
ms-manager0 * virtualbox Running tcp://192.168.99.101:2376 v18.02.0-ce
ms-worker0 - virtualbox Running tcp://192.168.99.102:2376 v18.02.0-ce
ms-worker1 - virtualbox Running tcp://192.168.99.100:2376 v18.02.0-ce
```

The node with `*` is the node to which your docker client will connect.
Expand Down Expand Up @@ -221,7 +221,7 @@ Details on how to deploy a MongoDB ReplicaSet in Docker Swarm are available
"compiled_by" : "root",
"compiled_in" : "4d72f1940cd1",
"release_date" : "Wed Feb 21 15:56:28 UTC 2018",
"doc" : "https://fiware-orion.readthedocs.org/en/master/"
"doc" : "https://fiware-orion.rtfd.io/"
}
}
```
Expand All @@ -232,8 +232,8 @@ Details on how to deploy a MongoDB ReplicaSet in Docker Swarm are available
$ docker service scale orion_orion=3

orion_orion scaled to 3
overall progress: 2 out of 3 tasks
1/3: running [==================================================>]
2/3: preparing [=================================> ]
3/3: running [==================================================>]
overall progress: 2 out of 3 tasks
1/3: running [==================================================>]
2/3: preparing [=================================> ]
3/3: running [==================================================>]
```
2 changes: 1 addition & 1 deletion src/lib/common/defaultValues.h
Expand Up @@ -41,6 +41,6 @@
*
* API Documentation - The link to the the GEri documentation, either in the gh-pages (.github.io/) inside the fiware organization in GitHub or ReadTheDocs manual.
*/
#define API_DOC "https://fiware-orion.readthedocs.org/en/master/"
#define API_DOC "https://fiware-orion.rtfd.io/"

#endif // SRC_LIB_COMMON_DEFAULTVALUES_H_

0 comments on commit 4a05b0c

Please sign in to comment.