N°8890 - Add detection of iTop API versions 1.3 and 1.4.#60
Open
jbostoen wants to merge 1 commit intoCombodo:masterfrom
Open
N°8890 - Add detection of iTop API versions 1.3 and 1.4.#60jbostoen wants to merge 1 commit intoCombodo:masterfrom
jbostoen wants to merge 1 commit intoCombodo:masterfrom
Conversation
Hipska
suggested changes
Sep 10, 2025
- Improve error message: Include hints on what to validate.
8b421e6 to
58b28ca
Compare
Author
|
The exception now also contains hints on what can go wrong (invalid URL, invalid credentials, missing profile, ... ). Before the patch; it would just try all versions; then assume iTop API version 1.0 and fail later on. |
Member
|
Thanks for your PR, it got functionally accepted. We'll perform technical review in the upcoming days/weeks. |
Hipska
approved these changes
Jan 6, 2026
Collaborator
Hipska
left a comment
There was a problem hiding this comment.
Approved.
The weirdest part is that this method is only used purely for log message, so actually it doesn't add much value.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base information
Symptom (bug) / Objective (enhancement)
Enhancement: Ability to detect iTop API versions 1.3 and 1.4 ( https://www.itophub.io/wiki/page?id=latest:advancedtopics:rest_json#changes_history )
It also changes the logic to try most recent versions of the API first.
Proposed solution (bug and enhancement)
Just add the missing values.
Checklist before requesting a review
Checklist of things to do before PR is ready to merge