Skip to content

Implemented: Do not expose services as REST endpoints when setting export=true in service definitions - #1609

Open
Criux wants to merge 2 commits into
apache:trunkfrom
Criux:rest_api_remove_export_true
Open

Implemented: Do not expose services as REST endpoints when setting export=true in service definitions#1609
Criux wants to merge 2 commits into
apache:trunkfrom
Criux:rest_api_remove_export_true

Conversation

@Criux

@Criux Criux commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Implemented: Services whose definitions set export="true" no longer automatically also create a REST endpoint that exposes the service. The goal of this change is to:

  • Reduce the risk that services are implicitly exposed as REST services, when this was not the original intent of the developer
  • Unify the way REST endpoints are declared by creating a *rest.xml in an OFBiz component
  • Make the implementation of the rest-api component simpler

Thanks to everyone that participated in the discussion about this change here: https://lists.apache.org/thread/jhqs0b3s3bkdd7rhgzpr131c3sfxsfxj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant