diff --git a/index_local.js b/index_local.js new file mode 100644 index 0000000..e640862 --- /dev/null +++ b/index_local.js @@ -0,0 +1,19 @@ +'use strict'; + +/** + * @license + * Copyright SOAJS All Rights Reserved. + * + * Use of this source code is governed by an Apache license that can be + * found in the LICENSE file at the root of this repository + */ + +process.env.SOAJS_ENV = "DEV"; +process.env.SOAJS_SRVIP = "127.0.0.1"; +process.env.SOAJS_PROFILE = "/opt/demo/soajs.installer/soajs.installer.local/data/soajs_profile.js"; +process.env.SOAJS_MONGO_CON_KEEPALIVE = 'true'; +process.env.SOAJS_DEPLOY_MANUAL = 1; +process.env.SOAJS_REGISTRY_API = "127.0.0.1:11000"; + +const service = require('./_index.js'); +service.runService(); \ No newline at end of file diff --git a/package.json b/package.json index fb91613..5daceca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "soajs.oauth", "description": "soajs oauth service", - "version": "3.0.27", + "version": "3.0.28", "author": { "name": "soajs team", "email": "team@soajs.org" @@ -30,7 +30,7 @@ "mocha": "6.2.2", "nock": "11.7.1", "request": "2.88.2", - "soajs.controller": "4.0.39", + "soajs.controller": "4.0.40", "sinon": "7.5.0" }, "dependencies": { @@ -46,6 +46,6 @@ "passport-linkedin-oauth2": "2.0.0", "passport-twitter": "1.0.4", "soajs": "4.0.26", - "soajs.urac.driver": "3.0.16" + "soajs.urac.driver": "3.0.17" } }