New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable REST v1 by default #1027

Closed
web-devel opened this Issue Jul 5, 2018 · 1 comment

Comments

@web-devel
Copy link
Member

web-devel commented Jul 5, 2018

@web-devel web-devel added the comp: rest label Jul 5, 2018

@web-devel web-devel added this to the Release 7.0 milestone Jul 5, 2018

@jreznot jreznot self-assigned this Jul 5, 2018

@jreznot jreznot modified the milestones: Release 7.0, Release 6.10 Jul 5, 2018

@jreznot jreznot changed the title Disable REST v1 by default Disable REST v1 by default in portal Jul 5, 2018

@jreznot jreznot added the type: bug label Jul 5, 2018

@jreznot jreznot changed the title Disable REST v1 by default in portal Disable REST v1 by default Jul 12, 2018

jreznot added a commit that referenced this issue Jul 12, 2018

jreznot added a commit that referenced this issue Jul 12, 2018

@jreznot

This comment has been minimized.

Copy link
Member

jreznot commented Jul 12, 2018

In order to enable REST v1 in project developers have to define it explicitly:

<context:component-scan base-package="com.haulmont.cuba.restapi"/>

Web: dispatcher-spring.xml
Portal: portal-dispatcher-spring.xml

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