def METHOD_NAME(self):
    mappings = SystemPropertyManager.get_service_host_mapping(self.input_context)
    for group, hosts in mappings.items():
        self.inventory.add_group(group)
        for host in hosts:
            self.inventory.add_host(host, group)
    return self