Hi everyone,
I’m developing a custom XNAT plugin and I’m trying to access the frontend input value in the backend code.
Specifically, under Plugin Settings → Compute Backend Configuration, when I create a new Container Host from the frontend, the value is successfully saved to the database (I can verify the new record there).
However, I don’t know where or how to get this value from my backend Java code.
I would like to retrieve the frontend input (the newly created Container Host information) in the backend — for example, through the proper service or API — so that I can use it later for debugging and validation.
Could anyone point me to the correct class, method, or service where the Container Host configuration is exposed, or how to fetch it programmatically from the backend plugin?
Thanks in advance for your help,
Richard Guo
DockerServerService into your code and calling its getServer() method. The name of that class and the object it returns is specifically about a "Docker Server" as a historical relic from when we only had the ability to talk to the docker API directly, not swarm or kubernetes. In the front end and documentation we have changed to the more generic name "Compute Host".--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xnat_discussion/558b6e8c-0477-4e83-b3b2-85de16e48379n%40googlegroups.com.