Skip to content

jaimecb/lab4-websockets

 
 

Repository files navigation

Web Engineering 2020-2021 / Websockets

In this assignment your PR must only modify the README.md file. Please, go to the Wiki in order to get the instructions for this assignment.

Historical background

The code implements the script DOCTOR of the ELIZA system and provides you a client and server that communicate each other by means of websockets. ELIZA is an early example of primitive natural language processing developed by Joseph Weizenbaum between 1964 and 1966. ELIZA operated by processing users' responses to scripts, the most famous of which was DOCTOR, a simulation of a Rogerian psychotherapist. Using almost no information about human thought or emotion, DOCTOR sometimes provided a startlingly human-like interaction.

Primary goal

The objective is to complete ElizaServerTest.kt by completing the test onChat that now is ignored. The onChat test must:

  • Send a message from the client to the server that is running a Java implementation of the script DOCTOR.
  • Check the client receives a DOCTOR question about your mental health (see examples in Eliza.kt).

You must remove @Disabled and place up to 6 lines of code to fulfil the task. ElizaServerTest.kt includes the test onOpen that will provide you insights.

Secondary goals (:gift:)

Solutions must meet primary goals too.

Proposed:

  • Support SockJS in the server side and show that xhr-polling can be used as transport instead of WebSocket when needed (additional info).
  • Turn the DOCTOR into a client of the server, so, the server acts only as message broker.
  • Use the server as a relay server to connect to an external message broker (e.g. RabbitMQ, additional info)

Note: unless the goal specifies o disallows a specific framework you are free to replace the framework used in the original implementation with a different framework.

Manifest your intention first by a PR updating this README.md with your goal. If you desist of your goal, release it by a PR so other fellow can try it.

User name NIA CI Solution Score
UNIZAR-30246-WebEngineering 30246 Build Status
Diego Marco 755232 Build Status ElizaServerTest Support STOMP in the server side and create a small client that uses it 🎁
Óscar Pueyo 780378 Build Status Solution
María Peña 780448 Build Status Solution
Mateo Vallejo 780029 Build Status ElizaServerTest
Alejandro Magallón 779354 Build Status ElizaServerTest
Tomás Pelayo 779691 Build Status Solution
Guillermo Cánovas González 755848 Build Status ElizaServerTest
Jorge Laguna 735550 Build Status ElizaServerTest Demostration of use with Postman 🎁
Fernando Serrano 774840 Build Status Solution
Pablo Jordán 757166 Build Status ElizaServerTest
Andoni Salcedo Navarro 785649 Build Status ElizaServerTest
Jorge Serrano 776453 Build Status solution
Germán Garcés 757024 Build Status Solution
Sergio Benítez Mombiela 755787 Build Status ElizaServerTest
Fede Barcelona 666151 Build Status ElizaServerTest
Jaime Conchello 776012 Build Status ElizaServerTest

About

Lab4-websockets (deadline 2021-12-03)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%