@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/avp/pipeline-query/index.js~
packages/ari/avp/pipeline-query/index.jsModified+6−2
Index: package/packages/ari/avp/pipeline-query/index.js
===================================================================
--- package/packages/ari/avp/pipeline-query/index.js
+++ package/packages/ari/avp/pipeline-query/index.js
@@ -284,23 +284,27 @@
var avpPipelineQueryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
- resourceOwner: "avp",
+ // eslint-disable-line no-useless-escape
+ resourceOwner: AvpPipelineQueryAriResourceOwner,
resourceType: AvpPipelineQueryAriResourceType,
resourceIdSlug: "activation/{activationId}/pipeline/{pipelineId}/{pipelineQueryId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
pipelineId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,
+ // eslint-disable-line no-useless-escape
pipelineQueryId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
+ // eslint-disable-line no-useless-escape
}
};
// src/avp/pipeline-query/index.ts
var AvpPipelineQueryAri = class _AvpPipelineQueryAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._pipelineId = opts.resourceIdSegmentValues.pipelineId, this._pipelineQueryId = opts.resourceIdSegmentValues.pipelineQueryId;
+ super(opts);
+ this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._pipelineId = opts.resourceIdSegmentValues.pipelineId, this._pipelineQueryId = opts.resourceIdSegmentValues.pipelineQueryId;
}
get siteId() {
return this._siteId;
}