@ GET @ Path ( WEBUI_CONFIG ) @ ReturnType ( "alluxio.wire.MasterWebUIConfiguration" ) public Response getWebUIConfiguration ( ) { return RestUtils . call ( ( ) -> { MasterWebUIConfiguration response = new MasterWebUIConfiguration ( ) ; response . setWhitelist ( mFileSystemMaster . getWhiteList ( ) ) ; TreeSet < Triple < String , String , String > > sortedProperties = new TreeSet <> ( ) ; Set < String > alluxioConfExcludes = Sets . newHashSet ( PropertyKey . MASTER_WHITELIST . toString ( ) ) ; for ( ConfigProperty configProperty : mMetaMaster . getConfiguration ( GetConfigurationPOptions . newBuilder ( ) . setRawValue ( true ) . build ( ) ) ) { String confName = configProperty . getName ( ) ; if ( ! alluxioConfExcludes . contains ( confName ) ) { sortedProperties . add ( new ImmutableTriple <> ( confName , ConfigurationUtils . valueAsString ( configProperty . getValue ( ) ) , configProperty . getSource ( ) ) ) ; } } response . setConfiguration ( sortedProperties ) ; return response ; } , ServerConfiguration . global ( ) ) ; }
Gets Web UI ServerConfiguration page data .