Explorar el Código

[tmp] Rename the get_config API

We will need to keep the old one for traditional one but offer
the same endpoint via the JTW API.
Romain Rigaux hace 4 años
padre
commit
52672f5fee
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      desktop/core/src/desktop/js/api/urls.js

+ 2 - 1
desktop/core/src/desktop/js/api/urls.js

@@ -20,7 +20,8 @@ export const EXECUTE_API_PREFIX = '/notebook/api/execute/';
 export const DOCUMENTS_API = '/desktop/api2/doc/';
 export const DOCUMENTS_SEARCH_API = '/desktop/api2/docs/';
 export const GET_HUE_CONFIG_API = '/desktop/api2/get_hue_config';
-export const FETCH_CONFIG_API = '/desktop/api2/get_config/';
+// export const FETCH_CONFIG_API = '/desktop/api2/get_config/';
+export const FETCH_CONFIG_API = '/api/iam/get_config/';
 export const HDFS_API_PREFIX = '/filebrowser/view=' + encodeURIComponent('/');
 export const ADLS_API_PREFIX = '/filebrowser/view=' + encodeURIComponent('adl:/');
 export const ABFS_API_PREFIX = '/filebrowser/view=' + encodeURIComponent('ABFS://');