Code Review
/
nonrtric
/
plt
/
sme.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NONRTRIC-946: Make GET for GetApfIdServiceApis stateless
[nonrtric/plt/sme.git]
/
capifcore
/
internal
/
config
/
config.go
diff --git
a/capifcore/internal/config/config.go
b/capifcore/internal/config/config.go
index
4a53022
..
f7e07e6
100644
(file)
--- a/
capifcore/internal/config/config.go
+++ b/
capifcore/internal/config/config.go
@@
-27,10
+27,16
@@
import (
"gopkg.in/yaml.v2"
)
"gopkg.in/yaml.v2"
)
+type AdminUser struct {
+ User string `yaml:"user"`
+ Password string `yaml:"password"`
+}
+
type AuthorizationServer struct {
type AuthorizationServer struct {
- Port string `yaml:"port"`
- Host string `yaml:"host"`
- Realms map[string]string `yaml:"realms"`
+ Port string `yaml:"port"`
+ Host string `yaml:"host"`
+ AdminUser AdminUser `yaml:"admin"`
+ Realms map[string]string `yaml:"realms"`
}
type Config struct {
}
type Config struct {