public static Map < String , Preset > autoConfigure ( ) throws MnoConfigurationException { String host = MnoPropertiesHelper . readEnvironment ( "MNO_DEVPL_HOST" , "https://developer.maestrano.com" ) ; String apiPath = MnoPropertiesHelper . readEnvironment ( "MNO_DEVPL_API_PATH" , "/api/config/v1" ) ; String apiKey = MnoPropertiesHelper . readEnvironment ( "MNO_DEVPL_ENV_KEY" ) ; String apiSecret = MnoPropertiesHelper . readEnvironment ( "MNO_DEVPL_ENV_SECRET" ) ; return autoConfigure ( host , apiPath , apiKey , apiSecret ) ; }
Method to fetch configuration from the dev - platform using environment variable .