@alfresco/adf-core 8.4.0-18127637576 → 8.4.0-18161598994

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"
@@ -433,6 +433,7 @@ var AppConfigValues;
433
433
  AppConfigValues["OAUTHCONFIG"] = "oauth2";
434
434
  AppConfigValues["ECMHOST"] = "ecmHost";
435
435
  AppConfigValues["BASESHAREURL"] = "baseShareUrl";
436
+ AppConfigValues["OOI_CONNECTOR_URL"] = "ooiServiceUrl";
436
437
  AppConfigValues["BPMHOST"] = "bpmHost";
437
438
  AppConfigValues["IDENTITY_HOST"] = "identityHost";
438
439
  AppConfigValues["AUTHTYPE"] = "authType";
@@ -8451,6 +8452,7 @@ class BasicAlfrescoAuthService extends BaseAuthenticationService {
8451
8452
  let ticket = null;
8452
8453
  const bpmRoot = `/${this.appConfig.get(AppConfigValues.CONTEXTROOTBPM) || 'activiti-app'}/`;
8453
8454
  const ecmRoot = `/${this.appConfig.get(AppConfigValues.CONTEXTROOTECM) || 'alfresco'}/`;
8455
+ const ooiServiceRootUrl = `/${this.appConfig.get(AppConfigValues.OOI_CONNECTOR_URL) || 'ooi-service'}/`;
8454
8456
  if (requestUrl?.includes(ecmRoot) && !requestUrl.includes(bpmRoot)) {
8455
8457
  ticket = this.getContentServicesTicket();
8456
8458
  }
@@ -8460,6 +8462,9 @@ class BasicAlfrescoAuthService extends BaseAuthenticationService {
8460
8462
  else if (requestUrl?.includes(ecmRoot) && requestUrl.includes(bpmRoot)) {
8461
8463
  ticket = requestUrl.indexOf(ecmRoot) < requestUrl.indexOf(bpmRoot) ? this.getContentServicesTicket() : this.getProcessServicesTicket();
8462
8464
  }
8465
+ else if (requestUrl.includes(ooiServiceRootUrl)) {
8466
+ ticket = this.getContentServicesTicket();
8467
+ }
8463
8468
  return ticket;
8464
8469
  }
8465
8470
  getProcessServicesTicket() {