feat(servers): added marked tree in to the mix

This commit is contained in:
2026-04-23 07:10:27 -05:00
parent f7276ca2d7
commit 4d53af0338
2 changed files with 21 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
import type sql from "mssql"; import type sql from "mssql";
// TODO : Remove this later and get it onto the env
const username = "gpviewer"; const username = "gpviewer";
const password = "gp$$ViewOnly!"; const password = "gp$$ViewOnly!";

View File

@@ -105,11 +105,11 @@ const servers: NewServerData[] = [
contactEmail: "", contactEmail: "",
contactPhone: "", contactPhone: "",
serverLoc: "D$\\LST_V3", serverLoc: "D$\\LST_V3",
buildNumber: 82, buildNumber: 1,
}, },
{ {
name: "St. Peters", name: "St. Peters",
server: "USTP1VMS006", server: "USSTP1VMS006",
plantToken: "usstp1", plantToken: "usstp1",
idAddress: "10.37.0.26", idAddress: "10.37.0.26",
greatPlainsPlantCode: "45", greatPlainsPlantCode: "45",
@@ -118,8 +118,20 @@ const servers: NewServerData[] = [
serverLoc: "D$\\LST_V3", serverLoc: "D$\\LST_V3",
buildNumber: 1, buildNumber: 1,
}, },
{
name: "Marked Tree",
server: "USMAR1VMS006",
plantToken: "usmar1",
idAddress: "10.206.9.26",
greatPlainsPlantCode: "90",
contactEmail: "",
contactPhone: "",
serverLoc: "D$\\LST_V3",
buildNumber: 1,
},
]; ];
// notes here for when it comes time to pull in all the server address info [test1_AlplaPROD2.0_Read].[masterData].[Plant] has everything from every server :D
export const serversChecks = async () => { export const serversChecks = async () => {
const log = createLogger({ module: "system", subModule: "serverData" }); const log = createLogger({ module: "system", subModule: "serverData" });
const { data, error } = await tryCatch( const { data, error } = await tryCatch(
@@ -152,3 +164,9 @@ export const serversChecks = async () => {
log.info({}, "All Servers were added/updated"); log.info({}, "All Servers were added/updated");
} }
}; };
// Communication from logistic network to logisticsSupportTool (for printers and scanners)
// network justification
// scanners and printers are on dhcp