Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049221
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Open APIminorhave not tried2022-05-05 08:572023-06-07 14:55
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Conn 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM 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

DescriptionCurrently 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 SolutionReplace 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0050320 closedTriage Platform Conn Modules Server URL in swagger should be automatically calculated 
related to defect 0052986 closedcaristu Retail Modules broken request link when importing through Business API 

-  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
Powered by Mantis Bugtracker