Loop/Test/Stack Check: Difference between revisions
Rpappalardo (talk | contribs) (Loop deployment verification wiki - initial draft) |
Rpappalardo (talk | contribs) (Add table of URLs) |
||
| Line 4: | Line 4: | ||
<pre style="color: red">DRAFT</pre> | <pre style="color: red">DRAFT</pre> | ||
Many of the services in the Loop ecosystem are essentially nginx servers and can be verified using | Many of the services in the Loop ecosystem are essentially nginx servers and can be verified using | ||
similar techniques. | similar techniques. i.e. If you've verified one service in a given environment (STAGE or PROD), in most cases, you can just change the URL and the verification process will be roughly the same. | ||
== URLS == | |||
You want these: | |||
{| class="wikitable" | |||
|- | |||
|rowspan="3" | loop-server | |||
| DEV | |||
| http://loop-dev.stage.mozaws.net | |||
|- | |||
| STAGE | |||
| http://loop.stage.mozaws.net | |||
|- | |||
| PRODUCTION | |||
| http://loop.services.mozilla.com | |||
|- | |||
|rowspan="3" | loop-client | |||
| DEV | |||
| http://loop-webapp.dev.mozaws.net | |||
|- | |||
| STAGE | |||
| http://call.stage.mozaws.net | |||
|- | |||
| PRODUCTION | |||
| http://hello.firefox.com | |||
|- | |||
|rowspan="3" | msisdn-server | |||
| DEV | |||
| http://msisdn-dev.stage.mozaws.net | |||
|- | |||
| STAGE | |||
| http://msisdn.stage.mozaws.net <br />http://msisdn-loadtest.stage.mozaws.net | |||
|- | |||
| PRODUCTION | |||
| http://msisdn.services.mozilla.com | |||
|- | |||
|} | |||
NOTE: | NOTE: | ||
Revision as of 17:24, 21 May 2015
Summary
DRAFT
Many of the services in the Loop ecosystem are essentially nginx servers and can be verified using similar techniques. i.e. If you've verified one service in a given environment (STAGE or PROD), in most cases, you can just change the URL and the verification process will be roughly the same.
URLS
You want these:
| loop-server | DEV | http://loop-dev.stage.mozaws.net |
| STAGE | http://loop.stage.mozaws.net | |
| PRODUCTION | http://loop.services.mozilla.com | |
| loop-client | DEV | http://loop-webapp.dev.mozaws.net |
| STAGE | http://call.stage.mozaws.net | |
| PRODUCTION | http://hello.firefox.com | |
| msisdn-server | DEV | http://msisdn-dev.stage.mozaws.net |
| STAGE | http://msisdn.stage.mozaws.net http://msisdn-loadtest.stage.mozaws.net | |
| PRODUCTION | http://msisdn.services.mozilla.com |
NOTE:
Any verification on a PRODUCTION service requiring direct server access via terminal is restricted to Ops team.
loop-server
STAGE
In Terminal (on STAGE server): STAGE STACK - PACKAGE VERSION $ sed -n '/version/p' /data/loop-server/package.json:
"version": "0.17.7",
Open following URL in Browser: https://loop.stage.mozaws.net returns:
{
"name": "mozilla-loop-server",
"description": "The Mozilla Loop (WebRTC App) server",
"version": "0.17.7",
"homepage": "https://github.com/mozilla-services/loop-server/",
"endpoint": "https://loop.stage.mozaws.net",
"fakeTokBox": false,
"fxaOAuth": true,
"i18n": {
"defaultLang" : "en-US",
"lang": "en-US"
}
}
Open following URL in Browser: https://loop.stage.mozaws.net/push-server-config: returns:
{
"pushServerURI" : "wss://loop-push1.stage.mozaws.net/"
}
or:
{
"pushServerURI": "wss://loop-push2.stage.mozaws.net/"
}
Open following URL in Browser: https://loop.stage.mozaws.net/__heartbeat__ returns:
{
"storage" : true,
"provider": true
}
In Terminal: $ curl -I https://loop.stage.mozaws.net
HTTP/1.1 200 OK Date: Mon, 27 Apr 2015 19:58:43 GMT Content-Type: application/json; charset=utf-8 Content-Length: 273 Connection: keep-alive Vary: Origin ETag: W/"111-e944a68d" Timestamp: 1430164723
PRODUCTION
<TBD>
loop-client
STAGE
<TBD>
PRODUCTION
<TBD>
msisdn-gateway
STAGE
<TBD>
PRODUCTION
<TBD>