Add subdef generator service
Merge pull request #860 from romainneutron/subdef-service

[3.9] Add subdef generator service