@dynatrace-sdk/client-app-engine-registry
Advanced tools
Comparing version 1.5.4 to 1.6.0
@@ -5,2 +5,8 @@ # AppEngine - Registry | ||
## 1.6.0 | ||
### Minor Changes | ||
- Add include-all-app-versions query parameter when getting the list of apps | ||
## 1.5.4 | ||
@@ -7,0 +13,0 @@ |
@@ -774,3 +774,3 @@ /** | ||
function fromJson25($model) { | ||
const { code, message, details, help } = $model; | ||
const { code, message, details, help, retryAfterSeconds } = $model; | ||
return { | ||
@@ -780,7 +780,8 @@ code, | ||
details: details !== void 0 && details !== null ? fromJson24(details) : void 0, | ||
help | ||
help, | ||
retryAfterSeconds | ||
}; | ||
} | ||
function toJson25($model) { | ||
const { code, message, details, help } = $model; | ||
const { code, message, details, help, retryAfterSeconds } = $model; | ||
return { | ||
@@ -790,3 +791,4 @@ code, | ||
details: details !== void 0 && details !== null ? toJson24(details) : void 0, | ||
help | ||
help, | ||
retryAfterSeconds | ||
}; | ||
@@ -912,3 +914,4 @@ } | ||
"include-deactivated": config.includeDeactivated, | ||
"include-non-runnable": config.includeNonRunnable | ||
"include-non-runnable": config.includeNonRunnable, | ||
"include-all-app-versions": config.includeAllAppVersions | ||
}); | ||
@@ -915,0 +918,0 @@ try { |
@@ -35,3 +35,3 @@ --- | ||
<div class="col" style={{textAlign: 'right'}}> | ||
<a href="https://www.npmjs.com/package/@dynatrace-sdk/client-app-engine-registry/v/1.5.4">v1.5.4</a> | ||
<a href="https://www.npmjs.com/package/@dynatrace-sdk/client-app-engine-registry/v/1.6.0">v1.6.0</a> | ||
</div> | ||
@@ -61,2 +61,4 @@ </div> | ||
During an app update, when a current version and a new version exists, the current one is returned. | ||
</div> | ||
@@ -108,7 +110,8 @@ | ||
| Name | Type | Description | | ||
| ------------------------- | ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| config.addFields | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | <p>Comma-separated list of field names that are added to the default set of fields.</p> <p>You can include the following additional fields:</p> <ul> <li><code>resourceContext</code></li> <li><code>resourceStatus.subResourceStatuses</code></li> <li><code>manifest</code></li> <li><code>isBuiltin</code></li> <li><code>isolatedUri</code></li> </ul> | | ||
| config.includeDeactivated | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | If <code>true</code>, apps that are <code>DEACTIVATED</code> because of missing entitlements are included in the response. <i>default:</i> <code>false</code> | | ||
| config.includeNonRunnable | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | If <code>true</code>, apps that the user is not allowed to run because of missing permissions are included in the response. <i>default:</i> <code>false</code> | | ||
| Name | Type | Description | | ||
| ---------------------------- | ------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| config.addFields | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | <p>Comma-separated list of field names that are added to the default set of fields.</p> <p>You can include the following additional fields:</p> <ul> <li><code>resourceContext</code></li> <li><code>resourceStatus.subResourceStatuses</code></li> <li><code>manifest</code></li> <li><code>isBuiltin</code></li> <li><code>isolatedUri</code></li> </ul> | | ||
| config.includeAllAppVersions | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | <p>If <code>true</code>, all versions of every app are included in the response.</p> <p>If <code>false</code>, only the current version of every app is included.</p> <p>This is relevant while an app is being updated. During this time typically two versions of the same app exist, the current one and the new one.</p> <i>default:</i> <code>false</code> | | ||
| config.includeDeactivated | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | If <code>true</code>, apps that are <code>DEACTIVATED</code> because of missing entitlements are included in the response. <i>default:</i> <code>false</code> | | ||
| config.includeNonRunnable | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Boolean">boolean</a> | If <code>true</code>, apps that the user is not allowed to run because of missing permissions are included in the response. <i>default:</i> <code>false</code> | | ||
@@ -425,2 +428,3 @@ #### Returns | ||
| message<sup>\*required</sup> | <a href="https://developer.mozilla.org/en-US/docs/Glossary/String">string</a> | The error message | | ||
| retryAfterSeconds | <a href="https://developer.mozilla.org/en-US/docs/Glossary/Number">number</a> | Seconds to wait until the next retry | | ||
@@ -427,0 +431,0 @@ ### ErrorDetails |
{ | ||
"dynagen": { | ||
"version": "0.12.9", | ||
"version": "0.13.0", | ||
"generatedAt": "", | ||
@@ -12,5 +12,5 @@ "template": { | ||
"title": "AppEngine - Registry", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"baseUrl": "/platform/app-engine/registry/v1" | ||
} | ||
} |
@@ -717,3 +717,3 @@ /** | ||
function fromJson25($model) { | ||
const { code, message, details, help } = $model; | ||
const { code, message, details, help, retryAfterSeconds } = $model; | ||
return { | ||
@@ -723,7 +723,8 @@ code, | ||
details: details !== void 0 && details !== null ? fromJson24(details) : void 0, | ||
help | ||
help, | ||
retryAfterSeconds | ||
}; | ||
} | ||
function toJson25($model) { | ||
const { code, message, details, help } = $model; | ||
const { code, message, details, help, retryAfterSeconds } = $model; | ||
return { | ||
@@ -733,3 +734,4 @@ code, | ||
details: details !== void 0 && details !== null ? toJson24(details) : void 0, | ||
help | ||
help, | ||
retryAfterSeconds | ||
}; | ||
@@ -855,3 +857,4 @@ } | ||
"include-deactivated": config.includeDeactivated, | ||
"include-non-runnable": config.includeNonRunnable | ||
"include-non-runnable": config.includeNonRunnable, | ||
"include-all-app-versions": config.includeAllAppVersions | ||
}); | ||
@@ -858,0 +861,0 @@ try { |
{ | ||
"name": "@dynatrace-sdk/client-app-engine-registry", | ||
"version": "1.5.4", | ||
"version": "1.6.0", | ||
"description": "Manage Dynatrace AppEngine apps.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
# @dynatrace-sdk/client-app-engine-registry | ||
[![npm](https://img.shields.io/badge/npm-v1.5.4-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-app-engine-registry/v/1.5.4) | ||
[![npm](https://img.shields.io/badge/npm-v1.6.0-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-app-engine-registry/v/1.6.0) | ||
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
@@ -5,0 +5,0 @@ |
@@ -40,2 +40,11 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
/** If `true`, apps that the user is not allowed to run because of missing permissions are included in the response. */ includeNonRunnable?: boolean; | ||
/** | ||
* If `true`, all versions of every app are included in the response. | ||
* | ||
* If `false`, only the current version of every app is included. | ||
* | ||
* | ||
* This is relevant while an app is being updated. During this time typically | ||
* two versions of the same app exist, the current one and the new one. | ||
*/ includeAllAppVersions?: boolean; | ||
abortSignal?: AbortSignal; | ||
@@ -89,3 +98,3 @@ }): Promise<AppInfoList>; | ||
* | ||
* **Required scope:** app-engine:apps:run | ||
* **Required scope:** app-engine:apps:run<br/><br/>During an app update, when a current version and a new version exists, the current one is returned. | ||
* | ||
@@ -92,0 +101,0 @@ * @returns OK |
@@ -19,2 +19,6 @@ import { ErrorDetails } from './error-details'; | ||
help?: string; | ||
/** | ||
* Seconds to wait until the next retry | ||
*/ | ||
retryAfterSeconds?: number; | ||
} |
@@ -8,4 +8,5 @@ import { Error } from './error'; | ||
help?: string; | ||
retryAfterSeconds?: number; | ||
} | ||
export declare function fromJson($model: AsJson): Error; | ||
export declare function toJson($model: Error): AsJson; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205586
4252