Skip to content

Commit

Permalink
Added hard coded path for STAC Browser for the unity-venue-ops and em…
Browse files Browse the repository at this point in the history
…it-dev accounts.
  • Loading branch information
anilnatha committed Oct 2, 2024
1 parent 206b0e9 commit 082d73f
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions src/state/slices/healthSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,31 @@ const getItems = () => {

// Get additional links that should be added for the given project and venue

const project = Config['general']['project'];
const venue = Config['general']['venue'];
const project = Config['general']['project'].toUpperCase();
const venue = Config['general']['venue'].toUpperCase();

let serviceItems:Service[] = Array<Service>();

if( project.toUpperCase() === 'EMIT' && venue.toUpperCase() === 'DEV' ) {
if( project === "UNITY" && venue === 'OPS') {

serviceItems = [
{
componentName: "STAC Browser",
ssmKey: "",
healthCheckUrl: "",
landingPageUrl: "https://www.mdps.mcp.nasa.gov:4443/data/stac_browser/",
healthChecks: [
{
status: "UNKNOWN",
httpResponseCode: "",
date: ""
}
]
}
];
}

if( project === "EMIT" && venue === "DEV" ) {

serviceItems = [
{
Expand Down Expand Up @@ -86,6 +105,19 @@ const getItems = () => {
}
]
},
{
componentName: "STAC Browser",
ssmKey: "",
healthCheckUrl: "",
landingPageUrl: "https://www.mdps.mcp.nasa.gov:4443/data/stac_browser/",
healthChecks: [
{
status: "UNKNOWN",
httpResponseCode: "",
date: ""
}
]
}
];
}

Expand Down

0 comments on commit 082d73f

Please sign in to comment.