+32
-17
@@ -189,7 +189,7 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.StringFlag{
|
||||
Name: "frontend-url",
|
||||
Value: "https://localhost:9200",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the frontend service",
|
||||
EnvVars: []string{"REVA_FRONTEND_URL"},
|
||||
Destination: &cfg.Reva.Frontend.URL,
|
||||
},
|
||||
@@ -203,28 +203,28 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.StringFlag{
|
||||
Name: "users-url",
|
||||
Value: "localhost:9144",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the users service",
|
||||
EnvVars: []string{"REVA_USERS_URL"},
|
||||
Destination: &cfg.Reva.Users.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "auth-basic-url",
|
||||
Value: "localhost:9146",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the auth basic service",
|
||||
EnvVars: []string{"REVA_AUTH_BASIC_URL"},
|
||||
Destination: &cfg.Reva.AuthBasic.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "auth-bearer-url",
|
||||
Value: "localhost:9148",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the auth bearer service",
|
||||
EnvVars: []string{"REVA_AUTH_BEARER_URL"},
|
||||
Destination: &cfg.Reva.AuthBearer.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "sharing-url",
|
||||
Value: "localhost:9150",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the sharing service",
|
||||
EnvVars: []string{"REVA_SHARING_URL"},
|
||||
Destination: &cfg.Reva.Sharing.URL,
|
||||
},
|
||||
@@ -232,21 +232,21 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.StringFlag{
|
||||
Name: "storage-root-url",
|
||||
Value: "localhost:9152",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the root storage service",
|
||||
EnvVars: []string{"REVA_STORAGE_ROOT_URL"},
|
||||
Destination: &cfg.Reva.StorageRoot.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-root-mount-path",
|
||||
Value: "/",
|
||||
Usage: "mount path",
|
||||
Usage: "root storage mount path",
|
||||
EnvVars: []string{"REVA_STORAGE_ROOT_MOUNT_PATH"},
|
||||
Destination: &cfg.Reva.StorageRoot.MountPath,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-root-mount-id",
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009152",
|
||||
Usage: "mount id",
|
||||
Usage: "root storage mount id",
|
||||
EnvVars: []string{"REVA_STORAGE_ROOT_MOUNT_ID"},
|
||||
Destination: &cfg.Reva.StorageRoot.MountID,
|
||||
},
|
||||
@@ -254,14 +254,14 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.StringFlag{
|
||||
Name: "storage-home-url",
|
||||
Value: "localhost:9154",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the home storage service",
|
||||
EnvVars: []string{"REVA_STORAGE_HOME_URL"},
|
||||
Destination: &cfg.Reva.StorageHome.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-home-mount-path",
|
||||
Value: "/home",
|
||||
Usage: "mount path",
|
||||
Usage: "home storage mount path",
|
||||
EnvVars: []string{"REVA_STORAGE_HOME_MOUNT_PATH"},
|
||||
Destination: &cfg.Reva.StorageHome.MountPath,
|
||||
},
|
||||
@@ -270,21 +270,21 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.StringFlag{
|
||||
Name: "storage-eos-url",
|
||||
Value: "localhost:9158",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the eos storage service",
|
||||
EnvVars: []string{"REVA_STORAGE_EOS_URL"},
|
||||
Destination: &cfg.Reva.StorageEOS.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-eos-mount-path",
|
||||
Value: "/eos",
|
||||
Usage: "mount path",
|
||||
Usage: "eos storage mount path",
|
||||
EnvVars: []string{"REVA_STORAGE_EOS_MOUNT_PATH"},
|
||||
Destination: &cfg.Reva.StorageEOS.MountPath,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-eos-mount-id",
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009158",
|
||||
Usage: "mount id",
|
||||
Usage: "eos storage mount id",
|
||||
EnvVars: []string{"REVA_STORAGE_EOS_MOUNT_ID"},
|
||||
Destination: &cfg.Reva.StorageEOS.MountID,
|
||||
},
|
||||
@@ -292,30 +292,45 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
&cli.StringFlag{
|
||||
Name: "storage-oc-url",
|
||||
Value: "localhost:9162",
|
||||
Usage: "URL to use for the reva service",
|
||||
Usage: "URL to use for the oc storage service",
|
||||
EnvVars: []string{"REVA_STORAGE_OC_URL"},
|
||||
Destination: &cfg.Reva.StorageOC.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-oc-mount-path",
|
||||
Value: "/oc",
|
||||
Usage: "mount path",
|
||||
Usage: "oc storage mount path",
|
||||
EnvVars: []string{"REVA_STORAGE_OC_MOUNT_PATH"},
|
||||
Destination: &cfg.Reva.StorageOC.MountPath,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "storage-oc-mount-id",
|
||||
Value: "1284d238-aa92-42ce-bdc4-0b0000009162",
|
||||
Usage: "mount id",
|
||||
Usage: "oc storage mount id",
|
||||
EnvVars: []string{"REVA_STORAGE_OC_MOUNT_ID"},
|
||||
Destination: &cfg.Reva.StorageOC.MountID,
|
||||
},
|
||||
|
||||
&cli.StringFlag{
|
||||
Name: "public-links-url",
|
||||
Value: "localhost:10054",
|
||||
Value: "localhost:9170",
|
||||
Usage: "URL to use for the public links service",
|
||||
EnvVars: []string{"REVA_STORAGE_PUBLIC_LINK_URL"},
|
||||
Destination: &cfg.Reva.StoragePublicLink.URL,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "public-links-mount-path",
|
||||
Value: "/public/",
|
||||
Usage: "public links storage mount path",
|
||||
EnvVars: []string{"REVA_STORAGE_PUBLIC_LINK_MOUNT_PATH"},
|
||||
Destination: &cfg.Reva.StoragePublicLink.MountPath,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "public-links-mount-id",
|
||||
Value: "e1a73ede-549b-4226-abdf-40e69ca8230d",
|
||||
Usage: "public links storage mount id",
|
||||
EnvVars: []string{"REVA_STORAGE_PUBLIC_LINK_MOUNT_ID"},
|
||||
Destination: &cfg.Reva.StoragePublicLink.MountID,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user