-
Notifications
You must be signed in to change notification settings - Fork 0
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
RSWW-138 websocket in data generator module #57
Conversation
Test Results8 tests 8 ✅ 27s ⏱️ Results for commit 64ad88f. ♻️ This comment has been updated with latest results. |
data-generator/src/main/java/cloud/project/datagenerator/hotels/HotelsDataGenerator.java
Outdated
Show resolved
Hide resolved
data-generator/src/main/java/cloud/project/datagenerator/hotels/HotelsDataGenerator.java
Outdated
Show resolved
Hide resolved
data-generator/src/main/java/cloud/project/datagenerator/hotels/HotelsDataGenerator.java
Outdated
Show resolved
Hide resolved
data-generator/src/main/java/cloud/project/datagenerator/hotels/HotelsDataGenerator.java
Outdated
Show resolved
Hide resolved
...generator/src/main/java/cloud/project/datagenerator/hotels/controllers/HotelsController.java
Outdated
Show resolved
Hide resolved
...generator/src/main/java/cloud/project/datagenerator/hotels/controllers/HotelsController.java
Outdated
Show resolved
Hide resolved
...-generator/src/main/java/cloud/project/datagenerator/transports/TransportsDataGenerator.java
Outdated
Show resolved
Hide resolved
...rator/src/main/java/cloud/project/datagenerator/transports/bootstrap/TransportBootstrap.java
Outdated
Show resolved
Hide resolved
...-generator/src/main/java/cloud/project/datagenerator/transports/TransportsDataGenerator.java
Outdated
Show resolved
Hide resolved
...r/src/main/java/cloud/project/datagenerator/transports/controllers/TransportsController.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trzeba tylko wyświetlić sekundy w dacie zmiany na froncie (teraz jest równo 08/06/2024, 13:16:00
), a tak to zajebiście 🥇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nowo dodane pokoje nigdy nie są aktualizowane (Room-xx
)
Proponowane zmiany zostały wprowadzone pomyślnie |
W module DataGenerator wybierane są randomowe hotele i transporty, które nie mają żadnej rezerwacji (aby nie wprowadzać dużego zamieszania w danych i niepotrzebnie komplikować sobie zadania). Z bootstrapa transportów usunąłem tworzenie rezerwacji. Są dwie możliwości akcji: create albo update.
Aby zachować spójność danych, moduł datageneratora odbiera wiadomosci o stworzeniu nowej rezerwacji hotelu lub transportu (za pomocą rabbitmq).
Wszystkie aktualizacje wykonane na danych widoczne są na podstronie "TOUpdates"