Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049221 | Modules | Open API | public | 2022-05-05 08:57 | 2023-06-07 14:55 |
|
Reporter | caristu | |
Assigned To | Triage Platform Conn | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0049221: Avoid using context.url property to obtain the server URL in the swagger documentation |
Description | Currently the context.url property is read from the Openbravo.properties file to get the server URL that is required to be set in the swagger documentation to be able to work with the API.
This URL must be obtained in a different way so the documentation can be generated with the correct link out of the box, i.e., without requiring to configurate that value in Openbravo.properties.
|
Steps To Reproduce | . |
Proposed Solution | Replace the retrieval of the context.url[1] with another solution to get the server URL that does not depend on any configuration, i.e., it should be automatic.
[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/blob/master/src/org/openbravo/service/openapi/provider/OpenAPIProcessor.java#L95 [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | defect | 0050320 | | closed | Triage Platform Conn | Modules | Server URL in swagger should be automatically calculated | related to | defect | 0052986 | | closed | caristu | Retail Modules | broken request link when importing through Business API |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-05-05 08:57 | caristu | New Issue | |
2022-05-05 08:57 | caristu | Assigned To | => Triage Platform Conn |
2022-05-05 10:03 | caristu | Description Updated | bug_revision_view_page.php?rev_id=24022#r24022 |
2022-05-05 10:03 | caristu | Proposed Solution updated | |
2022-05-05 10:04 | caristu | Proposed Solution updated | |
2022-05-05 12:32 | shuehner | Issue Monitored: shuehner | |
2023-06-01 16:06 | caristu | Relationship added | has duplicate 0050320 |
2023-06-01 16:27 | martinsdan | Issue Monitored: martinsdan | |
2023-06-05 13:58 | hgbot | Note Added: 0150749 | |
2023-06-07 14:55 | hgbot | Note Added: 0150892 | |
2023-06-07 14:55 | hgbot | Resolution | open => fixed |
2023-06-07 14:55 | hgbot | Status | new => closed |
2023-06-07 14:55 | hgbot | Note Added: 0150893 | |
2023-07-27 10:18 | alostale | Relationship added | related to 0052986 |