@alfresco/adf-core 8.2.0-17234132289 → 8.2.0-18186380146

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.
@@ -1489,6 +1489,10 @@
1489
1489
  "description": "Custom url for shared links",
1490
1490
  "type": "string"
1491
1491
  },
1492
+ "ooiServiceUrl": {
1493
+ "description": "Custom url for ooi-service links",
1494
+ "type": "string"
1495
+ },
1492
1496
  "locale": {
1493
1497
  "description": "Default application locale",
1494
1498
  "type": "string"
@@ -435,6 +435,7 @@ var AppConfigValues;
435
435
  AppConfigValues["OAUTHCONFIG"] = "oauth2";
436
436
  AppConfigValues["ECMHOST"] = "ecmHost";
437
437
  AppConfigValues["BASESHAREURL"] = "baseShareUrl";
438
+ AppConfigValues["OOI_CONNECTOR_URL"] = "ooiServiceUrl";
438
439
  AppConfigValues["BPMHOST"] = "bpmHost";
439
440
  AppConfigValues["IDENTITY_HOST"] = "identityHost";
440
441
  AppConfigValues["AUTHTYPE"] = "authType";
@@ -8522,6 +8523,7 @@ class BasicAlfrescoAuthService extends BaseAuthenticationService {
8522
8523
  let ticket = null;
8523
8524
  const bpmRoot = `/${this.appConfig.get(AppConfigValues.CONTEXTROOTBPM) || 'activiti-app'}/`;
8524
8525
  const ecmRoot = `/${this.appConfig.get(AppConfigValues.CONTEXTROOTECM) || 'alfresco'}/`;
8526
+ const ooiServiceRootUrl = `/${this.appConfig.get(AppConfigValues.OOI_CONNECTOR_URL) || 'ooi-service'}/`;
8525
8527
  if (requestUrl?.includes(ecmRoot) && !requestUrl.includes(bpmRoot)) {
8526
8528
  ticket = this.getContentServicesTicket();
8527
8529
  }
@@ -8531,6 +8533,9 @@ class BasicAlfrescoAuthService extends BaseAuthenticationService {
8531
8533
  else if (requestUrl?.includes(ecmRoot) && requestUrl.includes(bpmRoot)) {
8532
8534
  ticket = requestUrl.indexOf(ecmRoot) < requestUrl.indexOf(bpmRoot) ? this.getContentServicesTicket() : this.getProcessServicesTicket();
8533
8535
  }
8536
+ else if (requestUrl.includes(ooiServiceRootUrl)) {
8537
+ ticket = this.getContentServicesTicket();
8538
+ }
8534
8539
  return ticket;
8535
8540
  }
8536
8541
  getProcessServicesTicket() {