Skip to content
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

feat/r17 #38

Open
wants to merge 41 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
8ffa286
feat: update r17 openapi
a3828162 Jul 6, 2024
31cec69
feat: update context.go & search_nf_service.go
a3828162 Jul 16, 2024
84bf661
feat: update pp, sdm, uecm, ueau processor openapi
a3828162 Jul 17, 2024
b0b2b8b
feat: update processor/ue_context_management.go R17 openapi
a3828162 Jul 22, 2024
f5d7d3b
feat: update processor/parameter_provision.go problemdetail
a3828162 Jul 22, 2024
1c2353b
feat: update processor/generate_auth_date.go problemdetail
a3828162 Jul 22, 2024
9caaec9
feat: update processor/notifier.go R17 openapi
a3828162 Jul 22, 2024
ce26cab
feat: update processor/subscriber_data_management.go R17 openapi
a3828162 Jul 26, 2024
f275877
fix: consumer nrf_service wrong function call
a3828162 Jul 26, 2024
8104a2d
feat: modify GenerateAuthDataProcedure
a3828162 Jul 26, 2024
4676be3
feat: update server route
a3828162 Jul 26, 2024
f45ec10
fix: lint error
a3828162 Jul 26, 2024
da36e98
fix: lint error
a3828162 Jul 26, 2024
930f734
feat: add generate_auth_data_test
a3828162 Jul 31, 2024
4d35c61
fix: test and linter
andy89923 Jul 31, 2024
81bc721
fix: nrf_deregistration error type assertion
a3828162 Aug 9, 2024
363af77
fix: gin context parameter
a3828162 Aug 9, 2024
fc69b8a
feat: add notimplement route & fix gin context parameter
a3828162 Aug 13, 2024
ef45d07
feat: add r17 new service server route & r17 new service api
a3828162 Aug 13, 2024
833df62
chore: update openapi version
a3828162 Aug 14, 2024
cb2b65a
fix: remove unuse line
a3828162 Sep 3, 2024
fb824b1
fix: PR comment change
a3828162 Sep 10, 2024
d5c5546
fix: PR comment
a3828162 Sep 10, 2024
cc855f7
fix: PR comment
a3828162 Sep 11, 2024
037ec8f
fix: PR comment
a3828162 Sep 11, 2024
1e2b8fe
fix: PR comment
a3828162 Sep 11, 2024
f82f577
feat: modify ueau route with different layer
a3828162 Oct 17, 2024
560775a
fix: ctrl^C not terminate
a3828162 Oct 17, 2024
6db4653
fix: lint error
a3828162 Oct 17, 2024
29ebf2d
fix: type error & update api version
a3828162 Oct 20, 2024
7633aa9
fix: two layer params name
andy89923 Oct 20, 2024
01a17fc
fix: log level
a3828162 Oct 20, 2024
59a3ec4
fix: add logs and minor adjustment
andy89923 Oct 25, 2024
a6036f2
fix: GetAmDataProcedure response type
andy89923 Oct 25, 2024
c5027da
fix: procedure rsp type
a3828162 Oct 23, 2024
cd7c6e5
fix: AuthEvents response type
andy89923 Oct 25, 2024
2248934
fix: authentication subscription patchItem sequence number
andy89923 Oct 27, 2024
1f9b393
fix: type assertion generic error
a3828162 Oct 28, 2024
26c2224
feat: update openapi hash
a3828162 Nov 1, 2024
19a9e87
feat: update openapi hash
a3828162 Nov 13, 2024
07d6320
fix: change apiError logic & add terminate log else logic
a3828162 Nov 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/sbi/processor/generate_auth_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (p *Processor) ConfirmAuthDataProcedure(c *gin.Context,
return
}

createAuthStatusResponse, err := client.AuthenticationStatusDocumentApi.CreateAuthenticationStatus(
_, err = client.AuthenticationStatusDocumentApi.CreateAuthenticationStatus(
ctx, &createAuthStatusRequest)
if err != nil {
problem, ok := err.(openapi.GenericOpenAPIError).Model().(models.ProblemDetails)
Expand All @@ -109,7 +109,7 @@ func (p *Processor) ConfirmAuthDataProcedure(c *gin.Context,
return
}

c.JSON(http.StatusCreated, createAuthStatusResponse)
c.Status(http.StatusCreated)
andy89923 marked this conversation as resolved.
Show resolved Hide resolved
}

func (p *Processor) GenerateAuthDataProcedure(
ianchen0119 marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
2 changes: 1 addition & 1 deletion internal/sbi/processor/parameter_provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (p *Processor) UpdateProcedure(c *gin.Context,
}

if modifyPpDataRsp.PatchResult.Report != nil {
c.JSON(http.StatusOK, modifyPpDataRsp)
c.JSON(http.StatusOK, modifyPpDataRsp.PatchResult)
return
}

Expand Down
4 changes: 2 additions & 2 deletions internal/sbi/processor/ue_context_management.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (p *Processor) GetAmf3gppAccessProcedure(c *gin.Context, ueID string, suppo
return
}

c.JSON(http.StatusOK, amf3GppAccessRegistration)
c.JSON(http.StatusOK, amf3GppAccessRegistration.Amf3GppAccessRegistration)
}

func (p *Processor) GetAmfNon3gppAccessProcedure(c *gin.Context, queryAmfContextNon3gppParamOpts Nudr_DataRepository.
Expand Down Expand Up @@ -73,7 +73,7 @@ func (p *Processor) GetAmfNon3gppAccessProcedure(c *gin.Context, queryAmfContext
return
}

c.JSON(http.StatusOK, amfNon3GppAccessRegistrationResponse)
c.JSON(http.StatusOK, amfNon3GppAccessRegistrationResponse.AmfNon3GppAccessRegistration)
}

func (p *Processor) RegistrationAmf3gppAccessProcedure(c *gin.Context,
Expand Down
Loading