Skip to content

Commit e99d113

Browse files
committed
build(deps): update @open-amt-cloud-toolkit to v2.0.5
1 parent 939950a commit e99d113

File tree

6 files changed

+69
-9
lines changed

6 files changed

+69
-9
lines changed

CHANGELOG.md

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
1-
<a name="unreleased"></a>
2-
## [Unreleased]
1+
<a name="2.2.0"></a>
2+
## [2.2.0] - 2022-03-18
3+
### Build
4+
- **deps:** Bump cypress from 9.2.1 to 9.3.1 (#1d47511)
5+
- **deps:** Bump xterm from 4.17.0 to 4.18.0 (#e3ebcba)
6+
- **deps:** Bump zone.js from 0.11.4 to 0.11.5 (#a46241a)
7+
- **deps:** Bump xterm from 4.14.1 to 4.15.0 (#74716ad)
8+
- **deps:** Bump cypress from 8.7.0 to 9.0.0 (#9dfb79d)
9+
- **deps:** Bump cypress from 9.0.0 to 9.1.0 (#93a82ea)
10+
- **deps:** Bump cypress from 9.1.0 to 9.1.1 (#8c156ee)
11+
- **deps:** Bump xterm from 4.16.0 to 4.17.0 (#b636db7)
12+
- **deps:** Bump cypress from 9.3.1 to 9.4.1 (#850dfc2)
13+
- **deps:** Bump xterm from 4.15.0 to 4.16.0 (#549da3f)
14+
- **deps:** Bump cypress from 9.1.1 to 9.2.0 (#36f0a31)
15+
- **deps:** update [@open](https://github.com/open)-amt-cloud-toolkit to v2.0.3 (#2270170)
16+
- **deps:** Bump cypress from 9.2.0 to 9.2.1 (#f2a98c2)
17+
- **deps-dev:** Bump karma from 6.3.9 to 6.3.10 (#2b48789)
18+
- **deps-dev:** Bump [@types](https://github.com/types)/jasmine from 3.10.2 to 3.10.3 (#7e451dd)
19+
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.5.1 to 37.6.1 (#ae4310a)
20+
- **deps-dev:** Bump jasmine-core from 3.10.1 to 4.0.0 (#8566fcb)
21+
- **deps-dev:** Bump karma from 6.3.10 to 6.3.12 (#e071d24)
22+
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.4.0 to 37.5.1 (#72a8c0e)
23+
- **deps-dev:** Bump karma from 6.3.12 to 6.3.13 (#684c645)
24+
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.6.1 to 37.7.0 (#ac42233)
25+
- **deps-dev:** Bump eslint-plugin-import from 2.25.3 to 2.25.4 (#ad2f579)
26+
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.2.0 to 37.4.0 (#491e445)
27+
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.0.3 to 37.2.0 (#1a9d0fd)
28+
- **deps-dev:** Bump eslint-plugin-promise from 5.1.1 to 5.2.0 (#dac5c14)
29+
- **deps-dev:** Bump karma from 6.3.13 to 6.3.16 (#c54feeb)
30+
- **deps-dev:** Bump karma-coverage from 2.0.3 to 2.1.0 (#6c7c9b9)
31+
- **deps-dev:** Bump eslint-plugin-import from 2.25.2 to 2.25.3 (#2683030)
32+
- **deps-dev:** Bump ts-node from 10.4.0 to 10.5.0 (#2e9eee2)
33+
- **deps-dev:** Bump karma from 6.3.8 to 6.3.9 (#02a9e65)
34+
- **deps-dev:** Bump eslint-plugin-jsdoc from 37.7.0 to 37.7.1 (#9c416af)
35+
- **deps-dev:** Bump karma-coverage from 2.1.0 to 2.2.0 (#4a5f640)
36+
- **deps-dev:** Bump karma from 6.3.7 to 6.3.8 (#6e95f65)
37+
- **node:** bump from 14.x to 16.x (#5855943)
38+
39+
### Ci
40+
- Scan only main (#54083d8)
41+
- **cypress:** set to run 16 only (#939950a)
42+
- **cypress:** add linting to test files (#b3b55bc)
43+
- **jenkinsfile:** removes protex scan (#cda4fb1)
44+
- **workflow:** optimize node CI (#61a32cf)
45+
46+
### Refactor
47+
- **add-dialog:** uses rpc-go syntax (#c729709)
48+
- **cypress:** consolidate http codes (#0ebdb3f)
49+
50+
### Test
51+
- **auth:** increased code coverage for auth.service.ts ([#482](https://github.com/open-amt-cloud-toolkit/rps/issues/482)) (#0e60552)
52+
- **devices:** increased code coverage for devices (#ea10e60)
53+
- **domains:** increased code coverage for domains (#20ef45f)
54+
- **e2e:** break out tls tests (#b4f6172)
55+
- **e2e:** adds rpc activation tests to cypress (#4082417)
56+
- **e2e:** fix tls profile creation (#9d1c957)
57+
- **profile:** increased code coverage for profiles (#08e9e07)
58+
- **toolbar:** increase coverage for toolbar (#77e5425)
59+
- **wireless:** increased code coverage for wireless ([#489](https://github.com/open-amt-cloud-toolkit/rps/issues/489)) (#59df479)
60+
361

462

563
<a name="2.1.0"></a>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"ngx-mqtt": "^9.0.5",
3232
"rxjs": "~6.6.7",
3333
"tslib": "^2.3.1",
34-
"@open-amt-cloud-toolkit/ui-toolkit-angular": "^2.0.2",
34+
"@open-amt-cloud-toolkit/ui-toolkit-angular": "2.0.2",
3535
"xterm": "^4.18.0",
3636
"zone.js": "~0.11.5"
3737
},

src/app/devices/kvm/kvm.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,10 @@ export class KvmComponent implements OnInit, OnDestroy {
170170
afterUserContentDialogClosed (data: userConsentData): void {
171171
const response: userConsentResponse = data?.results
172172
// On success to send or cancel to previous requested user consent code
173-
if (response?.Header?.Method === 'CancelOptIn') {
173+
const method = response.Header.Action.substring(response.Header.Action.lastIndexOf('/') + 1, response.Header.Action.length)
174+
if (method === 'CancelOptInResponse') {
174175
this.cancelOptInCodeResponse(response)
175-
} else if (response?.Header?.Method === 'SendOptInCode') {
176+
} else if (method === 'SendOptInCodeResponse') {
176177
this.SendOptInCodeResponse(response)
177178
}
178179
}
@@ -189,6 +190,7 @@ export class KvmComponent implements OnInit, OnDestroy {
189190
SendOptInCodeResponse (result: userConsentResponse): void {
190191
if (result.Body?.ReturnValue === 0) {
191192
this.readyToLoadKvm = true
193+
this.getAMTFeatures()
192194
} else if (result.Body?.ReturnValue === 2066) {
193195
// On receiving an invalid consent code. Sending multiple invalid consent codes will cause the OptInState to return to NOT STARTED
194196
this.snackBar.open($localize`KVM cannot be accessed - unsupported user consent code`, undefined, SnackbarDefaults.defaultError)

src/app/devices/sol/sol.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ export class SolComponent implements OnInit {
150150
afterUserContentDialogClosed (data: userConsentData): void {
151151
const response: userConsentResponse = data?.results
152152
// On success to send or cancel to previous requested user consent code
153-
if (response.Header?.Method === 'CancelOptIn') {
153+
const method = response.Header.Action.substring(response.Header.Action.lastIndexOf('/') + 1, response.Header.Action.length)
154+
if (method === 'CancelOptInResponse') {
154155
this.cancelOptInCodeResponse(response)
155-
} else if (response.Header?.Method === 'SendOptInCode') {
156+
} else if (method === 'SendOptInCodeResponse') {
156157
this.SendOptInCodeResponse(response)
157158
}
158159
}

src/models/models.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ export interface Header {
323323
Action: string
324324
MessageID: string
325325
ResourceURI: string
326-
Method: string
327326
}
328327
export interface Body {
329328
ReturnValue: number

0 commit comments

Comments
 (0)