'Retrieve attributes of the SoftwareComponent resource.
\'configs\' returns the list of configurations for the software
component\'s lifecycle actions. If the attribute does not exist,
an empty list is returned.'

def _resolve_attribute(self, name):

    if ((name == self.CONFIGS_ATTR) and self.resource_id):
        with self.rpc_client().ignore_error_by_name('NotFound'):
            sc = self.rpc_client().show_software_config(self.context, self.resource_id)
            return sc[rpc_api.SOFTWARE_CONFIG_CONFIG].get(self.CONFIGS)
