Skip to content

Commit 1c77db2

Browse files
BryanTabarezbryan-tabarez
andauthored
ENG-0000: Add Yard locations to AlLocationDictionary (#264)
* Add Yard locations to AlLocationDictionary * Remove yard from resolveByResidencyServiceList * bump * fix --------- Co-authored-by: bryan-tabarez <[email protected]>
1 parent e56dcbc commit 1c77db2

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@al/core",
3-
"version": "1.0.199",
3+
"version": "1.0.200",
44
"description": "Node Enterprise Packages for Alert Logic (NEPAL) Core Library",
55
"main": "./dist/index.cjs.js",
66
"types": "./dist/index.d.ts",

src/client/al-api-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class AlApiClient implements AlValidationSchemaProvider
8282
/**
8383
* The following list of services are the ones whose endpoints will need to be determined for the current context active residency location.
8484
*/
85-
protected static resolveByResidencyServiceList = [ "iris", "kalm", "ticketmaster", "tacoma", "responder", "responder-async", "cargo", "yard" ];
85+
protected static resolveByResidencyServiceList = [ "iris", "kalm", "ticketmaster", "tacoma", "responder", "responder-async", "cargo" ];
8686

8787
protected static defaultServiceParams: APIRequestParams = {
8888
service_stack: AlLocation.InsightAPI, // May also be AlLocation.GlobalAPI, AlLocation.EndpointsAPI, or ALLocation.LegacyUI

src/common/navigation/al-location.dictionary.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,5 +588,30 @@ export const AlLocationDictionary: AlLocationDescriptor[] =
588588
uri: 'https://distributor.mdr.product.dev.alertlogic.com',
589589
environment: 'integration|development'
590590
},
591+
592+
/**
593+
* YARD locations
594+
*/
595+
{
596+
locTypeId: AlLocation.YARDAPI,
597+
insightLocationId: 'defender-us-denver',
598+
uri: 'https://yard.alertlogic.com',
599+
environment: 'production|production-staging',
600+
residency: "US"
601+
},
602+
{
603+
locTypeId: AlLocation.YARDAPI,
604+
insightLocationId: 'defender-us-ashburn',
605+
uri: 'https://yard.alertlogic.net',
606+
environment: 'production|production-staging',
607+
residency: "US"
608+
},
609+
{
610+
locTypeId: AlLocation.YARDAPI,
611+
insightLocationId: 'defender-uk-newport',
612+
uri: 'https://yard.alertlogic.co.uk',
613+
environment: 'production|production-staging',
614+
residency: "UK"
615+
},
591616
];
592617

src/common/navigation/al-locator.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class AlLocation
4949
public static ResponderWS = "responder:ws";
5050
public static DistributorAPI = "distributor:api";
5151
public static MDRAPI = "mdr:api";
52+
public static YARDAPI = "yard:api";
5253
/* Read above: no new locations for *.mdr.alertlogic.com targets. */
5354

5455
/**

0 commit comments

Comments
 (0)