support optional environment attribute in services to filter services by environment