Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in HP Store Once Template #73

Open
Raphyyyy opened this issue Jan 10, 2022 · 0 comments
Open

Issue in HP Store Once Template #73

Raphyyyy opened this issue Jan 10, 2022 · 0 comments
Assignees

Comments

@Raphyyyy
Copy link

Raphyyyy commented Jan 10, 2022

Problems :

  1. "/SENTRY/X/hpStoreonce:getStoreonceservicesClusterMed:properties/transformList" = { REPLACE = "type=xml2csv;recordTag=properties;includedProperties=applianceName networkName serialNumber capacity freeSpace userDataStored sizeOnDisk healthLevel health status repHealthLevel repHealth repStatus;resultSeparator=[__SW_SENTRY__]%{SEMICOLON}[__SW_SENTRY__]" },

You are using Result Separator ";" but the content is using space so the query may fail

it should be : applianceName;networkName;serialNumber;capacity;freeSpace;userDataStored;sizeOnDisk;healthLevel;health;status;repHealthLevel;repHealth;repStatus

  1. "/SENTRY/X/hpStoreonce:network/httpRequestContent" = { REPLACE = "textOnly" },

it should be httpResponseBody if you want to return the XML's code (for the next step : xml to csv) and not text. Otherwise, the transformation step (XML to CSV) doesn't work.

alexdgilbert added a commit that referenced this issue Feb 22, 2022
Issue #73

Formatting changes in the readme as requested by reviewers.
ramassh added a commit that referenced this issue May 11, 2022
Fixed errors in HP StoreOnce template
ramassh added a commit that referenced this issue May 12, 2022
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

No branches or pull requests

2 participants