Uploaded image for project: 'ZZZ-WSO2 App Manager'
  1. ZZZ-WSO2 App Manager
  2. APPM-1199

Not possible to retrieve App details using store APIs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      All datasources pointed to MySQL
      wso2appm-1.1.0-SNAPSHOT-18-12-2015
      JDK 1.7
      Ubuntu 13.04

    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      It is not possible to retrieve App details by invoking the following API as [er [1].

      http://localhost:9763/store/apis/v1/assets/

      {app-type}

      /

      {provider-name}

      /

      {app-name}

      /

      {app-version}

      Instead an html page is retrieved

      [1] https://docs.wso2.com/display/APPM100/Store+APIs

      kaushie@kaushie-ThinkPad-T530:~$ curl -k -X GET "http://localhost:9766/store/apis/v1/assets/webapp/admin123/aaa/1.0.0" --user admin123:admin123
      curl: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
      curl: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
      <!DOCTYPE html>
      <html>
      <head>
      <style type="text/css">
      .background{
      	background-color: #999;
      	margin: 0px;
      }
      
      
      .header-back {
          background: url("/store/extensions/assets/webapp/themes/store/img/repeat.jpg") repeat-x scroll left top transparent;
          height: 85px;
      }
      
      .logo {
          height: 27px;
          width: 171px;
          padding-left: 200px;
          padding-top: 30px;
      }
      
      .main-login-container {
          background-color: #ccc;
          box-shadow: 7px 7px 5px 0 rgba(50, 50, 50, 0.75);
          margin-bottom: 20px;
          margin-right: auto;
          margin-left: auto;
          margin-top: 20px;
          height: 300px;
          width: 1000px;
          padding: 20px;
      }
      
      </style>
       <link rel="stylesheet" type="text/css" href="styles.css">
       
       <script type="text/javascript">
      
       function onButtonLogoutClick(){
      	 window.location.assign("/store/logout");
       }
      
       </script>
       
      </head>
      <body class="background">
      
      <div class="header-back">
      		<div class="logo">
      			<img src="/store/extensions/assets/webapp/themes/store/img/appm_logo.png">
      		</div>
      </div>
      
      <div class="main-login-container">
      	<button style="float:right" onclick="onButtonLogoutClick()">Logout</button>
      	<h2>No Privileges to access this tenant domain</h2>
      	<div class="message">You do not have permission to login to this particular tenant domain.Please register.</div>
      </div>
      
      
      </body>
      </html>
      
      

        Attachments

          Activity

            People

            • Assignee:
              dinusha@wso2.com Dinusha Dilrukshi
              Reporter:
              asanthi@wso2.com Asanthi Kulasinghe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: