Skip to content

feat: bump wsdl versions#4454

Merged
GordonSmith merged 1 commit into
hpcc-systems:candidate-3.x.xfrom
GordonSmith:BUMP_WSDL_II
Oct 8, 2025
Merged

feat: bump wsdl versions#4454
GordonSmith merged 1 commit into
hpcc-systems:candidate-3.x.xfrom
GordonSmith:BUMP_WSDL_II

Conversation

@GordonSmith
Copy link
Copy Markdown
Member

@GordonSmith GordonSmith commented Sep 26, 2025

Checklist:

  • The commit message is properly formatted and free of typos.
    • The commit message title makes sense in a changelog, by itself.
    • The commit message includes a "fixes" reference if appropriate.
    • The commit is signed.
  • The change has been fully tested:
    • I have viewed all related gallery items
    • I have viewed all related dermatology items
  • There are no similar instances of the same problem that should be addressed
    • I have addressed them here
    • I have raised new issues to address them separately

Testing:

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request updates WSDL versions across multiple services to align with newer API versions. It consolidates the interface definitions to use generated WSDL files and modernizes the service implementations by replacing direct interface definitions with imports from versioned WSDL namespaces.

  • Upgrades several WSDL service versions (wsstore v1.02, ws_machine v1.18, WsPackageProcess v1.07, etc.)
  • Refactors service implementations to extend from generated base classes instead of direct Service inheritance
  • Standardizes method signatures to use Partial<T> request types and proper response type mapping

Reviewed Changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/comms/src/services/wsdl/wsstore/v1.02/wsstore.ts Updates wsstore interface with simplified nested structures and modern method signatures
packages/comms/src/services/wsdl/ws_machine/v1.18/ws_machine.ts Complete new WSDL file for machine service v1.18 with comprehensive interface definitions
packages/comms/src/services/wsdl/ws_elk/v1/ws_elk.ts Minor updates to method signatures and additional spacing
packages/comms/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts Restructured codesign service with enum updates and interface consolidation
packages/comms/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts Adds new KeyCompression fields and updates Format field type
packages/comms/src/services/wsdl/WsTopology/v1.32/WsTopology.ts Adds TpMachineType enum and simplifies nested interface structures
packages/comms/src/services/wsdl/WsSMC/v1.27/WsSMC.ts Consolidates nested interface structures and updates method signatures
packages/comms/src/services/wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts Complete new WSDL file for package process service v1.07
packages/comms/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts Updates interface structure and method signatures
packages/comms/src/services/wsdl/WsDfu/v1.66/WsDfu.ts Complete new WSDL file for DFU service v1.66 with extensive interface definitions
packages/comms/src/services/wsdl/WsDali/v1.07/WsDali.ts Updates interface definitions and adds new field types
packages/comms/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts Complete new WSDL file for DFUX reference service v1.04
packages/comms/src/services/wsdl/FileSpray/v1.27/FileSpray.ts Complete new WSDL file for file spray service v1.27
packages/comms/src/services/wsWorkunits.ts Removes commented code and unused imports
packages/comms/src/services/wsStore.ts Refactors to extend from generated base class with simplified implementation
packages/comms/src/services/wsPackageProcess.ts Updates import path to use v1.07
packages/comms/src/services/wsMachine.ts Updates import path to use v1.18
packages/comms/src/services/wsDFUXRef.ts Refactors to extend from generated base class
packages/comms/src/services/wsDFU.ts Updates import path to use v1.66
packages/comms/src/services/wsCodesign.ts Refactors to extend from generated base class with enum usage
packages/comms/src/services/fileSpray.ts Updates import path to use v1.27
packages/comms/src/ecl/store.ts Removes UserSpecific parameter from CreateStore call

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

CustomColumns: CustomColumns;
ComponentsFilter: ComponentsFilter;
Format: LogAccessLogFormat;
Format: string;
Copy link

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Format field type has been changed from 'LogAccessLogFormat' enum to 'string', which loosens type safety. This could lead to runtime errors if invalid format values are passed.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it might not be right either, but it does reflect what the WSDL shows. In v2.01 this type was LogAccessLogFormat.

Copy link
Copy Markdown
Contributor

@jeclrsg jeclrsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The WsDali being off makes me a little nervous about all of them. But looking at random spots in some of the longer files, I didn't ever spot anything that was wrong; just seems weird it'd only be Dali.

export interface AddRequest {
Path?: string;
Value?: string;
dstname?: string;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't right. And I think the change to the DeleteRequest props isn't either

CustomColumns: CustomColumns;
ComponentsFilter: ComponentsFilter;
Format: LogAccessLogFormat;
Format: string;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it might not be right either, but it does reflect what the WSDL shows. In v2.01 this type was LogAccessLogFormat.

export type long = number;
export type unsignedInt = number;

export enum ThresholdType {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were these two enums (ThresholdType and TpMachineType) added manually? Neither of them exist in the WSDL.

I guess I've never noticed that a WSDL can refer to a type that isn't defined in it? ie, the ws_machine WSDL has several properties that have a type="xsd:ThresholdType" even though no such type is defined in it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were manually added

@jeclrsg
Copy link
Copy Markdown
Contributor

jeclrsg commented Sep 26, 2025

Also made me think I might start looking at using copilot to frame out some tests for any of these we don't already have

@GordonSmith GordonSmith force-pushed the BUMP_WSDL_II branch 2 times, most recently from d3f58ae to 6d13340 Compare October 7, 2025 15:25
@GordonSmith GordonSmith requested a review from jeclrsg October 7, 2025 15:28
@GordonSmith
Copy link
Copy Markdown
Member Author

@jeclrsg I bumped the generation again so it includes the compression type (which is new from gavan).

@GordonSmith
Copy link
Copy Markdown
Member Author

Fixed minor lint issue

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
@GordonSmith GordonSmith merged commit fc16ba7 into hpcc-systems:candidate-3.x.x Oct 8, 2025
1 check passed
@GordonSmith GordonSmith deleted the BUMP_WSDL_II branch October 8, 2025 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants