chethankumar / test

0 stars 0 forks source link

[RFC] new one #9

Open chethankumar opened 3 months ago

chethankumar commented 3 months ago

We are adding a survey form filling utility

the system has 2 services. SurveyInput which is responsible for gathering the survey input with form. DataPersister which is responsible to persist data to database. When the user inputs data into the form, the Survey input service picks up the data and sends to DataPersister to persist the data to database...
chethankumar commented 3 months ago

Here's a PlantUML sequence diagram for the flow you described:

@startuml

sequenceDiagram
    participant User
    participant SurveyInputService
    participant DataPersisterService

    User->>SurveyInputService: inputs survey data
    SurveyInputService->>DataPersisterService: persist survey data to database

    User->>SurveyInputService: sends survey data to DataPersisterService
    SurveyInputService->>DataPersisterService: persists survey data in the database

@enduml

The diagram shows that the user interacts with the SurveyInputService, which then interacts with the DataPersisterService to persist the survey data. The arrows indicate the direction of flow and the text inside each arrow indicates what is happening at that point in time.