Merge "Fix duplicate code in drools-pdp RestManager"