<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: REST API's  display in RSdoc of Controller in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712344#M1711</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Concerning the Curl command you provided:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CMD=($ curl -sk -H "X-Auth-Token:31f90410e68347a4810ad80f295f7aae" _https://x.x.x.x:8443/sdn/v1.0/routers)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the "_" in front of the &lt;A target="_blank" href="https://x.x.x.x:8443/sdn/v1.0/routers"&gt;https://x.x.x.x:8443/sdn/v1.0/routers&lt;/A&gt; an typo?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why are you using V1.0?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Antoino&lt;/P&gt;&lt;P&gt;SDN CoE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Feb 2015 11:15:37 GMT</pubDate>
    <dc:creator>piricchio72</dc:creator>
    <dc:date>2015-02-24T11:15:37Z</dc:date>
    <item>
      <title>REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711301#M1705</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created internal application with REST API's and i'm able to upload and deploy successfully ,but i'm not able to see the REST API's created&amp;nbsp; in RSdoc of controller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm accessing RSdoc is&amp;nbsp; using&amp;nbsp; this link&amp;nbsp;&lt;A target="_blank" href="https://172.20.58.132:8443/api."&gt;https://172.20.58.132:8443/api.&lt;/A&gt; Please help me in resolving this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2015 15:54:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711301#M1705</guid>
      <dc:creator>SatishK</dc:creator>
      <dc:date>2015-02-20T15:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711829#M1706</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm also facing the same problem and in my case application is getting deployed , But i'm not able see my application name in RSdoc page accessed using&amp;nbsp;&lt;A target="_blank" href="https://172.20.58.132:8443/api/"&gt;https://x.x.x.x:8443/api/&lt;/A&gt; which inturn resulting in non exposure of REST API's. I have&amp;nbsp; attached a screen shot where my app name is not getting listed as shown.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I'm using a HP Proliant G7 server with 60 days trial version of controller. 60 days had been finished and so i'm doubting regarding the controller i have installed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So please help me in resolving this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 09:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711829#M1706</guid>
      <dc:creator>Chethan_R</dc:creator>
      <dc:date>2015-02-23T09:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711885#M1707</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Few questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) is the application listed as ACTIVE from the controller GUI?&lt;/P&gt;&lt;P&gt;2) Did you restart the controller after deploying the app?&lt;/P&gt;&lt;P&gt;3) did you reload RsDoc page after deploying the application?&lt;/P&gt;&lt;P&gt;4) Did you try to authenticate in RsDoc before trying to access the application?&lt;/P&gt;&lt;P&gt;5) Can you eventually provide the application for further tests?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;P&gt;ADN Team&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 12:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711885#M1707</guid>
      <dc:creator>piricchio72</dc:creator>
      <dc:date>2015-02-23T12:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711980#M1708</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for ur reply. As you asked, The controller is&amp;nbsp; showing&amp;nbsp; active in GUI and performed all the next three steps but still i'm not able to see REST API's created. As the application is in development phase, I have just implemented REST API's with fake implementations. I have followed every step of controller programming guide in creation of REST API's . Even I'm not able&amp;nbsp; to access REST API's using &amp;nbsp; Curl commands. So please help me resolving this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6711980#M1708</guid>
      <dc:creator>Chethan_R</dc:creator>
      <dc:date>2015-02-23T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712011#M1709</link>
      <description>&lt;P align="left"&gt;Hello,&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;following the Programming Guide 2.4 (page 83):&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;The tool offered by the HP VAN SDN Controller SDK that generates the RSdoc takes the&lt;/P&gt;&lt;P align="left"&gt;Javadoc to generate the REST API documentation. Therefore, it is mandatory to write Javadoc for&lt;/P&gt;&lt;P align="left"&gt;the REST APIs (In general, production code classes should be properly documented). If a REST API&lt;/P&gt;&lt;P&gt;method does not contain Javadoc, the entire REST API will not be included in the RSdoc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you write the javadoc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;P&gt;SDN CoE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 16:33:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712011#M1709</guid>
      <dc:creator>piricchio72</dc:creator>
      <dc:date>2015-02-23T16:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712231#M1710</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Actually i'm not able to access the REST API's created even using CURL commands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My application is deployed successfully and even showing active state .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The CURL command&amp;nbsp; used to access my REST is shown below and i'm getting this error response when below cmnd is executed and my REST API's path is "routers" as shown in command .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So why i'm not able to access my REST API's even using CURL commands. Please&amp;nbsp; help me in resolving.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CMD=($ curl -sk -H "X-Auth-Token:31f90410e68347a4810ad80f295f7aae" _https://x.x.x.x:8443/sdn/v1.0/routers)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Response=(&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Apache Tomcat/7.0.35 - Error report&amp;lt;/title&amp;gt;&amp;lt;style&amp;gt;&amp;lt;!--H1 {font-family:Tahoma,Arial,&lt;BR /&gt;sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-&lt;BR /&gt;serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;&lt;BR /&gt;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:&lt;BR /&gt;black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}&lt;BR /&gt;P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}&lt;BR /&gt;A.name {color : black;}HR {color : #525D76;}--&amp;gt;&amp;lt;/style&amp;gt; &amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;HTTP Status 404 - Not Found&amp;lt;/h1&amp;gt;&amp;lt;HR&lt;BR /&gt;size="1" noshade="noshade"&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; Status report&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;Not Found&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;The requested resource is not available.&lt;BR /&gt;&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;HR size="1" noshade="noshade"&amp;gt;&amp;lt;h3&amp;gt;Apache Tomcat/7.0.35&amp;lt;/h3&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 07:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712231#M1710</guid>
      <dc:creator>Chethan_R</dc:creator>
      <dc:date>2015-02-24T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712344#M1711</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Concerning the Curl command you provided:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CMD=($ curl -sk -H "X-Auth-Token:31f90410e68347a4810ad80f295f7aae" _https://x.x.x.x:8443/sdn/v1.0/routers)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the "_" in front of the &lt;A target="_blank" href="https://x.x.x.x:8443/sdn/v1.0/routers"&gt;https://x.x.x.x:8443/sdn/v1.0/routers&lt;/A&gt; an typo?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why are you using V1.0?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Antoino&lt;/P&gt;&lt;P&gt;SDN CoE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 11:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712344#M1711</guid>
      <dc:creator>piricchio72</dc:creator>
      <dc:date>2015-02-24T11:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712361#M1712</link>
      <description>&lt;P&gt;Hi SDN CoE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Swift reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes its a typo mistake, there is no "_" before http.&lt;/P&gt;&lt;P&gt;The below curl command is working fine,&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -sk -H "X-Auth-Token:9a3939a6949a45efaeb6b6860292886f" &lt;A target="_blank" href="https://172.20.58.132:8443/sdn/v2.0/systems"&gt;https://172.20.58.132:8443/sdn/v2.0/systems&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but same is not working with routers, (my rest API)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using v1.0 as it I have provied the version number 1.0 in pom files as below&lt;/P&gt;&lt;P&gt;&amp;lt;api.version&amp;gt;1.0&amp;lt;/api.version&amp;gt; (its in rs dir).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So can you please let know what might be the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 11:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712361#M1712</guid>
      <dc:creator>Chethan_R</dc:creator>
      <dc:date>2015-02-24T11:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712376#M1713</link>
      <description>&lt;P&gt;I suppose the problem is with your javadoc. Note: It's important write your javadoc correctly. Eg: if the method has two arguments, you need to declare two @params inside the javadoc. The same is valid with return value and exceptions.&lt;BR /&gt;Could you send your method signature and your respective javadoc?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This sample works for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;* My method description here.&lt;BR /&gt;* &amp;lt;p/&amp;gt;&lt;BR /&gt;* Normal Response Code(s): ok (200)&lt;BR /&gt;* &amp;lt;p/&amp;gt;&lt;BR /&gt;* Error Response Codes: badRequest (400), unauthorized (401), forbidden&lt;BR /&gt;* (403), badMethod (405), serviceUnavailable (503), itemNotFound (404)&lt;BR /&gt;*&lt;BR /&gt;* @param myParam&lt;BR /&gt;* JSON representation of my object&lt;BR /&gt;* @return JSON object&lt;BR /&gt;* @throws JSONException&lt;BR /&gt;*/&lt;BR /&gt;@POST&lt;BR /&gt;@Path("somePathHere")&lt;BR /&gt;@Produces(MediaType.APPLICATION_JSON)&lt;BR /&gt;public Response myMethod(MyObject myParam)&lt;BR /&gt;throws JSONException {&lt;BR /&gt;&lt;BR /&gt;return createResponseMessage("Success.");&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 12:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712376#M1713</guid>
      <dc:creator>VandewillySilva</dc:creator>
      <dc:date>2015-02-24T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712406#M1714</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like I have followed similarly,&lt;/P&gt;&lt;P&gt;Please find my code below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080"&gt;@Path("routers")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;public class CurrentResources extends ControllerResource&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@GET&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;@Produces(MediaType.APPLICATION_JSON)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public Response list() {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;NetworkService service = get(NetworkService.class); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;List&amp;lt;Router&amp;gt; routers = service.getal();&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; JsonService jsonService = get(JsonService.class);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String json = jsonService.toJsonList(routers, Router.class, true);&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ok(json).build();&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Note : I have mentioned @Path("routers") only at this place, Do I need to mention path value anywheare else apart from this or only this is fine.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 13:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712406#M1714</guid>
      <dc:creator>Chethan_R</dc:creator>
      <dc:date>2015-02-24T13:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712407#M1715</link>
      <description>&lt;P&gt;Where is the javadoc? RSdoc takes the Javadoc to generate the REST API documentation.&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;* Some important description here.&lt;BR /&gt;* &amp;lt;p/&amp;gt;&lt;BR /&gt;* Normal Response Code(s): ok (204)&lt;BR /&gt;* &amp;lt;p/&amp;gt;&lt;BR /&gt;* Error Response Codes: unauthorized (401), forbidden (403), badMethod&lt;BR /&gt;* (405), serviceUnavailable (503)&lt;BR /&gt;*&lt;BR /&gt;* @return Response the description for your method here&lt;BR /&gt;*/&lt;BR /&gt;@GET&lt;BR /&gt;@Produces(MediaType.APPLICATION_JSON)&lt;BR /&gt;public Response list() {&lt;BR /&gt;NetworkService service = get(NetworkService.class);&lt;BR /&gt;List&amp;lt;Router&amp;gt; routers = service.getal();&lt;/P&gt;&lt;P&gt;JsonService jsonService = get(JsonService.class);&lt;BR /&gt;String json = jsonService.toJsonList(routers, Router.class, true);&lt;/P&gt;&lt;P&gt;return ok(json).build();&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2015 14:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712407#M1715</guid>
      <dc:creator>VandewillySilva</dc:creator>
      <dc:date>2015-02-24T14:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: REST API's  display in RSdoc of Controller</title>
      <link>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712870#M1716</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reply. I got my rest API working and the problem was with my curl command in which i missed my application name in command. The CMD is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $ curl -sk -H "X-Auth-Token:577e4322e7a84d5f94f8a89696dd799a" &lt;A target="_blank" href="https://x.x.x.x:8443/sdn/"&gt;https://x.x.x.x:8443/sdn/&lt;/A&gt;&lt;FONT color="#FF0000"&gt;dr&lt;/FONT&gt;/v1.0/routers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In above command i added my app name "&lt;FONT color="#FF0000"&gt;dr&lt;/FONT&gt;" and it's working fine. Now My rest Api's are exposed and it is resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But now i'm getting error&amp;nbsp; response from my REST API. Below is the error response &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;CMD&lt;/FONT&gt; = $ curl -sk -H "X-Auth-Token:225bea05343847ba9e185ae8a88b26b7" &lt;A target="_blank" href="https://x.x.x.x:8443/sdn/dr/v1.0/routers"&gt;https://x.x.x.x:8443/sdn/dr/v1.0/routers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Response&lt;/FONT&gt; = &amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;Apache Tomcat/7.0.35 - Error report&amp;lt;/title&amp;gt;&amp;lt;style&amp;gt;&amp;lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--&amp;gt;&amp;lt;/style&amp;gt; &amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h1&amp;gt;HTTP Status 500 - &amp;lt;/h1&amp;gt;&amp;lt;HR size="1" noshade="noshade"&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; Exception report&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;The server encountered an internal error that prevented it from fulfilling this request.&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;exception&amp;lt;/b&amp;gt; &amp;lt;pre&amp;gt;java.lang.NullPointerException&lt;BR /&gt;com.mp.dr.rs.CurrentResources.List(CurrentResources.java:38)&lt;BR /&gt;sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;BR /&gt;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;java.lang.reflect.Method.invoke(Method.java:606)&lt;BR /&gt;com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;BR /&gt;com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)&lt;BR /&gt;com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;BR /&gt;com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;BR /&gt;com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)&lt;BR /&gt;com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;BR /&gt;com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;BR /&gt;com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)&lt;BR /&gt;com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)&lt;BR /&gt;com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)&lt;BR /&gt;com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)&lt;BR /&gt;com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)&lt;BR /&gt;com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)&lt;BR /&gt;com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)&lt;BR /&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:848)&lt;BR /&gt;com.hp.util.rs.auth.AbstractTokenAuthFilter.doFilter(AbstractTokenAuthFilter.java:106)&lt;BR /&gt;&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;note&amp;lt;/b&amp;gt; &amp;lt;u&amp;gt;The full stack trace of the root cause is available in the Apache Tomcat/7.0.35 logs.&amp;lt;/u&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;HR size="1" noshade="noshade"&amp;gt;&amp;lt;h3&amp;gt;Apache Tomcat/7.0.35&amp;lt;/h3&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me in resolving this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou in advance&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2015 12:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/rest-api-s-display-in-rsdoc-of-controller/m-p/6712870#M1716</guid>
      <dc:creator>Chethan_R</dc:creator>
      <dc:date>2015-02-25T12:09:50Z</dc:date>
    </item>
  </channel>
</rss>

