Version 0.9.7 of the tool is available on the Fling site vSphere HTML5 Web Client: download the file plugin-seed-0.9.7.zip. See the attached change-log PDF for the list of changes! If you have general questions or requests feel free to reply to this thread, but if you need help on a specific area or error please start a new thread with all necessary details. Thanks.
FYI, the following two problems were found after version 0.9.7 was published and are easy to fix:
1) Clarity Wizard problems in Clarity 0.9.3, fixed in 0.9.4:
=> In seed-ui/package.json change the version of "clarity-angular", "clarity-icons" and "clarity-ui", to 0.9.4, and change the version of "@webcomponents/custom-elements" to 1.0.0-rc.3.
2) Global refresh handler not working with Flex Client:
=> in seed-ui/src/app/shared/globals.service.ts, line 33 replace:
window.parent["WEB_PLATFORM.refresh" + window.name] = handler;
with
window.parent["WEB_PLATFORM"]["refresh" + window.name] = handler;
We have prepared a 3 mns survey to get your feedback on plugin-seed:
https://www.surveymonkey.com/r/Q3XQQ2J
Thanks for your input!
I had done the suggested changes. Even though I'm getting compilation errors as below:
** NG Live Development Server is listening on localhost:4201, open your browser on http://localhost:4201 **
Hash: 9b1e038464857a09b7df
Time: 21763ms
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 266 kB {5} [initial] [rendered]
chunk {1} main.bundle.js, main.bundle.js.map (main) 201 kB {4} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 412 kB {5} [initial] [rendered]
chunk {3} scripts.bundle.js, scripts.bundle.js.map (scripts) 497 kB {5} [initial] [rendered]
chunk {4} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.03 MB [initial] [rendered]
chunk {5} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/shared/dev/app-header.component.ts (99,38): Type 'Headers' has no properties in common with type 'RequestOptionsArgs'.
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/services/chassis/chassis.service.ts (163,7): Type 'Promise<void | Response>' is not assignable to type 'Promise<Response>'.
Type 'void | Response' is not assignable to type 'Response'.
Type 'void' is not assignable to type 'Response'.
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/services/chassis/chassis.service.ts (187,7): Type 'Promise<void | Response>' is not assignable to type 'Promise<Response>'.
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/testing/service-stubs.ts (34,7): Type 'Promise<{ id: string; name: string; dimensions: string; serverType: string; }[]>' is not assignable to type 'Promise<Chassis[]>'.
Type '{ id: string; name: string; dimensions: string; serverType: string; }[]' is not assignable to type 'Chassis[]'.
Type '{ id: string; name: string; dimensions: string; serverType: string; }' is not assignable to type 'Chassis'.
Property 'clone' is missing in type '{ id: string; name: string; dimensions: string; serverType: string; }'.
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/testing/service-stubs.ts (42,7): Type 'Observable<{}>' is not assignable to type 'Observable<string>'.
Type '{}' is not assignable to type 'string'.
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/services/chassis/chassis.service.ts (163,7): Type 'Promise<void | Response>' is not assignable to type 'Promise<Response>'.
Type 'void | Response' is not assignable to type 'Response'.
Type 'void' is not assignable to type 'Response'.
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/services/chassis/chassis.service.ts (187,7): Type 'Promise<void | Response>' is not assignable to type 'Promise<Response>'.
ERROR in C:/Users/kumart/Downloads/vSphere_HTML5_SDK_06July17/plugin-seed-0.9.7/seed-ui/src/app/shared/dev/app-header.component.ts (99,38): Type 'Headers' has no properties in common with type 'RequestOptionsArgs'.
webpack: Failed to compile.
Attached npm_list and package.json files for reference. I'm using windows 10 with node v6.9.5 and npm v3.10.10
Please let me know how to fix these issues.
Thanks,
Sravan
Compilation errors are due to recent versions of typescript which impose stricter rules.
Note that in package.json "typescript": "^2.2.2" means that future minor releases will be used automatically. You can remove ^ to hard-code specific versions.
Please find enclosed a patch version 0.9.7.1 of the seed-ui project where the following files have been updated to solve those compilation issues:
- app-header.component.ts
- chassis.service.ts
- chassis.service.spec.ts
- chassis-summary.component.spec.ts
- service.stubs.ts