This is a simple scenario to learn the basics of Jolie and microservice programming. In the initial example provided in this repo, we stick to the basic features of Jolie, i.e., no sessions (correlation sets) nor architectural composition.
- Start Watching this repository.
- Feel free to use the comment features on all pull requests and commits you see, to ask questions ("Why did you do that?"), give feedback ("I don't think that does what you want" or "Nice!"), or give answers ("You have to use global variables for that. See this link for an amazing explanation of what you need.").
Install the Jolie programming language.
- Start
chat.ol
first (the chat service), by runningjolie chat.ol
in a terminal. - Try some commands in
client.ol
. Runjolie client.ol --help
for a list of commands.
- Clone this repository, or fork it in your user account.
- Have a look at the rubric for the evaluation of microservices.
- Try to assign scores to the implementation of the chat service.
- Try to improve the code with respect to some aspect described in the the rubric for the evaluation of microservices. Your improvement does not need to be complete! If it is complicated, just make a sketch; we will then discuss it at the next lecture. Commit the changes to your own git repository (the "fork").
- Issue a pull request to discuss your changes.
- Think of a cool feature that you would like the chat service to support.
- Implement it!
- Submit a pull request to get it included.