Project

General

Profile

« Previous | Next » 

Revision 46579

avoid heavy xqueries

View differences:

modules/cnr-service-common/branches/1.0.0-hotfix/cnr-service-common.iml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="false">
4
    <output url="file://$MODULE_DIR$/target/classes" />
5
    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
    <content url="file://$MODULE_DIR$">
7
      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9
      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
10
      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
11
      <excludeFolder url="file://$MODULE_DIR$/target" />
12
    </content>
13
    <orderEntry type="inheritedJdk" />
14
    <orderEntry type="sourceFolder" forTests="false" />
15
    <orderEntry type="library" scope="TEST" name="Maven: org.springframework:spring-test:4.0.0.RELEASE" level="project" />
16
    <orderEntry type="library" name="Maven: org.springframework:spring-core:4.0.0.RELEASE" level="project" />
17
    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
18
    <orderEntry type="library" scope="TEST" name="Maven: org.mockito:mockito-core:1.6" level="project" />
19
    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.1" level="project" />
20
    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-library:1.1" level="project" />
21
    <orderEntry type="library" scope="TEST" name="Maven: org.objenesis:objenesis:1.0" level="project" />
22
    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
23
    <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
24
    <orderEntry type="library" name="Maven: org.antlr:antlr:2.7.7" level="project" />
25
    <orderEntry type="library" name="Maven: opensymphony:quartz:1.6.6" level="project" />
26
    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.0.0.RELEASE" level="project" />
27
    <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
28
    <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.0.0.RELEASE" level="project" />
29
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-misc-utils:1.0.3" level="project" />
30
    <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
31
    <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.8" level="project" />
32
    <orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
33
    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.0.b2" level="project" />
34
    <orderEntry type="library" name="Maven: jaxen:jaxen:1.1.6" level="project" />
35
    <orderEntry type="library" name="Maven: saxonica:saxon:9.1.0.8" level="project" />
36
    <orderEntry type="library" name="Maven: saxonica:saxon-dom:9.1.0.8" level="project" />
37
    <orderEntry type="library" name="Maven: jgrapht:jgrapht:0.7.2" level="project" />
38
    <orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.8.0" level="project" />
39
    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.6.6" level="project" />
40
    <orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
41
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-service-utils:1.0.1" level="project" />
42
    <orderEntry type="library" name="Maven: apache:oro:2.0.8" level="project" />
43
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-jaxws:2.7.8" level="project" />
44
    <orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
45
    <orderEntry type="library" name="Maven: asm:asm:3.3.1" level="project" />
46
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-xml:2.7.8" level="project" />
47
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-simple:2.7.8" level="project" />
48
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-addr:2.7.8" level="project" />
49
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-policy:2.7.8" level="project" />
50
    <orderEntry type="library" name="Maven: org.apache.neethi:neethi:3.0.2" level="project" />
51
    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.0.0.RELEASE" level="project" />
52
    <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.0.0.RELEASE" level="project" />
53
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-rmi-api:2.6.0" level="project" />
54
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-api:2.7.8" level="project" />
55
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.2.0" level="project" />
56
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.1" level="project" />
57
    <orderEntry type="library" name="Maven: org.apache.ws.xmlschema:xmlschema-core:2.0.3" level="project" />
58
    <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1" level="project" />
59
    <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.3" level="project" />
60
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-spring-utils:1.0.0" level="project" />
61
    <orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
62
    <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.0.0.RELEASE" level="project" />
63
    <orderEntry type="library" name="Maven: org.springframework:spring-web:4.0.0.RELEASE" level="project" />
64
    <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.0.0.RELEASE" level="project" />
65
    <orderEntry type="library" name="Maven: jparsec:jparsec:2.0" level="project" />
66
    <orderEntry type="library" name="Maven: runcc:runcc:0.7" level="project" />
67
    <orderEntry type="library" scope="TEST" name="Maven: eu.dnetlib:dnet-runtime:1.0.0" level="project" />
68
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-core:2.7.8" level="project" />
69
    <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.2.6" level="project" />
70
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-soap:2.7.8" level="project" />
71
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-databinding-jaxb:2.7.8" level="project" />
72
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-transports-http:2.7.8" level="project" />
73
    <orderEntry type="library" scope="TEST" name="Maven: eu.dnetlib:cnr-test-utils:1.0.0" level="project" />
74
    <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
75
  </component>
76
</module>
modules/cnr-service-common/branches/1.0.0-hotfix/src/main/java/eu/dnetlib/enabling/tools/registration/ServiceRegistrator.java
213 213
	 */
214 214
	protected void ensureSchemaExists(final String serviceName) {
215 215
		try {
216
			lookupLocator.getService().getResourceProfileByQuery(
217
					"//*[local-name() = 'complexType' and @name = 'RESOURCE_TYPEType']//*[local-name() = 'enumeration' and @value = '" + serviceName
218
							+ "ResourceType']");
216
			lookupLocator.getService().getResourceTypeSchema(serviceName);
217
			//lookupLocator.getService().getResourceProfileByQuery(
218
			//		"//*[local-name() = 'complexType' and @name = 'RESOURCE_TYPEType']//*[local-name() = 'enumeration' and @value = '" + serviceName
219
			//				+ "ResourceType']");
219 220
			log.warn("schema for " + serviceName + " appears to exist");
220 221
		} catch (final ISLookUpDocumentNotFoundException e) {
221 222
			log.warn("registering schema for " + serviceName);
modules/cnr-service-common/branches/1.0.0-hotfix/pom.xml
10 10
	<groupId>eu.dnetlib</groupId>
11 11
	<artifactId>cnr-service-common</artifactId>
12 12
	<packaging>jar</packaging>
13
	<version>1.0.0</version>
13
	<version>1.0.0-hotfix</version>
14 14
	<scm>
15
		<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/cnr-service-common/tags/cnr-service-common-1.0.0</developerConnection>
15
		<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/cnr-service-common/branches/1.0.0-hotfix</developerConnection>
16 16
	</scm>
17 17
	<dependencies>
18 18
		<dependency>

Also available in: Unified diff