Commit 89d30927 authored by Tristan Cavelier's avatar Tristan Cavelier

Retrait du parametre 'url' de la configuration du connecteur S3

parent acec7de4
...@@ -15,8 +15,6 @@ jIO.addStorageType("s3", function (spec, my) { ...@@ -15,8 +15,6 @@ jIO.addStorageType("s3", function (spec, my) {
priv.AWSIdentifier = spec.AWSIdentifier || ''; priv.AWSIdentifier = spec.AWSIdentifier || '';
priv.password = spec.password || ''; priv.password = spec.password || '';
priv.server = spec.server || ''; /*|| jiobucket ||*/ priv.server = spec.server || ''; /*|| jiobucket ||*/
priv.url = spec.url || ''; /*||> https://s3-eu-west-1.amazonaws.com <||*/
priv.acl = spec.acl || ''; priv.acl = spec.acl || '';
/*||> "private, /*||> "private,
...@@ -194,7 +192,6 @@ jIO.addStorageType("s3", function (spec, my) { ...@@ -194,7 +192,6 @@ jIO.addStorageType("s3", function (spec, my) {
return { return {
"username": priv.username, "username": priv.username,
"password": priv.password, "password": priv.password,
"url": priv.url,
"server": priv.server, "server": priv.server,
"acl": priv.acl "acl": priv.acl
}; };
...@@ -210,9 +207,6 @@ jIO.addStorageType("s3", function (spec, my) { ...@@ -210,9 +207,6 @@ jIO.addStorageType("s3", function (spec, my) {
if (typeof priv.password === "string" && priv.password === '') { if (typeof priv.password === "string" && priv.password === '') {
return 'Need at least one parameter "password".'; return 'Need at least one parameter "password".';
} }
//if (typeof priv.url === "string" && priv.url === '') {
//return 'Need at least one parameter "url".';
//}
if (typeof priv.server === "string" && priv.server === '') { if (typeof priv.server === "string" && priv.server === '') {
return 'Need at least one parameter "server".'; return 'Need at least one parameter "server".';
} }
...@@ -957,7 +951,6 @@ jIO.addStorageType("s3", function (spec, my) { ...@@ -957,7 +951,6 @@ jIO.addStorageType("s3", function (spec, my) {
+ priv.AWSIdentifier + priv.AWSIdentifier
+ ":" + ":"
+ Signature, + Signature,
//'Host' : priv.url,
'x-amz-date' : requestUTC, 'x-amz-date' : requestUTC,
'Content-Type' : 'application/json' 'Content-Type' : 'application/json'
//'Content-MD5' : '' //'Content-MD5' : ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment