lightcouch / LightCouch

CouchDB Java API
www.lightcouch.org
Apache License 2.0
67 stars 70 forks source link

Fix sync design docs with DB for spring boot #62

Closed DanielLupu closed 6 years ago

DanielLupu commented 7 years ago

Spring boot version 1.4.2 creates a JAR file where classes, libs and resources are included in BOOT-INF directory. I did a fix for loading design-docs folder when CouchDB view documents are grouped into the maven resources. Further improvements can be done later for /static and /public spring boot folders if is necessary.

sawandarekar commented 6 years ago

I am using spring boot version 1.5.7 and i have verified this fix. Its working correctly my views from spring boot jar are correctly synced with DB.

Merge it to Master, really helpful for spring boot projects.