Project

General

Profile

« Previous | Next » 

Revision 62942

Added by Michele Artini 11 months ago

new fields in api response

View differences:

DatasourceFunctions.java
141 141
		return a;
142 142
	}
143 143

  
144
	private static String calculateMdstoreBackendById(final String mdId) {
144
	public static String calculateMdstoreBackendById(final String mdId) {
145 145
		if (StringUtils.isBlank(mdId)) {
146 146
			return "";
147 147
		} else if (StringUtils.trim(mdId).startsWith("md-")) {
148
			return "HDFS";
148
			return MDStoreBackend.HDFS.toString();
149 149
		} else {
150
			return "MONGO";
150
			return MDStoreBackend.MONGO.toString();
151 151
		}
152 152
	}
153 153

  

Also available in: Unified diff