Update/fix rpm and deb packaging
[src/xds/xds-agent.git] / lib / xdsconfig / config.go
index fd9b034..ef94f0a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2017 "IoT.bzh"
+ * Copyright (C) 2017-2018 "IoT.bzh"
  * Author Sebastien Douheret <sebastien@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -24,8 +24,8 @@ import (
 
        "os"
 
+       common "gerrit.automotivelinux.org/gerrit/src/xds/xds-common.git/golib"
        "github.com/Sirupsen/logrus"
-       common "github.com/iotbzh/xds-common/golib"
        uuid "github.com/satori/go.uuid"
        "github.com/urfave/cli"
 )
@@ -91,6 +91,12 @@ func Init(ctx *cli.Context, log *logrus.Logger) (*Config, error) {
                        SThgConf: &SyncThingConf{
                                Home: defaultSTHomeDir,
                        },
+                       ProfileConf: ProfileConfT{
+                               XDSBinder: XDSBinderConf{
+                                       URL:       "http://localhost:8810",
+                                       ConnRetry: 10,
+                               },
+                       },
                },
                Log: log,
        }