@oondemand/oon-core-back 0.7.13 → 0.7.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ O Core suporta `ecosystem.role` em `central.config.js`: `root` para a Central de
|
|
|
13
13
|
## Variáveis de ambiente
|
|
14
14
|
|
|
15
15
|
- `CENTRAL_ATIVACAO_URL`: URL pública/frontend da Central de Ativações.
|
|
16
|
-
- `CENTRAL_ATIVACAO_API_URL`: URL canônica do backend da Central de Ativações. Padrão: `https://central-ativacao.
|
|
16
|
+
- `CENTRAL_ATIVACAO_API_URL`: URL canônica do backend da Central de Ativações. Padrão: `https://central-ativacao.oonapps.online/api/`.
|
|
17
17
|
- `APP_CODE`: código do aplicativo no Ecossistema.
|
|
18
18
|
- `APP_ENVIRONMENT`: `desenvolvimento`, `homologacao` ou `producao`.
|
|
19
19
|
- `PUBLIC_APP_URL`: URL pública confirmada da Central.
|
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@ const GenericError = require("../errors/GenericError");
|
|
|
2
2
|
const ctx = require("../context");
|
|
3
3
|
|
|
4
4
|
const DEFAULT_CENTRAL_ATIVACAO_URL =
|
|
5
|
-
"https://central-ativacao.
|
|
5
|
+
"https://central-ativacao.oonapps.online";
|
|
6
6
|
const DEFAULT_CENTRAL_ATIVACAO_API_URL =
|
|
7
|
-
"https://central-ativacao.
|
|
7
|
+
"https://central-ativacao.oonapps.online/api/";
|
|
8
8
|
const LOGIN_PATH = "/integracao/autenticacao-aplicativos/autenticar";
|
|
9
9
|
const PERMISSION_PATH = "/integracao/autenticacao-aplicativos/verificar-permissao";
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const path = require("node:path");
|
|
4
4
|
const { validateDeployFile } = require("../deploy/contracts/deploy-contract");
|
|
5
5
|
|
|
6
|
-
const DEFAULT_ACTIVATION_API = "https://central-ativacao.
|
|
6
|
+
const DEFAULT_ACTIVATION_API = "https://central-ativacao.oonapps.online/api";
|
|
7
7
|
|
|
8
8
|
async function githubOidcToken(audience) {
|
|
9
9
|
const base = process.env.ACTIONS_ID_TOKEN_REQUEST_URL;
|