[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-05-18 Thread zreal (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16016788#comment-16016788
 ] 

zreal commented on JCLOUDS-1258:


when I change the 
org.jclouds.rest.internal.RestAnnotationProcessor.addHostIfMissing method as 
follow:
 @VisibleForTesting
   static URI addHostIfMissing(URI original, URI withHost) {
  checkNotNull(withHost, "URI withHost cannot be null");
  checkArgument(withHost.getHost() != null, "URI withHost must have host:" 
+ withHost);
  if (original == null)
 return null;
  //if (original.getHost() != null)
  //   return original;
  if (original.getHost() != null) {
/*
 * zreal 04-18-2017 change original's host, and make it 
be
 * s3.cn-north-1.amazonaws.com.cn
 */
original = Uris.uriBuilder(original)

.host("s3.cn-north-1.amazonaws.com.cn").build();
return original;
  }
  return withHost.resolve(original);
   }

The blobStore.createContainerInLocation(locationCN, "test0518") will be 
executed correcthly.

> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-blobstore, jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
> Fix For: 2.1.0, 2.0.2
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-05-18 Thread zreal (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16016769#comment-16016769
 ] 

zreal commented on JCLOUDS-1258:


Hi, Michelle Zhang.
when I create a bucket using blobStore.createContainerInLocation(locationCN, 
"test0518"), the host is "test0518.s3.amazonaws.com" , so as same when I change 
the locationCN parameter to null.
But blobStore.containerExists("test1") will be executed correctly, and the host 
is "test1.s3.cn-north-1.amazonaws.com.cn".
Could you please help me fix this bug? And I can offer the aws-s3 access key of 
the cn-north-1 region which you may use to run a test.

> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-blobstore, jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
> Fix For: 2.1.0, 2.0.2
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-03-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15946652#comment-15946652
 ] 

ASF subversion and git services commented on JCLOUDS-1258:
--

Commit 96a1c4427e48cae34117b8f23cf92abad4616b80 in jclouds's branch 
refs/heads/master from [~xiaobazhang]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=96a1c44 ]

JCLOUDS-1217/JCLOUDS-1258: Add Canada, London and China regions to AWS


> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-03-29 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15946655#comment-15946655
 ] 

ASF subversion and git services commented on JCLOUDS-1258:
--

Commit 73875884b58e93a88676ecc20b174db17efd13cd in jclouds's branch 
refs/heads/2.0.x from [~xiaobazhang]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=7387588 ]

JCLOUDS-1217/JCLOUDS-1258: Add Canada, London and China regions to AWS


> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-03-28 Thread zreal (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15946349#comment-15946349
 ] 

zreal commented on JCLOUDS-1258:


Hi, Michelle. I get the codes from github, and how to compile the codes using 
maven? Could you please show me the detail steps to get the jar files?

> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-03-28 Thread Michelle Zhang (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15946292#comment-15946292
 ] 

Michelle Zhang commented on JCLOUDS-1258:
-

Hello,
I already have a pull request for this issue. 
https://github.com/jclouds/jclouds/pull/1081 ptal. Thank you!

> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-03-27 Thread zreal (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15943298#comment-15943298
 ] 

zreal commented on JCLOUDS-1258:


Thank you, Ignasi. I will learn the links you give me.

> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-03-27 Thread Ignasi Barrera (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15943285#comment-15943285
 ] 

Ignasi Barrera commented on JCLOUDS-1258:
-

HI [~zreal]. There is no official date when this will be supported, but it will 
be as soon as possible. If you want to contribute the change, that's the better 
way to make sure that happens in the next release!

You can read how to contribute to the project in our wiki:
https://cwiki.apache.org/confluence/display/JCLOUDS/How+to+Contribute

Regarding the changes required here, they should be pretty straightforward, you 
could take this pull request as an example of the changes required to add a 
region:
https://github.com/jclouds/jclouds/pull/1013

If you're going to add this regions, you could perhaps add too the missing 
Canada and London regions, referenced in JCLOUDS-1217?

> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>  Components: jclouds-compute
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>  Labels: aws-ec2, aws-s3
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (JCLOUDS-1258) S3 China Beijing Region Support

2017-03-27 Thread zreal (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15943265#comment-15943265
 ] 

zreal commented on JCLOUDS-1258:


Hi, I want to know when jclouds will support China beijing region. And if I 
want to resolve this issue, how to do?

> S3 China Beijing Region Support
> ---
>
> Key: JCLOUDS-1258
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1258
> Project: jclouds
>  Issue Type: Improvement
>Affects Versions: 2.0.1
>Reporter: Archana Chinnaiah
>Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)