maheshwarirohit87 / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

Path to service #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. connect to another service URL than https://ec2.amazonaws.com, e.g.
http://mayhem9.cs.ucsb.edu:8773/services/Eucalyptus

The problem here is that Typica only allows specifying protocol, port and
host, not path.

Original issue reported on code.google.com by Frederik...@gmail.com on 10 Oct 2008 at 9:02

GoogleCodeExporter commented 9 years ago
For what it's worth, I've hacked up a version of typica that interfaces with
Eucalyptus.  Let me know if you are interested.

Original comment by say...@gmail.com on 26 Oct 2008 at 4:35

GoogleCodeExporter commented 9 years ago
Thanks, I'm very interested. I got it working with Amazon's SOAP library, but 
much
prefer to use only Typica.

Original comment by Frederik...@gmail.com on 26 Oct 2008 at 5:49

GoogleCodeExporter commented 9 years ago
Gents, There is a method in AWSConnection called makeURL(String resource) that 
can be
overridden by sub classes. I do this for the SQS implementation. To do what you 
are
asking, I'd want to have a property that is used by makeURL to construct the 
URL (or
to totally override the makeURL functionality.
If I were to have an "setURLOverride" feature in the baseclass, that would 
work. I'd
have to factor that in in the SQS code makeURL call.

Original comment by dkavan...@gmail.com on 5 Nov 2008 at 4:12

GoogleCodeExporter commented 9 years ago
Basically i think we need a context property that adds a context in between the 
host
name and the resource.

Like this guy is doing but with a property instead.

http://waheediqbal.wordpress.com/hack-typica-to-work-with-eucalyptus-14/

Original comment by jesper.t...@gmail.com on 16 May 2009 at 7:38

GoogleCodeExporter commented 9 years ago
Here is a patch for setting a context on AWSConnection (used in makrURL() after 
the
hostname)
There is also added the setters and getter to set the timezone in 
AWSQueryConnection
as which is needed by eucaluptus instances running on other than GMT timezones.

Original comment by jesper.t...@gmail.com on 19 May 2009 at 10:09

Attachments:

GoogleCodeExporter commented 9 years ago
Say, I added eucalyptus support in typica 1.6. There was a forum post about the 
details. That should have solved 
this issue.

Original comment by dkavan...@gmail.com on 13 Oct 2009 at 12:29