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

Centralize configuration in the server #123

Closed
tortmayr opened this issue Sep 18, 2020 · 0 comments · Fixed by eclipse-glsp/glsp-server#95
Closed

Centralize configuration in the server #123

tortmayr opened this issue Sep 18, 2020 · 0 comments · Fixed by eclipse-glsp/glsp-server#95
Assignees

Comments

@tortmayr
Copy link
Contributor

tortmayr commented Sep 18, 2020

Currently the configuration is spread across client and server for a few aspects, as follows:

Currently the client tells the server (via RequestModelAction options) whether clientLayout is needed to for this diagram or not.
IMO this is a flaw in the general design because a) The client should not have this knowledge in the first place and it should be provided by the server and b) The need for clientLayouting doesn't change on a per-model base. So this configuration can already be done during the server initialization.

If there is a handler registered in the server, the server should automatically be registered as a handler on the client. The server could notify the client about the actions it wants to handle with a message during the initialization phase. (originally #121)

Remove ServerConfiguation and integrate into DiagramConfiguration (originally #118)

Potentially related to #122

@planger planger changed the title Rework clientLayout configuration Centralize configuration in the server Sep 18, 2020
CamilleLetavernier added a commit to CamilleLetavernier/glsp-client that referenced this issue Sep 24, 2020
- Add ConfigureServerHandlersAction

refs eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
CamilleLetavernier added a commit to CamilleLetavernier/glsp-server that referenced this issue Sep 24, 2020
planger added a commit to eclipse-glsp/glsp-client that referenced this issue Sep 30, 2020
* #123 Centralize configuration in the server

- Add ConfigureServerHandlersAction

refs eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
Signed-off-by: Philip Langer <[email protected]>
Co-authored-by: Philip Langer <[email protected]>
planger added a commit to eclipse-glsp/glsp-server that referenced this issue Sep 30, 2020
* #123 Centralize configuration in the server

refs eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
Signed-off-by: Philip Langer <[email protected]>
Co-authored-by: Philip Langer <[email protected]>
CamilleLetavernier added a commit to CamilleLetavernier/glsp-server that referenced this issue Nov 24, 2020
- Merge ServerConfiguration and DiagramConfiguration
- Centralize model update protocol in Model Submission Handler

fixes eclipse-glsp/glsp/issues/122
fixes eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
planger pushed a commit to eclipse-glsp/glsp-server that referenced this issue Dec 16, 2020
- Merge ServerConfiguration and DiagramConfiguration
- Centralize model update protocol in Model Submission Handler

fixes eclipse-glsp/glsp/issues/122
fixes eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
planger pushed a commit to eclipse-glsp/glsp-server that referenced this issue Dec 16, 2020
- Merge ServerConfiguration and DiagramConfiguration
- Centralize model update protocol in Model Submission Handler

fixes eclipse-glsp/glsp/issues/122
fixes eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
tortmayr pushed a commit to eclipse-glsp/glsp-server that referenced this issue Dec 16, 2020
- Merge ServerConfiguration and DiagramConfiguration
- Centralize model update protocol in Model Submission Handler

fixes eclipse-glsp/glsp/issues/122
fixes eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>

Co-authored-by: Camille Letavernier <[email protected]>
planger added a commit to eclipse-glsp/glsp-theia-integration that referenced this issue Dec 21, 2020
planger added a commit to eclipse-glsp/glsp-client that referenced this issue Dec 21, 2020
tortmayr pushed a commit to eclipse-glsp/glsp-client that referenced this issue Dec 21, 2020
tortmayr pushed a commit to eclipse-glsp/glsp-theia-integration that referenced this issue Dec 21, 2020
holkerveen pushed a commit to holkerveen/glsp-client that referenced this issue Dec 21, 2024
)

* eclipse-glsp#123 Centralize configuration in the server

- Add ConfigureServerHandlersAction

refs eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
Signed-off-by: Philip Langer <[email protected]>
Co-authored-by: Philip Langer <[email protected]>
holkerveen pushed a commit to holkerveen/glsp-client that referenced this issue Dec 21, 2024
holkerveen pushed a commit to holkerveen/glsp-client that referenced this issue Dec 21, 2024
)

* eclipse-glsp#123 Centralize configuration in the server

- Add ConfigureServerHandlersAction

refs eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
Signed-off-by: Philip Langer <[email protected]>
Co-authored-by: Philip Langer <[email protected]>
holkerveen pushed a commit to holkerveen/glsp-client that referenced this issue Dec 21, 2024
MatthiasHofstaetter pushed a commit to MatthiasHofstaetter/glsp-server that referenced this issue Dec 21, 2024
)

* eclipse-glsp#123 Centralize configuration in the server

refs eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>
Signed-off-by: Philip Langer <[email protected]>
Co-authored-by: Philip Langer <[email protected]>
MatthiasHofstaetter pushed a commit to MatthiasHofstaetter/glsp-server that referenced this issue Dec 21, 2024
…ver (eclipse-glsp#95)

- Merge ServerConfiguration and DiagramConfiguration
- Centralize model update protocol in Model Submission Handler

fixes eclipse-glsp/glsp/issues/122
fixes eclipse-glsp/glsp/issues/123

Signed-off-by: Camille Letavernier <[email protected]>

Co-authored-by: Camille Letavernier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants