Merge pull request #343 from shenrie/master

Refactored prepare resource framework
Enabling validation interceptor for inbound only