code: func (cfgSrcHandler *Handler) GetConfigurationsByDI(dimensionInfo string) (map[string]interface{}, error) {
  	configMap := make(map[string]interface{})
  
  	err := cfgSrcHandler.refreshConfigurations(dimensionInfo)
  	if err != nil {
  		return nil, err
  	}
  
  	if cfgSrcHandler.RefreshMode == 1 {
  		go cfgSrcHandler.refreshConfigurationsPeriodically(dimensionInfo)
  	}
  
  	cfgSrcHandler.Lock()
  	for key, value := range cfgSrcHandler.dimensionsInfoConfiguration {
  		configMap[key] = value
  	}
  	cfgSrcHandler.Unlock()
  	return configMap, nil
  }
docs: //GetConfigurationsByDI gets required configurations for particular dimension info