lib/topological_inventory/orchestrator/targeted_update/api_load_helpers.rb
# API requests:
# - source type for source
# - source for endpoint
# - source for application
# - endpoint for authentication
API requests:
source type for source
source for endpoint
source for application
endpoint for authentication
API requests : source type for source source for endpoint source for application endpoint for authentication
def load_sources_from_targets
          api_load_belongs_to(%i[authentication], :endpoint, 'resource_id')
          api_load_belongs_to(%i[endpoint application], :source, 'source_id')
          api_load_belongs_to(%i[source], :source_type, 'source_type_id')
        end
def load_sources_from_targets api_load_belongs_to ( %i[ authentication ] , :endpoint , 'resource_id' ) api_load_belongs_to ( %i[ endpoint application ] , :source , 'source_id' ) api_load_belongs_to ( %i[ source ] , :source_type , 'source_type_id' ) end
API requests:
 source type for source
 source for endpoint
 source for application
 endpoint for authentication
API requests : source type for source source for endpoint source for application endpoint for authentication