Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
key-storage-agent
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
key-storage-agent
Merge requests
!41
Fix MR
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix MR
activity_update
into
master
Overview
1
Commits
2
Pipelines
0
Changes
3
Merged
Gospodin Bodurov
requested to merge
activity_update
into
master
5 years ago
Overview
1
Commits
2
Pipelines
0
Changes
4
Expand
Closes
https://code.vereign.com/code/restful-api/issues/285
Edited
5 years ago
by
Gospodin Bodurov
0
0
Merge request reports
Viewing commit
1585b6eb
Prev
Next
Show latest version
4 files
+
90
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
1585b6eb
Fix MR
· 1585b6eb
Gospodin Bodurov
authored
5 years ago
config/configs.go
+
3
−
0
Options
@@ -25,6 +25,7 @@ var MaxMessageSize int
var
GrpcListenAddress
string
var
RestListenAddress
string
var
DataStorageUrl
string
var
EntitiesManagerUrl
string
var
CertDir
string
func
SetConfigValues
()
{
@@ -34,6 +35,7 @@ func SetConfigValues() {
viper
.
SetDefault
(
"grpcListenAddress"
,
"localhost:7877"
)
viper
.
SetDefault
(
"restListenAddress"
,
"localhost:7878"
)
viper
.
SetDefault
(
"dataStorageUrl"
,
"localhost:7777"
)
viper
.
SetDefault
(
"entitiesManagerUrl"
,
"localhost:7779"
)
viper
.
SetDefault
(
"viamUUID"
,
"viam-system"
)
viper
.
SetDefault
(
"viamSession"
,
"viam-session"
)
@@ -106,6 +108,7 @@ func SetConfigValues() {
RestListenAddress
=
viper
.
GetString
(
"restListenAddress"
)
DataStorageUrl
=
viper
.
GetString
(
"dataStorageUrl"
)
EntitiesManagerUrl
=
viper
.
GetString
(
"entitiesManagerUrl"
)
SystemAuth
.
Uuid
=
viper
.
GetString
(
"viamUUID"
)
SystemAuth
.
Session
=
viper
.
GetString
(
"viamSession"
)
Loading