You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Kris Popat (Created) (JIRA)" <ji...@apache.org> on 2012/03/06 13:00:58 UTC

[jira] [Created] (WOOKIE-326) Extend the Java Connector

Extend the Java Connector
-------------------------

                 Key: WOOKIE-326
                 URL: https://issues.apache.org/jira/browse/WOOKIE-326
             Project: Wookie
          Issue Type: Improvement
          Components: Connection Framework
    Affects Versions: 0.10.0
            Reporter: Kris Popat
            Assignee: Kris Popat
             Fix For: 0.10.0


Extend the Java Connector to cover the full REST API and changes in 0.10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WOOKIE-326) Extend the Java Connector

Posted by "Kris Popat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271253#comment-13271253 ] 

Kris Popat commented on WOOKIE-326:
-----------------------------------

Added widget handling: post, update, delete, get single widget and get widget file.  I think all parts of the REST API are covered apart from flatpack which we weren't going to cover here.
                
> Extend the Java Connector
> -------------------------
>
>                 Key: WOOKIE-326
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-326
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Connection Framework
>    Affects Versions: 0.10.0
>            Reporter: Kris Popat
>            Assignee: Kris Popat
>             Fix For: 0.10.0
>
>
> Extend the Java Connector to cover the full REST API and changes in 0.10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WOOKIE-326) Extend the Java Connector

Posted by "Kris Popat (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231241#comment-13231241 ] 

Kris Popat commented on WOOKIE-326:
-----------------------------------

Am working through adding the complete REST API to the Java connector.

I am having an problem with PUT requests though.  

For some reason the api_key is coming up as blank in the AuthorizationFilter and it's returning forbidden.  It seems to work fine with GET and POST

My test is failing before it gets to DELETE so I haven't checked this yet.

Any ideas?
                
> Extend the Java Connector
> -------------------------
>
>                 Key: WOOKIE-326
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-326
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Connection Framework
>    Affects Versions: 0.10.0
>            Reporter: Kris Popat
>            Assignee: Kris Popat
>             Fix For: 0.10.0
>
>
> Extend the Java Connector to cover the full REST API and changes in 0.10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WOOKIE-326) Extend the Java Connector

Posted by "Scott Wilson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231252#comment-13231252 ] 

Scott Wilson commented on WOOKIE-326:
-------------------------------------

Some containers have issues with including parameters in the URL with a PUT - you probably have to set parameters in the request body, e.g. form-encoded.
                
> Extend the Java Connector
> -------------------------
>
>                 Key: WOOKIE-326
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-326
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Connection Framework
>    Affects Versions: 0.10.0
>            Reporter: Kris Popat
>            Assignee: Kris Popat
>             Fix For: 0.10.0
>
>
> Extend the Java Connector to cover the full REST API and changes in 0.10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WOOKIE-326) Extend the Java Connector

Posted by "Kris Popat (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225099#comment-13225099 ] 

Kris Popat commented on WOOKIE-326:
-----------------------------------

The Java Connector now covers the widgets/xml changes.

Additional support for the other parts of the REST API are required still.
                
> Extend the Java Connector
> -------------------------
>
>                 Key: WOOKIE-326
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-326
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Connection Framework
>    Affects Versions: 0.10.0
>            Reporter: Kris Popat
>            Assignee: Kris Popat
>             Fix For: 0.10.0
>
>
> Extend the Java Connector to cover the full REST API and changes in 0.10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WOOKIE-326) Extend the Java Connector

Posted by "Kris Popat (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WOOKIE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231266#comment-13231266 ] 

Kris Popat commented on WOOKIE-326:
-----------------------------------

Currently looks like this

			url = new URL(conn.getURL() + "/properties");
			HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();
			urlConn.setRequestMethod("PUT");
			urlConn.setDoOutput(true);
			
			OutputStreamWriter out = new OutputStreamWriter(urlConn.getOutputStream());
			out.write(putString);
			out.close();	

I'll try adding the form encoded connection parameter, see if that works.  Thanks
                
> Extend the Java Connector
> -------------------------
>
>                 Key: WOOKIE-326
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-326
>             Project: Wookie
>          Issue Type: Improvement
>          Components: Connection Framework
>    Affects Versions: 0.10.0
>            Reporter: Kris Popat
>            Assignee: Kris Popat
>             Fix For: 0.10.0
>
>
> Extend the Java Connector to cover the full REST API and changes in 0.10.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira