979899100101102103104105106107
LOG.error(msg); responder.sendError(HttpResponseStatus.BAD_REQUEST, msg); return; } DatasetSpecification spec = type.configure(name, props); DatasetAdmin admin = type.getAdmin(spec); admin.create(); responder.sendJson(HttpResponseStatus.OK, spec); }
5354555657585960616263
if (type == null) { throw new IllegalArgumentException("Dataset type cannot be instantiated for provided type meta: " + typeMeta); } DatasetSpecification spec = type.configure(instanceName, props); DatasetAdmin admin = type.getAdmin(spec); admin.create(); return spec; }