-
Notifications
You must be signed in to change notification settings - Fork 18
backend for ROC & add config to this folder #2
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
Changes from all commits
193571b
8c0ec83
185947b
827b458
e87364d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,7 +63,7 @@ func (webui *WEBUI) Initialize(c *cli.Context) { | |
| panic(err) | ||
| } | ||
| } else { | ||
| DefaultWebUIConfigPath := path_util.Free5gcPath("free5gc/config/webuicfg.yaml") | ||
| DefaultWebUIConfigPath := path_util.Free5gcPath("webconsole/config/webuicfg.yaml") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's discuss this in meeting. we are changing configpath. DId we change helm chart for the same ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is yaml file, .conf file. I am not sure how it works. |
||
| if err := factory.InitConfigFactory(DefaultWebUIConfigPath); err != nil { | ||
| panic(err) | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| info: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this the same config we are pulling from 5gc repository ? or this is something else?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, because it uses the config in another repo. In this way, the webconsole repo will not depend on other repo. |
||
| version: 1.0.0 | ||
| description: WebUI initial local configuration | ||
|
|
||
| configuration: | ||
| mongodb: # the mongodb connected by this webui | ||
| name: free5gc # name of the mongodb | ||
| url: mongodb://localhost:27017 # a valid URL of the mongodb | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need this ?this will slow down the build process right ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replied this yesterday, but looks did not show up, reply again. If with cache some times the building result is not correct, for this reason, I waste a lot of time on debugging, and find it did not work just because used cache. Compare with the saved time, i would rather choose to build without cache. If you prefer with cache, I will change it back.