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

Feature request: support 'remote' PlantUML via Docker #4

Open
1 task done
ghost opened this issue May 23, 2019 · 1 comment
Open
1 task done

Feature request: support 'remote' PlantUML via Docker #4

ghost opened this issue May 23, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented May 23, 2019

Prerequisites

Description

Hi MatheusAze,
this is not a bug issue but a 'feature request' :-).

There is a neat PlantUML docker image available at https://hub.docker.com/r/plantuml/plantuml-server/, it's easy to run a PlantUML 'server' instance. Update of PlantUML becomes easy (well, easier) by just "docker image pull plantuml/plantuml-server" and to re-run PlantUML as container.

What about rendering via a 'remote' instance of PlantUML? I don't know much about internal plantuml-toolkit mechanism to execute PlantUML. But maybe there is a easy way to implement this feature as an alternative way to render a picture and to intro a new setting "PLANTUML_URL" to make it customizable?!

Steps to Reproduce

n/a

Expected behavior: Use a PlantUML instance via a remote API call, rather than local exec.

Actual behavior: n/a

Reproduces how often: n/a

Versions

HEAD

Additional Information

http://www.plantuml.com/plantuml/png/oorFpInEIanMqBLJy4qioKWjBNQiIbMmKl18pSd9rr78oqnELIZ9LyXDJIrHgCmlLGG0

@MatheusAze
Copy link
Owner

Hi @mweisbac!
It is probably very possible to use a remote server to render the diagrams, but it would require rebuilding the toolkit's rendering mechanism from scratch (current version uses the rendering mechanism built by @peele in plantuml-preview package, which very tightly coupled to the local rendering approach).
I'd be happy to do it, but I won't have the time nor resources to do it for at least a couple of months (hence my late response).
If you are willing to contribute, I'd gladly accept a pull request for it (:

@MatheusAze MatheusAze added the enhancement New feature or request label Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant