Skip to content

[FEATURE] Add public java.util.List<Message> getErrors() and getWarnings to the ProvisioningResult #23

Open

Description

@rob-buskens-sp

In JDBC Provisioning Rules, it is common to add errors / warnings to the provisioning result.

result.setStatus(ProvisioningResult.STATUS_FAILED);
result.addError("Enable not implemented");

Then in the test case it would be ideal to check for the added message.

The RDK doesn't have any way on the ProvisioningResult to get errors or warnings.

I would like to be able to get errors and warnings, then look through the list of Messages for the one added.

assertNotNull(result);
assertEquals("failed", result.getStatus());
assertEquals("Enable not implemented", result.getErrors()[0].getMessage()); // <- guessing, and a bit ugly

I compared what the IIQ Java Doc has and came up with the methods in the title. I understand ISC may be different.

Activity

  1. github-actions commented on Jan 15, 2026

    @github-actions

    🎉 Thanks for opening your first issue here! Welcome to the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions