hunk.code_window:       },
       });
       return;
     }
     if (actionObj.pluginType === PLUGIN_TYPE_API) {
       const params = getQueryParams();
       if (params.editName) {
         params.editName = "false";
       }
       const applicationId = yield select(getCurrentApplicationId);
       const pageId = yield select(getCurrentPageId);
       history.push(API_EDITOR_ID_URL(applicationId, pageId, actionId, params));
     }
   }
   function* handleApiNameChangeFailureSaga(
     action: ReduxAction<{ oldName: string }>,
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep
hunk.file_path: app/client/src/sagas/ApiPaneSagas.ts
hunk.type: replace
file: package com.appsmith.server.services;
  
  import com.appsmith.external.models.AuthenticationDTO;
  import com.appsmith.server.domains.Datasource;
  import com.appsmith.server.domains.DatasourceContext;
  import reactor.core.publisher.Mono;
  
  import java.util.function.Function;
  
  public interface DatasourceContextService {
  
      /**
       * This function is responsible for returning the datasource context stored
       * against the datasource id. In case the datasourceId is not found in the
       * map, create a new datasource context and return that.
       *
       * @param datasource
       * @return DatasourceContext
       */
      Mono<DatasourceContext> getDatasourceContext(Datasource datasource);
  
      <T> Mono<T> retryOnce(Datasource datasource, Function<DatasourceContext, Mono<T>> task);
  
      Mono<DatasourceContext> deleteDatasourceContext(String datasourceId);
  
      AuthenticationDTO decryptSensitiveFields(AuthenticationDTO authenticationDTO);
  }
  