-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Response close when defer and add Config file (#1)
* Add: add config file * Fix: response close when defer * Fix: fix test failed
- Loading branch information
Showing
3 changed files
with
148 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
info: | ||
version: 1.0.1 | ||
description: NEF initial local configuration | ||
|
||
configuration: | ||
sbi: | ||
scheme: http # The protocol for sbi (http or https) | ||
registerIPv4: 127.0.0.5 # IP used to register to NRF | ||
bindingIPv4: 127.0.0.5 # IP used to bind the service | ||
port: 8000 # port used to bind the service | ||
tls: # the local path of TLS key | ||
pem: cert/nef.pem # NEF TLS Certificate | ||
key: cert/nef.key # NEF TLS Private key | ||
nrfUri: http://127.0.0.10:8000 # A valid URI of NRF | ||
serviceList: # the SBI services provided by this NEF | ||
- serviceName: nnef-pfdmanagement # Nnef_PFDManagement Service | ||
- serviceName: nnef-oam # OAM service | ||
|
||
logger: # log output setting | ||
enable: true # true or false | ||
level: info # how detailed to output, value: trace, debug, info, warn, error, fatal, panic | ||
reportCaller: false # enable the caller report or not, value: true or false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters