Browse Source

[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 4 years ago
parent
commit
52672f5fee
1 changed files with 2 additions and 1 deletions
  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://');