docs: def get_endpoints():
          """
          get all endpoints known on the Ariane server
          :return:
          """
          LOGGER.debug("EndpointService.get_endpoints")
          params = SessionService.complete_transactional_req(None)
          if params is None:
              if MappingService.driver_type != DriverFactory.DRIVER_REST:
                  params = {'OPERATION': 'getEndpoints'}
                  args = {'properties': params}
              else:
                  args = {'http_operation': 'GET', 'operation_path': ''}
          else:
              if MappingService.driver_type != DriverFactory.DRIVER_REST:
                  params['OPERATION'] = 'getEndpoints'
                  args = {'properties': params}
              else:
                  args = {'http_operation': 'GET', 'operation_path': '', 'parameters': params}
  
          response = EndpointService.requester.call(args)
  
          if MappingService.driver_type != DriverFactory.DRIVER_REST:
              response = response.get()
  
          ret = None
          if response.rc == 0:
              ret = []
              for endpoint in response.response_content['endpoints']:
                  ret.append(Endpoint.json_2_endpoint(endpoint))
          elif response.rc != 404:
              err_msg = 'EndpointService.get_endpoints - Problem while getting nodes. ' \
                        'Reason: ' + str(response.response_content) + ' - ' + str(response.error_message) + \
                        " (" + str(response.rc) + ")"
              LOGGER.warning(err_msg)
              if response.rc == 500 and ArianeMappingOverloadError.ERROR_MSG in response.error_message:
                  raise ArianeMappingOverloadError("EndpointService.get_endpoints",
                                                   ArianeMappingOverloadError.ERROR_MSG)
              # traceback.print_stack()
          return ret