refactor(oauth): remove oauth internal server (#134)

This commit is contained in:
Vlad Filippov 2018-11-21 14:40:06 -05:00 коммит произвёл GitHub
Родитель 8ecb5b8932
Коммит dd26d71e85
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 0 добавлений и 35 удалений

Просмотреть файл

@ -215,17 +215,6 @@ After the script you need to rebuild *firefox-ios*.
*******
### OAuth Console Developer Accounts
> Skip this if you are not working on managing OAuth clients or working on the OAuth console.
To use the [fxa-oauth-console](https://github.com/mozilla/fxa-oauth-console) to manage OAuth clients you need to run the fxa-oauth-server in MySQL mode
```
./pm2 start mysql_servers.json
```
*******
### Running with MailDev
If you want to inspect emails, you can run fxa-local-dev with [MailDev](https://www.npmjs.com/package/maildev).

Просмотреть файл

@ -21,21 +21,8 @@ const authserverMysql = {
"min_uptime": "2m"
};
const oauthserverInternal = {
"name": "oauth-server-internal PORT 9011",
"script": "bin/internal.js",
"cwd": "fxa-auth-server/fxa-oauth-server",
"env": {
"NODE_ENV": "dev",
"HOST_INTERNAL" : "0.0.0.0"
},
"max_restarts": "1",
"min_uptime": "2m"
};
newServers.push(mysqlServer);
newServers.push(authserverMysql);
newServers.push(oauthserverInternal);
servers.apps.forEach((app) => {
if(app.script.indexOf('mem.js') !== -1) {

Просмотреть файл

@ -16,17 +16,6 @@
"max_restarts": "2",
"min_uptime": "2m"
},
{
"name": "oauth-server-internal PORT 9011",
"script": "bin/internal.js",
"cwd": "fxa-auth-server/fxa-oauth-server",
"env": {
"NODE_ENV": "dev",
"HOST_INTERNAL": "0.0.0.0"
},
"max_restarts": "1",
"min_uptime": "2m"
},
{
"name": "auth-server local mail helper",
"script": "test/mail_helper.js",