How harualex/graduationsoa works
This repository implements a graduation-thesis registration system as three Play services: student management, thesis management, and registration. The main workflow is a registration API request that validates student and thesis existence, checks duplicate and capacity constraints, then stores the registration. Student and thesis APIs also provide their own CRUD operations. Repository excerpts show the application layers and SQL access; the registration clients’ HTTP behavior and route wiring were not excerpted, so those links are marked unverified where appropriate.
Main entry points: RegistrationService.java Registration workflow · StudentController.java Student API · ThesisController.java Thesis API · RegistrationController.java Registration API
Components 18
Registration service
- Registration API
registrationservice/app/controllers/RegistrationController.java - Registration workflow
registrationservice/app/services/RegistrationService.java - Student client
registrationservice/app/clients/StudentClient.java - Thesis client
registrationservice/app/clients/ThesisClient.java - Registration data access
registrationservice/app/repositories/RegistrationRepository.java - Registration record
registrationservice/app/models/Registration.java
Student service
- Student API
studentservice/app/controllers/StudentController.java - Student operations
studentservice/app/services/StudentService.java - Student data access
studentservice/app/repositories/StudentRepository.java - Student record
studentservice/app/models/Student.java
Thesis service
- Thesis API
thesisservice/app/controllers/ThesisController.java - Thesis operations
thesisservice/app/services/ThesisService.java - Thesis data access
thesisservice/app/repositories/ThesisRepository.java - Thesis record
thesisservice/app/models/Thesis.java
Shared infrastructure
- SQL Server
Other components
- API caller
- Student service API
- Thesis service API
Connections 21
- API caller → Registration API: submits requests
- API caller → Student API: submits requests
- API caller → Thesis API: submits requests
- Registration API → Registration workflow: delegates
registrationservice/app/controllers/RegistrationController.java - Registration workflow → Student client: checks student
registrationservice/app/services/RegistrationService.java - Registration workflow → Thesis client: checks thesis
registrationservice/app/services/RegistrationService.java - Registration workflow → Registration data access: reads and writes
registrationservice/app/services/RegistrationService.java - Registration workflow → Registration record: returns records
registrationservice/app/services/RegistrationService.java - Student client → Student service API: queries remotely
- Thesis client → Thesis service API: queries remotely
- Student service API → Student API: routes to
- Thesis service API → Thesis API: routes to
- Student API → Student operations: delegates
studentservice/app/controllers/StudentController.java - Student operations → Student data access: reads and writes
studentservice/app/services/StudentService.java - Student API → Student record: converts JSON
studentservice/app/controllers/StudentController.java - Thesis API → Thesis operations: delegates
thesisservice/app/controllers/ThesisController.java - Thesis operations → Thesis data access: reads and writes
thesisservice/app/services/ThesisService.java - Thesis API → Thesis record: builds and serializes
thesisservice/app/controllers/ThesisController.java - Registration data access → SQL Server: queries DANGKY
registrationservice/app/repositories/RegistrationRepository.java - Student data access → SQL Server: queries SINHVIEN
studentservice/app/repositories/StudentRepository.java - Thesis data access → SQL Server: queries DETAI
thesisservice/app/repositories/ThesisRepository.java