puertos
This commit is contained in:
@@ -5,13 +5,13 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: {{baseurl}}/sim/select?iccid=8934909001500561503
|
url: {{baseurl}}/sim/select?iccid=8935103196306448300
|
||||||
body: none
|
body: none
|
||||||
auth: inherit
|
auth: inherit
|
||||||
}
|
}
|
||||||
|
|
||||||
params:query {
|
params:query {
|
||||||
iccid: 8934909001500561503
|
iccid: 8935103196306448300
|
||||||
}
|
}
|
||||||
|
|
||||||
settings {
|
settings {
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
ALAI_PORT=3003
|
ALAI_PORT=3003
|
||||||
ALAI_HOST="0.0.0.0"
|
ALAI_HOST="0.0.0.0"
|
||||||
|
|
||||||
ENVIORMENT=development
|
|
||||||
|
|
||||||
ALAI_API_URL=https://wsaccess.alaisecure.com/bssrest
|
ALAI_API_URL=https://wsaccess.alaisecure.com/bssrest
|
||||||
|
|
||||||
ALAI_CERTIFICATES_DIR=./certificates/
|
ALAI_CERTIFICATES_DIR=./certificates/
|
||||||
ALAI_CERTIFICATE_NAME=wsaccess_alaisecure_com_cert_client_new.p12
|
ALAI_CERTIFICATE_NAME=wsaccess_alaisecure_com_cert_client_new.p12
|
||||||
ALAI_CERTIFICATE_PASSWORD=iHaaek+zyzWz6cH6rg==
|
ALAI_CERTIFICATE_PASSWORD=iHaaek+zyzWz6cH6rg==
|
||||||
ALAI_USERNAME=palomaibanez
|
ALAI_USERNAME=infosavefamily
|
||||||
ALAI_PASSWORD=palomaibanez1234
|
ALAI_PASSWORD=infosavefamily
|
||||||
ALAI_BRANDID=savefamily
|
ALAI_BRANDID=savefamily
|
||||||
|
|
||||||
ALAI_PACKAGE=Tarifa_250MB_100MIN_5SMS
|
ALAI_PACKAGE=Tarifa_250MB_100MIN_5SMS
|
||||||
|
|||||||
@@ -58,7 +58,6 @@ async function startWorker() {
|
|||||||
}))
|
}))
|
||||||
//app.get("/selectPage", alaiController.selectPageREST())
|
//app.get("/selectPage", alaiController.selectPageREST())
|
||||||
|
|
||||||
console.log(PORT, HOSTNAME)
|
|
||||||
app.listen(PORT, HOSTNAME, (e) => {
|
app.listen(PORT, HOSTNAME, (e) => {
|
||||||
if (e == undefined) {
|
if (e == undefined) {
|
||||||
console.log("[o] Servidor (Alai) iniciado en el puerto %d", PORT)
|
console.log("[o] Servidor (Alai) iniciado en el puerto %d", PORT)
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ export const env = {
|
|||||||
RABBITMQ_RETRY_INTERVAL: process.env.RABBITMQ_INTERVAL,
|
RABBITMQ_RETRY_INTERVAL: process.env.RABBITMQ_INTERVAL,
|
||||||
RABBITMQ_VHOST: String(process.env.RABBITMQ_VHOST),
|
RABBITMQ_VHOST: String(process.env.RABBITMQ_VHOST),
|
||||||
|
|
||||||
APP_PORT: Number(process.env.APP_PORT),
|
APP_PORT: Number(process.env.NOS_PORT),
|
||||||
APP_HOST: String(process.env.APP_HOST),
|
APP_HOST: String(process.env.NOS_HOST),
|
||||||
|
|
||||||
// ESPECIFICO NOS
|
// ESPECIFICO NOS
|
||||||
NOS_BASE_URL: String(process.env.NOS_BASE_URL),
|
NOS_BASE_URL: String(process.env.NOS_BASE_URL),
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ async function startWorker() {
|
|||||||
|
|
||||||
app.listen(PORT, HOSTNAME, (e) => {
|
app.listen(PORT, HOSTNAME, (e) => {
|
||||||
if (e == undefined) {
|
if (e == undefined) {
|
||||||
console.log("[o] Servidor iniciado en el puerto %d", PORT)
|
console.log("[o] Servidor (NOS) iniciado en el puerto %d", PORT)
|
||||||
} else {
|
} else {
|
||||||
console.error("Error express ", e)
|
console.error("Error express ", e)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -258,6 +258,7 @@ export class SimController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* -- WIP
|
||||||
* Esta funcion se plantea para guardar tarjetas que no han llegado desde
|
* Esta funcion se plantea para guardar tarjetas que no han llegado desde
|
||||||
* un operador conocido
|
* un operador conocido
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user