MrtnBalazs opened a new pull request, #688:
URL: https://github.com/apache/knox/pull/688

   ## What changes were proposed in this pull request?
   
   The following dependencies were upgraded:
   - hadoop: `3.2.3` -> `3.2.4`
   - jetty: `9.4.45.v20220203` -> `9.4.48.v20220622`
   - postgresql: `42.3.3` -> `42.4.1`
   - woodstox: `6.1.1` -> `6.4.0`
   - shiro: `1.8.0` -> `1.10.0`
   
   ## How was this patch tested?
   
   I have configured `postgresql` for jdbc token state service.
   I have created test topology on admin ui:
   ```
   <topology>
      <uri>https://localhost:8443/gateway/test</uri>
      <name>test</name>
      <timestamp>1669992953127</timestamp>
      <generated>true</generated>
      <redeployTime>0</redeployTime>
      <gateway>
         <provider>
            <role>federation</role>
            <name>JWTProvider</name>
            <enabled>true</enabled>
            <param>
               <name>knox.token.exp.server-managed</name>
               <value>true</value>
            </param>
         </provider>
      </gateway>
      <service>
         <role>HIVE</role>
         <url>http://www.blankwebsite.com/</url>
      </service>
   </topology>
   ```
   Generated normal and impersonated token.
   Tested both of them with curl request, disabled/enabled, revoked them.
   
   I have also done some manual testing using the knox ui  pages:
   
   Token-management:
   * generated normal token
   * generated impersonated token
   * disabled impersonation
   * set server-managed to false
   * disabled and revoked the created tokens
   
   Token-generation:
   * set server-managed to true and false
   * set impersonation to true and false
   * set lifespan.input.enabled to true and false
   * tried to generate token over the max lifespan limit
   * generated tokens until reached token limit
   * authenticated with a generated token
   
   Homepage:
   * Tried the links
   * Mouse on service name -> description shows up
   * When UI services are clicked they navigate to UI URL
   * When API services are clicked description shows up
   * Dropdown menus open and close
   * New topologies appear under the topologies menu
   
   Admin-ui:
   * Created, deleted, modified service definitions
   * Created, deleted, modified provider configuration
   * Created, deleted, modified descriptor
   * Copied, deleted, modified topology
   
   WebShell-UI:
   * Configured webshell and link appeared on homepage
   * Signed in to knox with the user tom (who is a user on my local computer) 
and was able to connect to my computer


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to