N°9336 - Support switch_env when calling iTop (API & synchro)#59
N°9336 - Support switch_env when calling iTop (API & synchro)#59jbostoen wants to merge 1 commit intoCombodo:masterfrom
Conversation
| <itop_password>admin</itop_password> | ||
| <itop_token/> | ||
| <itop_login_mode/> | ||
| <itop_env>production</itop_env> |
There was a problem hiding this comment.
I'm not sure this corner case should be present in each collectors default sample config.
Maybe make it similar as for login mode?
| <itop_env>production</itop_env> | |
| <itop_env/> |
There was a problem hiding this comment.
Production is the default anyway - both when using iTop, or also as the "non configured" value.
I don't think it makes a big difference whether we clearly set the (default) environment name in the XML, or do it your way, or perhaps remove it altogether from the XML (then it's just less clear it's supported).
There was a problem hiding this comment.
I personally would have removed it, but the suggestion I made is not "My way", it is the way Combodo decided to add parameters not widely used (like itop_login_mode in #29).
So it is just a suggestion, Combodo review team can decide what to do.
|
Hey @jbostoen, thanks for your PR. It seems functionally interesting, but we'll have to see technically if it doesn't bring problems with tests environment created by the designer. |
Base information
Symptom (bug) / Objective (enhancement)
switch_envparameter.Proposed solution (bug and enhancement)
production.Checklist before requesting a review
Checklist of things to do before PR is ready to merge
No new phpunit test as I don't know what environments Combodo has in place.