-
Notifications
You must be signed in to change notification settings - Fork 115
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
Support for adding TM1 server instances to the Admin server? #296
Comments
@MariusWirtz Have you started working on this? This looks like a cool feature. |
Nope. Haven't started with this one yet. |
Hi @MariusWirtz I've been digging around in the Util.py file and found the existing call to the admin host to get the list of servers. Based on This I've worked up some functions to make a post and delete call to the admin host to add a new instance. Issues:
Does this solution appear to be on the right track? Function Definitions: Example use:
|
Hi, I think it makes sense, that the Sames goes for the Actually, the delete request is kinda irritating me. If no authentication is required to send this delete request towards the admin host, does that mean everyone can just remove servers from the admin host? |
Yes, saw the decorators in the other service classes, and (now see) the is_admin property only exists on the instantiated REST Service object🙄. In terms of the confirmation about the admin host action, and unauthenticated requests, its something I'm not able to to thoroughly explore given my available environments, though early evidence suggests so. If this is confirmed seems like a hole that could be exploited, and the package would not want to expose in any way. |
I agree, I did this in postman and then realized the implications of it. It is super powerful, but makes me nervous. |
I agree @rclapp . Does this mean we should close this issue? |
I agree. We should probably not include this in the package. We may include the |
Actually, you can only update/delete a server that has been manually added to the Admin Server through the REST API. If a server has self-registered itself with the Admin Host on startup, then you won’t be able to update/delete it (you can see the |
Describe what did you try to do with TM1py
Looking for functionality to add server instances to the Admin server
https://www.ibm.com/support/knowledgecenter/SSD29G_2.0.0/com.ibm.swg.ba.cognos.tm1_nfg.2.0.0.doc/c_pa_nf_post_delete_support.html
Describe what's not working the way you expect
Couldn't find this....
The text was updated successfully, but these errors were encountered: