Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

  • A sessões HTTPENV1 e HTTPENV2 servem para configurar as questões de ambiente e a URL para cada empresa.
  • OBRIGATÓRIAMENTEOBRIGATORIAMENTE, a TAG URL dentro da SESSÃO HTTPENV1 deve ser formada por: /rest concatenado com a empresa, T1 por exemplo, ficando desta forma:
  • URL=/restT1

...

 

View file
nameexemplo.txt
height250

[spod2716.sp01.local:8084/T1]
ENABLE=1
C:\RH_NOVO\web\app\RH\PortalRHUnificado
ENVIRONMENT=P127_BRA
INSTANCENAME=rh01
DEFAULTPAGE=index.html

 

[spod2716.sp01.local:8084/T2]
ENABLE=1
PATH=C:\RH_NOVO\web\app\RH\PortalRHUnificado
ENVIRONMENT=P127_BRA
INSTANCENAME=rh02
DEFAULTPAGE=index.html

[GENERAL]
MAXSTRINGSIZE=10
CONSOLELOG=1
BuildKillUsers=1

[HTTPV11]
Enable=1
Sockets=HTTPREST

 

[HTTPREST]
Port=9103
URIs=HTTPENV1,HTTPENV2
SECURITY=1

 

;// - URL PARA A EMPRESA 1: /REST + EMPRESA(T1)
[HTTPENV1]
URL=/restT1
PrepareIn=T1
Instances=2,5
ENVIRONMENT=P127_BRA
CORSEnable=1
AllowOrigin=*
Public=fwjwt/refresh_token,auth

 

;// - URL PARA A EMPRESA 1: /REST + EMPRESA(T1)
[HTTPENV2]
URL=/restT2
PREPAREIN=T2,L MG 02
Instances=2,5
ENVIRONMENT=P127_BRA
CORSEnable=1
AllowOrigin=*
Public=fwjwt/refresh_token,auth

 

[ONSTART]
jobs=HTTPJOB
RefreshRate=30

 

[HTTPJOB]
MAIN=HTTP_START
ENVIRONMENT=P127_BRA

 

; SESSÃO DE CONFIGURAÇÃO PARA AUTENTICAÇÃO DOS SERVIÇOS
[RESTCONFIG]
userId=user
restPort=9103
RefreshTokenTimeout=300

 

Aviso
titleImportante

Importante notar que há uma URL para cada grupo de empresas, assim como é no portal legado.

...