@nsshunt/stsuxvue 1.0.82 → 1.0.84

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.
package/dist/stsuxvue.cjs CHANGED
@@ -12939,11 +12939,11 @@ class RESTClientSubscriber {
12939
12939
  async Subscribe(subscriptions) {
12940
12940
  subscriptions.map(async (subId) => {
12941
12941
  this.#RemoveKeepAlive(subId);
12942
- this.#LogDebugMessage(chalk.yellow(`ObservabilityRESTAPISubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));
12942
+ this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:Subscribe(): Sending subscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));
12943
12943
  try {
12944
12944
  this.#AddKeepAlive(subId);
12945
12945
  } catch (error) {
12946
- this.#LogErrorMessage(chalk.red(`ObservabilityRESTAPISubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));
12946
+ this.#LogErrorMessage(chalk.red(`RESTClientSubscriber:Subscribe(): Error: response: [${JSON.stringify(error)}]`));
12947
12947
  this.#RemoveKeepAlive(subId);
12948
12948
  }
12949
12949
  });
@@ -12951,10 +12951,11 @@ class RESTClientSubscriber {
12951
12951
  UnSubscribe(subscriptions) {
12952
12952
  subscriptions.map(async (subId) => {
12953
12953
  this.#RemoveKeepAlive(subId);
12954
- this.#LogDebugMessage(chalk.yellow(`ObservabilityRESTAPISubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));
12954
+ this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): Sending unsubscribe: subscriptionKey: [${subId.subscriptionKey.id}]`));
12955
12955
  });
12956
12956
  }
12957
12957
  UpdateModelCursor = (subscriptions) => {
12958
+ this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber:UnSubscribe(): UpdateModelCursor()`));
12958
12959
  this.UnSubscribe(this.#currentSubscriptions);
12959
12960
  this.#currentSubscriptions = subscriptions;
12960
12961
  this.Subscribe(this.#currentSubscriptions);
@@ -13065,7 +13066,7 @@ class RESTClientSubscriber {
13065
13066
  subscription.cb(payload);
13066
13067
  }
13067
13068
  } catch (error) {
13068
- this.#LogErrorMessage(chalk.red(`ObservabilityRESTAPISubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));
13069
+ this.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));
13069
13070
  this.#RemoveKeepAlive(subscription);
13070
13071
  }
13071
13072
  };
@@ -13083,10 +13084,10 @@ class RESTClientSubscriber {
13083
13084
  }
13084
13085
  socketSubscribeKeepAlive.timeout = this.#SetupTimeout(socketSubscribeKeepAlive, subscription, timeoutDuration);
13085
13086
  } else {
13086
- this.#LogDebugMessage(chalk.yellow(`Subscription removed: [${socketSubscribeKeepAlive.id}]. Processing terminate.`));
13087
+ this.#LogDebugMessage(chalk.yellow(`RESTClientSubscriber: Subscription removed: [${socketSubscribeKeepAlive.id}]. Processing terminate.`));
13087
13088
  }
13088
13089
  } catch (error) {
13089
- this.#LogErrorMessage(chalk.red(`ObservabilityRESTAPISubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));
13090
+ this.#LogErrorMessage(chalk.red(`RESTClientSubscriber:#AddKeepAlive(): Error response: [${JSON.stringify(error)}]`));
13090
13091
  this.#RemoveKeepAlive(subscription);
13091
13092
  }
13092
13093
  }, timeout);
@@ -13102,7 +13103,7 @@ class RESTClientSubscriber {
13102
13103
  }
13103
13104
  #RemoveKeepAlive(subscription) {
13104
13105
  if (this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id]) {
13105
- this.#LogDebugMessage(chalk.gray(`ObservabilityRESTAPISubscriber:#RemoveKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));
13106
+ this.#LogDebugMessage(chalk.gray(`RESTClientSubscriber:#RemoveKeepAlive(): subscriptionKey: [${subscription.subscriptionKey.id}]`));
13106
13107
  clearTimeout(this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout);
13107
13108
  delete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id].timeout;
13108
13109
  delete this.#socketSubscribeKeepAlive[subscription.subscriptionKey.id];
@@ -13324,7 +13325,9 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
13324
13325
  LogDebug(`Start()`);
13325
13326
  store.UpdateSate(props.modelId, _estate.STARTING);
13326
13327
  subscriptionOptions = options;
13328
+ LogDebug(`Start(): Options: [${JSON.stringify(subscriptionOptions)}]`);
13327
13329
  if (options.consumeInstrumentationMode === "PROXY") {
13330
+ LogDebug(`Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`);
13328
13331
  metricsSubscriber = new SocketClientSubscriber({
13329
13332
  instrumentManagerEndpoint: options.instrumentManagerEndpoint,
13330
13333
  instrumentManagerPort: options.instrumentManagerPort,
@@ -13333,6 +13336,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
13333
13336
  modelId: options.modelId
13334
13337
  });
13335
13338
  } else {
13339
+ LogDebug(`Start(): consumeInstrumentationMode: [${options.consumeInstrumentationMode}]`);
13336
13340
  metricsSubscriber = new RESTClientSubscriber({
13337
13341
  urlBase: `${options.instrumentManagerEndpoint}:${options.instrumentManagerPort}${options.instrumentManagerAPIRoot}`,
13338
13342
  logger: stsutils.defaultLogger,