[FOLIO-2876] Consistently use -Dserver.port or -Dport or -Dhttp.port for Okapi HTTP port Created: 17/Nov/20 Updated: 15/Feb/22 |
|
| Status: | Draft |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Tech Debt | Priority: | TBD |
| Reporter: | Julian Ladisch | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | tech-debt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | CP: Non-roadmap backlog | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
RMB has been using -Dhttp.port to define which port to listen on. Most back-end modules use RMB. When deploying using Okapi this is not relevant because the "launchDescriptor" in the ModuleDescriptor use the %p placeholder. However, for other deploy methods like Debian packages https://github.com/drexljo/folio-projects such a configuration option is needed. This Jira is to decide whether we
A GitHub search finds
Some modules do not get HTTP requests from Okapi but requests in a different protocol, for example edge-sip2. This is not HTTP and http.port might be a misleading name. |
| Comments |
| Comment by David Crossley [ 08/Feb/22 ] |
|
When something is decided then need to clarify https://github.com/folio-org/okapi/blob/master/doc/guide.md#compiling-and-running and perhaps an FAQ at dev.f.o There is a recent Slack discussion (#development 2022-02-05) about new Spring modules using a new option "server.port". |