Automated service discovery and configuration