-
Notifications
You must be signed in to change notification settings - Fork 1
Sequence Diagrams
Yunus Emre Özdemir edited this page Apr 20, 2024
·
26 revisions
sequenceDiagram
actor User
participant AccountServer
participant Database
User->>AccountServer: createAccount(username, email, password)
activate AccountServer
activate Database
alt success
AccountServer->>Database: Credentials
Database-->>AccountServer: Success
AccountServer-->>User: Success
else username/email exists
Database-->>AccountServer: <1062, ER_DUP_ENTRY>
deactivate Database
AccountServer-->>User: 409 Conflict (Email Already Exists)
deactivate AccountServer
end
sequenceDiagram
actor User
participant AuthServer
participant Database
User->>AuthServer: login(username, password)
activate AuthServer
AuthServer->>Database: Validate Credentials
activate Database
alt success
Database-->>AuthServer: User Data
AuthServer->>AuthServer: Issue JWT
AuthServer-->>User: JWT
else failure
Database-->>AuthServer: failure
deactivate Database
AuthServer-->>User: 401 Unauthorized
deactivate AuthServer
end
sequenceDiagram
actor User
participant WikidataClient
participant Wikidata API
User->>WikidataClient: browse(searchText)
WikidataClient->>Wikidata API: searchText
alt success
Wikidata API-->>WikidataClient: <200, matchList[itemID]>
WikidataClient-->>User: <200, matchList[itemID]>
else failure
Wikidata API-->>WikidataClient: <ERROR_CODE, ERROR_MESSAGE>
WikidataClient-->>User: <ERROR_CODE, ERROR_MESSAGE>
end
sequenceDiagram
actor User
participant WikidataClient
participant Wikidata API
User->>WikidataClient: browse(searchText)
WikidataClient->>Wikidata API: searchText
alt success
Wikidata API-->>WikidataClient: matchList
WikidataClient-->>User: matchList
else failure
Wikidata API-->>WikidataClient: error code
WikidataClient-->>User: error code
end
sequenceDiagram
actor User
participant WikidataClient
participant Wikidata API
User->>WikidataClient: browse(searchText)
WikidataClient->>Wikidata API: searchText
alt success
Wikidata API-->>WikidataClient: matchList
WikidataClient-->>User: matchList
else failure
Wikidata API-->>WikidataClient: error code
WikidataClient-->>User: error code
end
sequenceDiagram
actor User
participant WikidataClient
participant Wikidata API
User->>WikidataClient: browse(searchText)
WikidataClient->>Wikidata API: searchText
alt success
Wikidata API-->>WikidataClient: matchList
WikidataClient-->>User: matchList
else failure
Wikidata API-->>WikidataClient: error code
WikidataClient-->>User: error code
end
🏠 Home
- Oktay Özel
- Aras Taşçı
- Yunus Emre Özdemir
- Kaan Yolcu
- Elif Nur Deniz
Eymen Çeliktürk- Anıl Köse
Battal Hazar- Halil Özkan
Ebru Özçakı- Ali Tarık Şahin
- Ahmet Oğuz Engin
- Yağız Güldal
- Lab Report 1
- Lab Report 2
- Lab Report 3
- Lab Report 4
- Lab Report 5
- Lab Report 6
- Lab 7 PR
- Lab 8 PR
- Lab Report 9
- Lab Meeting 1
- Weekly Meeting 1
- Lab Meeting 2
- Weekly Meeting 2
- Frontend Meeting 1
- Lab Meeting 3
- Weekly Meeting 3
- Lab Meeting 4
- Frontend Meeting 2
- Weekly Meeting 4
- Weekly Meeting 5
- Frontend Meeting 3
- Lab Meeting 5
- Weekly Meeting 6
- Weekly Meeting 7
- Lab Meeting 6
- Weekly Meeting 8
- Lab Meeting 7
- Lab Meeting 8
- Weekly Meeting 9
- Requirements
- Elicitation Questions
- Project Plan
- Use Case Diagram
- Sequence Diagrams
- Class Diagrams
- Front-End Mockups
- Mobile Mockups
- User Scenario 1
- User Scenario 2
- User Scenario 3
- User Scenario 4
- User Scenario 5
- RAM
- Tags Documentation
- Domain Specific Improvement Ideas
- Lab-6 User Stories
- Customer Milestone 2 Plan
- Software Quality Plan
- Implemented Requirements For Milestone 2
- Customer Milestone 3 Plan
📅 Meetings
- Meeting 1
- Meeting 2
- Meeting 3
- Meeting 4
- Meeting 5
- Meeting 6
- Meeting 7
- Meeting 8
- Meeting 9
- Meeting 10 - Class Diagrams
- Meeting - Frontend 1
- Meeting - Backend 1
- Meeting 11
- Meeting - Backend 2 Wikidata
- Meeting - Frontend 2
- Meeting - Deployment
- Meeting - Frontend 3
- Meeting 12
- Meeting - Backend 3
- Meeting - Backend 4
- Meeting - Frontend 4
- Meeting 13
- Meeting 14
- Meeting 15
- Meeting 16
💻 Project
- Class Diagrams
- Sequence Diagrams
- Use Case Diagrams
- Requirements
- Elicitation Questions
- Project Plan
- Work Done By Each Member
- Milestone Report 1
- Scenarios-Mockups
- Responsibility Assignment Matrix
- Responsibility Assignment Matrix Old Version
- Related Software Analysis
- Workdone Each Member Milestone 2
- Milestone 2 Report
- Work Done By Each Member Milestone 3
- RAM 3
- Milestone Report 3