Change Monasca Port

Actually, the port for log api is 5607.

Change-Id: I1b0d7128fe1fb62843a21e6aab4966ecc77d74e6
This commit is contained in:
Matteus Silva 2016-07-12 20:04:19 -03:00
parent f831654008
commit 80655f935e
3 changed files with 7 additions and 7 deletions

View File

@ -103,7 +103,7 @@ are healthy too.
* 503 - API is running but problems with peripheral components have been spotted.
Example:
```curl -XGET 192.168.10.4:8080/healthcheck```
```curl -XGET 192.168.10.4:5607/healthcheck```
### Peripheral checks
@ -116,7 +116,7 @@ It does not return any data because it is accessible only for ```HEAD``` request
If the *Monasca Log API* is running the following response code: ```204``` is expected.
Example:
```curl -XHEAD 192.168.10.4:8080/healthcheck```
```curl -XHEAD 192.168.10.4:5607/healthcheck```
=======
@ -144,7 +144,7 @@ POST a single line of plain text log.
```
POST /v2.0/log/single HTTP/1.1
Host: 192.168.10.4:8080
Host: 192.168.10.4:5607
Content-Type: text/plain
X-Auth-Token: 27feed73a0ce4138934e30d619b415b0
X-Application-Type: apache
@ -159,7 +159,7 @@ POST a multiple lines of plain text log.
```
POST /v2.0/log/single HTTP/1.1
Host: 192.168.10.4:8080
Host: 192.168.10.4:5607
Content-Type: text/plain
X-Auth-Token: 27feed73a0ce4138934e30d619b415b0
X-Application-Type: apache
@ -174,7 +174,7 @@ POST a JSON log
```
POST /v2.0/log/single HTTP/1.1
Host: 192.168.10.4:8080
Host: 192.168.10.4:5607
Content-Type: application/json
X-Auth-Token: 27feed73a0ce4138934e30d619b415b0
X-Application-Type: apache

View File

@ -16,6 +16,6 @@ paste.filter_factory = monasca_log_api.middleware.role_middleware:RoleMiddleware
[server:main]
use = egg:gunicorn#main
host = 127.0.0.1
port = 8074
port = 5607
workers = 1
proc_name = monasca_log_api

View File

@ -108,5 +108,5 @@ def get_wsgi_app(config_base_path=None):
if __name__ == '__main__':
wsgi_app = get_wsgi_app()
httpd = simple_server.make_server('127.0.0.1', 8074, wsgi_app)
httpd = simple_server.make_server('127.0.0.1', 5607, wsgi_app)
httpd.serve_forever()