Project

General

Profile

« Previous | Next » 

Revision 56334

added property for community api address

View differences:

ResultEntry.java
233 233

  
234 234
	public String asOafRecord(final VelocityEngine ve,
235 235
			final ISLookUpService lookupService,
236
			final String oafSchemaLocation) throws Exception {
236
			final String oafSchemaLocation,
237
							  final String community_api) throws Exception {
237 238

  
238 239
		if (StringUtils.isBlank(getOriginalId())
239 240
				&& StringUtils
......
258 259

  
259 260
		final Map<String, Object> model = new HashMap<>();
260 261
		model.put("esc", new EscapeXml());
261
		model.put("util", new OpenAIRESubmitterUtils());
262
		model.put("util", new OpenAIRESubmitterUtils(community_api));
262 263
		model.put("pub", this);
263 264
		model.put("objIdentifier", getOpenaireId());
264 265
		model.put("oafSchemaLocation", oafSchemaLocation);

Also available in: Unified diff