Using OpenAPI 3 Specifications of the 5G Core to Generate Validators in Erlang

dc.contributor.authorDONATO, DAVIDE
dc.contributor.authorQIN, HEYU
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.examinerMyreen, Magnus
dc.contributor.supervisorHughes, John
dc.date.accessioned2019-10-18T07:25:02Z
dc.date.available2019-10-18T07:25:02Z
dc.date.issued2019sv
dc.date.submitted2019
dc.description.abstractMost of the 5G Core network components are virtualized and designed as RESTful APIs, communicating between each other by sending HTTP requests. These requests are defined in the 3GPP 5G Core official specifications following the OpenAPI 3 format. In this thesis we explore the current status of Erlang code generation from OpenAPI 3 specifications and its use for validation in Ericsson’s 5G Core system. The best candidate tool for the project was OpenAPI Generator, although it required several fixes to be used. Based on Ericsson’s internal test environment, we show that it is possible to integrate the generated code for request validation in it. The integration was successful as it found two bugs in the system, but it highlighted the lack of support for some advanced features. These shortcomings indicate that Erlang code generation from OpenAPI 3 is good enough for testing but not for production.sv
dc.identifier.coursecodeDATX05sv
dc.identifier.urihttps://hdl.handle.net/20.500.12380/300477
dc.language.isoengsv
dc.setspec.uppsokTechnology
dc.subject5G Coresv
dc.subjectOpenAPI 3sv
dc.subjectErlangsv
dc.subjectcode generationsv
dc.subjectvalidationsv
dc.subjectHTTP requestssv
dc.subjectintegrationsv
dc.subjectthesissv
dc.titleUsing OpenAPI 3 Specifications of the 5G Core to Generate Validators in Erlangsv
dc.type.degreeExamensarbete för masterexamensv
dc.type.uppsokH
Ladda ner
Original bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 19-99 Donato Qin.pdf
Storlek:
2.59 MB
Format:
Adobe Portable Document Format
Beskrivning:
License bundle
Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Storlek:
1.14 KB
Format:
Item-specific license agreed upon to submission
Beskrivning: