[AAA-231] Resources not found with web-osgi-impl Created: 24/Aug/22  Updated: 16/Sep/22  Resolved: 13/Sep/22

Status: Resolved
Project: aaa
Component/s: General
Affects Version/s: 0.16.0, 0.16.1
Fix Version/s: 0.16.2

Type: Bug Priority: Medium
Reporter: Ivan Hrasko Assignee: Ivan Martiniak
Resolution: Done Votes: 0
Labels: pt, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot_2022-08-25_15-14-49.png    
Issue Links:
Issue split
split to AAA-230 web-impl-osgi mis-represents servlet ... Resolved

 Description   

After berman-02 removal it's no more possible to access swagger UI at:

http://localhost:8181/apidoc/explorer/index.html

nor

http://localhost:8181/apidoc/18/explorer/index.html

On both sites we get HTTP ERROR 404 Not Found.



 Comments   
Comment by Ivan Hrasko [ 24/Aug/22 ]

http://localhost:8181/apidoc/18/explorer/index.html is not available on Sulfur SR1, too.

Comment by Ivan Hrasko [ 25/Aug/22 ]

IMO: probably different WebInitializers dont play together well.

Comment by Ivan Hrasko [ 26/Aug/22 ]

Possible problems: auth redirect, support sessions, missing resources "explorer/index.html".

Comment by Ivan Hrasko [ 26/Aug/22 ]

In Lighty.io using NETCONF 4.0.1 swagger UI works - with no credentials.

Comment by Ivan Martiniak [ 12/Sep/22 ]

Eventually, bierman removal was not an issue. The original reason was change of web server implementation, from pax-web to whiteboard, and its inconsistencies. The description with further details is in patch #102350.

Comment by Robert Varga [ 12/Sep/22 ]

So there are two issues

  • path mapping for HTTP Whiteboard, tracked by AAA-230
  • /explorer path specification, tracked by this issue
Comment by Robert Varga [ 13/Sep/22 ]

So the semantics for resource alias/name is coming from  OSGi HTTP Service specification. The OSGi implementation needs to take this into account and use alias for patterns (updated appropriately).

Generated at Wed Feb 07 19:08:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.