Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049221 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Open API | minor | have not tried | 2022-05-05 08:57 | 2023-06-07 14:55 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | Triage Platform Conn | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
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 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
Notes | |
(0150749) hgbot (developer) 2023-06-05 13:58 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/8 [^] |
(0150892) hgbot (developer) 2023-06-07 14:55 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/merge_requests/8 [^] |
(0150893) hgbot (developer) 2023-06-07 14:55 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi [^] Changeset: 3295177460896d3292bf472fc866d10ccd8853a6 Author: Carlos Aristu <carlos.aristu@openbravo.com> Date: 05-06-2023 13:57:01 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.openapi/-/commit/3295177460896d3292bf472fc866d10ccd8853a6 [^] fixes BUG-49221: replace context.url property usage with relative context path --- M src/org/openbravo/service/openapi/provider/OpenAPIProcessor.java --- |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |