Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Provide simple Scala API #4

Closed
tdauth opened this issue Oct 31, 2018 · 3 comments
Closed

Provide simple Scala API #4

tdauth opened this issue Oct 31, 2018 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@tdauth
Copy link
Contributor

tdauth commented Oct 31, 2018

A REST API might be too slow when the state machine is updated constantly.
Hence, provide a simple Scala API which can be called directly in Java.

@tdauth tdauth added the enhancement New feature or request label Oct 31, 2018
@tdauth tdauth self-assigned this Oct 31, 2018
@beatngu13
Copy link
Contributor

[…] Scala API which can be called directly in Java.

We still go over network, don't we? This sounds like RPC… 🙈

@tdauth
Copy link
Contributor Author

tdauth commented Nov 5, 2018

[…] Scala API which can be called directly in Java.

We still go over network, don't we? This sounds like RPC… see_no_evil

This API should not be called via network. It would have to be used as direct maven/sbt dependency of the service which creates the state machine.

tdauth added a commit that referenced this issue Nov 5, 2018
- Move REST part into package rest
- Add api package and retest/Selenium dependencies
- Use scalamock for mocking
- Add scalafmt sbt plugin and rules file
- Refactor DSL code
tdauth added a commit that referenced this issue Nov 12, 2018
…n REST support #1 #4

- Store descriptors per state and define getDescriptors in the trait State.
- Fix comment about legacy code.
- Add State.addTransition.
- Remove all the DSL code which was experimental.
- Remove all the REST applications/test suites code which was experimental.
- Move model into rest.model.
- Adapt unit tests.
@tdauth
Copy link
Contributor Author

tdauth commented Nov 12, 2018

Done, open more issues for specific features.

@tdauth tdauth closed this as completed Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants