Skip to content

Commit

Permalink
build(deps): update @open-amt-cloud-toolkit to v2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdmike committed Mar 18, 2022
1 parent 939950a commit e99d113
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 9 deletions.
62 changes: 60 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
<a name="unreleased"></a>
## [Unreleased]
<a name="2.2.0"></a>
## [2.2.0] - 2022-03-18
### Build
- **deps:** Bump cypress from 9.2.1 to 9.3.1 (#1d47511)
- **deps:** Bump xterm from 4.17.0 to 4.18.0 (#e3ebcba)
- **deps:** Bump zone.js from 0.11.4 to 0.11.5 (#a46241a)
- **deps:** Bump xterm from 4.14.1 to 4.15.0 (#74716ad)
- **deps:** Bump cypress from 8.7.0 to 9.0.0 (#9dfb79d)
- **deps:** Bump cypress from 9.0.0 to 9.1.0 (#93a82ea)
- **deps:** Bump cypress from 9.1.0 to 9.1.1 (#8c156ee)
- **deps:** Bump xterm from 4.16.0 to 4.17.0 (#b636db7)
- **deps:** Bump cypress from 9.3.1 to 9.4.1 (#850dfc2)
- **deps:** Bump xterm from 4.15.0 to 4.16.0 (#549da3f)
- **deps:** Bump cypress from 9.1.1 to 9.2.0 (#36f0a31)
- **deps:** update [@open](https://github.com/open)-amt-cloud-toolkit to v2.0.3 (#2270170)
- **deps:** Bump cypress from 9.2.0 to 9.2.1 (#f2a98c2)
- **deps-dev:** Bump karma from 6.3.9 to 6.3.10 (#2b48789)
- **deps-dev:** Bump [@types](https://github.com/types)/jasmine from 3.10.2 to 3.10.3 (#7e451dd)
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.5.1 to 37.6.1 (#ae4310a)
- **deps-dev:** Bump jasmine-core from 3.10.1 to 4.0.0 (#8566fcb)
- **deps-dev:** Bump karma from 6.3.10 to 6.3.12 (#e071d24)
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.4.0 to 37.5.1 (#72a8c0e)
- **deps-dev:** Bump karma from 6.3.12 to 6.3.13 (#684c645)
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.6.1 to 37.7.0 (#ac42233)
- **deps-dev:** Bump eslint-plugin-import from 2.25.3 to 2.25.4 (#ad2f579)
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.2.0 to 37.4.0 (#491e445)
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.0.3 to 37.2.0 (#1a9d0fd)
- **deps-dev:** Bump eslint-plugin-promise from 5.1.1 to 5.2.0 (#dac5c14)
- **deps-dev:** Bump karma from 6.3.13 to 6.3.16 (#c54feeb)
- **deps-dev:** Bump karma-coverage from 2.0.3 to 2.1.0 (#6c7c9b9)
- **deps-dev:** Bump eslint-plugin-import from 2.25.2 to 2.25.3 (#2683030)
- **deps-dev:** Bump ts-node from 10.4.0 to 10.5.0 (#2e9eee2)
- **deps-dev:** Bump karma from 6.3.8 to 6.3.9 (#02a9e65)
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.7.0 to 37.7.1 (#9c416af)
- **deps-dev:** Bump karma-coverage from 2.1.0 to 2.2.0 (#4a5f640)
- **deps-dev:** Bump karma from 6.3.7 to 6.3.8 (#6e95f65)
- **node:** bump from 14.x to 16.x (#5855943)

### Ci
- Scan only main (#54083d8)
- **cypress:** set to run 16 only (#939950a)
- **cypress:** add linting to test files (#b3b55bc)
- **jenkinsfile:** removes protex scan (#cda4fb1)
- **workflow:** optimize node CI (#61a32cf)

### Refactor
- **add-dialog:** uses rpc-go syntax (#c729709)
- **cypress:** consolidate http codes (#0ebdb3f)

### Test
- **auth:** increased code coverage for auth.service.ts ([#482](https://github.com/open-amt-cloud-toolkit/rps/issues/482)) (#0e60552)
- **devices:** increased code coverage for devices (#ea10e60)
- **domains:** increased code coverage for domains (#20ef45f)
- **e2e:** break out tls tests (#b4f6172)
- **e2e:** adds rpc activation tests to cypress (#4082417)
- **e2e:** fix tls profile creation (#9d1c957)
- **profile:** increased code coverage for profiles (#08e9e07)
- **toolbar:** increase coverage for toolbar (#77e5425)
- **wireless:** increased code coverage for wireless ([#489](https://github.com/open-amt-cloud-toolkit/rps/issues/489)) (#59df479)



<a name="2.1.0"></a>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"ngx-mqtt": "^9.0.5",
"rxjs": "~6.6.7",
"tslib": "^2.3.1",
"@open-amt-cloud-toolkit/ui-toolkit-angular": "^2.0.2",
"@open-amt-cloud-toolkit/ui-toolkit-angular": "2.0.2",
"xterm": "^4.18.0",
"zone.js": "~0.11.5"
},
Expand Down
6 changes: 4 additions & 2 deletions src/app/devices/kvm/kvm.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,10 @@ export class KvmComponent implements OnInit, OnDestroy {
afterUserContentDialogClosed (data: userConsentData): void {
const response: userConsentResponse = data?.results
// On success to send or cancel to previous requested user consent code
if (response?.Header?.Method === 'CancelOptIn') {
const method = response.Header.Action.substring(response.Header.Action.lastIndexOf('/') + 1, response.Header.Action.length)
if (method === 'CancelOptInResponse') {
this.cancelOptInCodeResponse(response)
} else if (response?.Header?.Method === 'SendOptInCode') {
} else if (method === 'SendOptInCodeResponse') {
this.SendOptInCodeResponse(response)
}
}
Expand All @@ -189,6 +190,7 @@ export class KvmComponent implements OnInit, OnDestroy {
SendOptInCodeResponse (result: userConsentResponse): void {
if (result.Body?.ReturnValue === 0) {
this.readyToLoadKvm = true
this.getAMTFeatures()
} else if (result.Body?.ReturnValue === 2066) {
// On receiving an invalid consent code. Sending multiple invalid consent codes will cause the OptInState to return to NOT STARTED
this.snackBar.open($localize`KVM cannot be accessed - unsupported user consent code`, undefined, SnackbarDefaults.defaultError)
Expand Down
5 changes: 3 additions & 2 deletions src/app/devices/sol/sol.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,10 @@ export class SolComponent implements OnInit {
afterUserContentDialogClosed (data: userConsentData): void {
const response: userConsentResponse = data?.results
// On success to send or cancel to previous requested user consent code
if (response.Header?.Method === 'CancelOptIn') {
const method = response.Header.Action.substring(response.Header.Action.lastIndexOf('/') + 1, response.Header.Action.length)
if (method === 'CancelOptInResponse') {
this.cancelOptInCodeResponse(response)
} else if (response.Header?.Method === 'SendOptInCode') {
} else if (method === 'SendOptInCodeResponse') {
this.SendOptInCodeResponse(response)
}
}
Expand Down
1 change: 0 additions & 1 deletion src/models/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ export interface Header {
Action: string
MessageID: string
ResourceURI: string
Method: string
}
export interface Body {
ReturnValue: number
Expand Down

0 comments on commit e99d113

Please sign in to comment.