From d015038db200e1afbbb5e37f79139322487e0749 Mon Sep 17 00:00:00 2001 From: Guille Date: Tue, 22 Oct 2024 21:40:01 +0200 Subject: [PATCH] Change endpoint --- package.json | 2 +- workflows/energy_plus/module/module.js | 4 ++-- workflows/idf/module/module.js | 4 ++-- workflows/meb/module/module.js | 4 ++-- workflows/retrofit v2/module/module.js | 4 ++-- workflows/retrofit/module/module.js | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index bd92f21..ebb32c7 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.6", "description": "NextGen Institute workflows", "main": "main.js", - "homepage": "https://nextgenerations-cities.encs.concordia.ca/gitea/g_gutierrez/workflow_launcher", + "homepage": "https://ngci.encs.concordia.ca/gitea/g_gutierrez/workflow_launcher", "scripts": { "start": "electron .", "test": "test", diff --git a/workflows/energy_plus/module/module.js b/workflows/energy_plus/module/module.js index ec8ccf3..c81390e 100644 --- a/workflows/energy_plus/module/module.js +++ b/workflows/energy_plus/module/module.js @@ -3,8 +3,8 @@ const fs = require('fs') const path = require('path') const { Blob } = require('buffer') const dotenv = require('dotenv') -const session_start = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/session/start' -const energy_plus = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/workflow/energy-plus' +const session_start = 'https://ngci.encs.concordia.ca/api/v1.4/session/start' +const energy_plus = 'https://ngci.encs.concordia.ca/api/v1.4/workflow/energy-plus' exports.run = async (application, param, tmp_path) => { console.log(`Executing ${application}`) diff --git a/workflows/idf/module/module.js b/workflows/idf/module/module.js index 27186c3..0e9c753 100644 --- a/workflows/idf/module/module.js +++ b/workflows/idf/module/module.js @@ -1,8 +1,8 @@ const { BrowserWindow, app } = require('electron') const path = require('path') const dotenv = require('dotenv') -const session_start = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/session/start' -const idf_generator = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/energy-plus/idf-generator' +const session_start = 'https://ngci.encs.concordia.ca/api/v1.4/session/start' +const idf_generator = 'https://ngci.encs.concordia.ca/api/v1.4/energy-plus/idf-generator' exports.run = async (application, param, tmp_path) => { const building = param['building'] diff --git a/workflows/meb/module/module.js b/workflows/meb/module/module.js index 5a31ffc..f24a296 100644 --- a/workflows/meb/module/module.js +++ b/workflows/meb/module/module.js @@ -3,8 +3,8 @@ const fs = require('fs') const path = require('path') const { Blob } = require('buffer') const dotenv = require('dotenv') -const session_start = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/session/start' -const insel_meb = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/workflow/insel-monthly-energy-balance' +const session_start = 'https://ngci.encs.concordia.ca/api/v1.4/session/start' +const insel_meb = 'https://ngci.encs.concordia.ca/api/v1.4/workflow/insel-monthly-energy-balance' exports.run = async (application, param, tmp_path) => { console.log(`Executing ${application}`) diff --git a/workflows/retrofit v2/module/module.js b/workflows/retrofit v2/module/module.js index b506578..8e7e3a1 100644 --- a/workflows/retrofit v2/module/module.js +++ b/workflows/retrofit v2/module/module.js @@ -1,8 +1,8 @@ const { BrowserWindow, app } = require('electron') const path = require('path') const dotenv = require('dotenv') -const session_start = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/session/start' -const retrofit_results = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/persistence/full-retrofit-results' +const session_start = 'https://ngci.encs.concordia.ca/api/v1.4/session/start' +const retrofit_results = 'https://ngci.encs.concordia.ca/api/v1.4/persistence/full-retrofit-results' exports.run = async (application, param, tmp_path) => { buildings = param['buildings'] diff --git a/workflows/retrofit/module/module.js b/workflows/retrofit/module/module.js index d74130e..b6cd793 100644 --- a/workflows/retrofit/module/module.js +++ b/workflows/retrofit/module/module.js @@ -1,8 +1,8 @@ const { BrowserWindow, app } = require('electron') const path = require('path') const dotenv = require('dotenv') -const session_start = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/session/start' -const retrofit_results = 'https://nextgenerations-cities.encs.concordia.ca/api/v1.4/persistence/retrofit-results' +const session_start = 'https://ngci.encs.concordia.ca/api/v1.4/session/start' +const retrofit_results = 'https://ngci.encs.concordia.ca/api/v1.4/persistence/retrofit-results' exports.run = async (application, param, tmp_path) => { buildings = param['buildings']