Skip to content

Commit

Permalink
using new dev version of cmdi toolkit. Refs #58
Browse files Browse the repository at this point in the history
  • Loading branch information
twagoo committed Nov 24, 2020
1 parent 006afc3 commit a8b126b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ComponentRegistry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<ccrRestUrl>https://openskos.meertens.knaw.nl/ccr/api/</ccrRestUrl>
<clavasRestUrl>https://vocabularies.clarin.eu/clavas/public/api/</clavasRestUrl>

<cmd-toolkit.version>1.2.3</cmd-toolkit.version>
<cmd-toolkit.version>1.2.4-SNAPSHOT</cmd-toolkit.version>
<spring.version>5.2.11.RELEASE</spring.version>
<wicket.version>8.11.0</wicket.version>
<jackson.version>2.11.3</jackson.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import com.google.common.collect.ImmutableMap;
import com.sun.jersey.api.json.JSONConfiguration;
import com.sun.jersey.api.json.JSONJAXBContext;
import eu.clarin.cmdi.CmdNamespaces;
import javax.ws.rs.ext.ContextResolver;
import javax.ws.rs.ext.Provider;
import javax.xml.bind.JAXBContext;
Expand Down Expand Up @@ -56,7 +57,7 @@ public JAXBContext getContext(Class<?> objectType) {

public final static JSONConfiguration jsonConfiguration() {
final ImmutableMap<String, String> namespacesMap = ImmutableMap.<String, String>builder()
.put("http://www.clarin.eu/cmdi/cues/1", "cue")
.put(CmdNamespaces.CMD_SPEC_CUES_NS, "cue")
.build();
final JSONConfiguration jsonConfiguration = JSONConfiguration.mapped()
.xml2JsonNs(namespacesMap)
Expand Down
Loading

0 comments on commit a8b126b

Please sign in to comment.