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

   ## What changes were proposed in this pull request?
   
   Testing uncovered some API samples in the existing service definition files 
that needed to be fixed.
   
   Additionally, a general improvement is implemented that adds the missing 
slash at the beginning of the path element if it was missing from the service 
definition sample.
   
   ## How was this patch tested?
   
   Added unit tests and confirmed that API samples are actually changed on the 
UI:
   <img width="886" alt="Screenshot 2023-10-31 at 10 26 44" 
src="https://github.com/apache/knox/assets/34065904/1cc6f3fc-e379-42b1-b518-b29f5262bff0";>
   <img width="890" alt="Screenshot 2023-10-31 at 10 27 09" 
src="https://github.com/apache/knox/assets/34065904/cdfb7433-7659-4237-b1a4-59c1241add52";>
   <img width="891" alt="Screenshot 2023-10-31 at 10 27 21" 
src="https://github.com/apache/knox/assets/34065904/ae0385b2-c497-4759-b0f6-8dc12a31dcda";>
   To see the new-style API service dialog it's essential that you set the 
following property in `gateway-site.xml`:
   ```
       <property>
           <name>knox.homepage.api.services.view.version</name>
           <value>v2</value>
       </property>
   ```


-- 
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