Browse Source

added modules related to ariadneplus

pull/2/head
Enrico Ottonello 3 years ago
parent
commit
a9f6a0f6eb
  1. 20
      .gitignore
  2. 164
      dnet-ariadneplus-container/.factorypath
  3. 124
      dnet-ariadneplus-container/pom.xml
  4. 1
      dnet-ariadneplus-container/src/main/resources/META-INF/cxf/org.apache.cxf.Logger
  5. 1
      dnet-ariadneplus-container/src/main/resources/META-INF/services/javax.xml.transform.TransformerFactory
  6. 57
      dnet-ariadneplus-container/src/main/resources/eu/dnetlib/applicationContext-security.xml
  7. 53
      dnet-ariadneplus-container/src/main/resources/eu/dnetlib/cnr-site.properties
  8. 39
      dnet-ariadneplus-container/src/main/resources/log4j.properties
  9. 20
      dnet-ariadneplus-container/src/main/webapp/WEB-INF/applicationContext.xml
  10. 25
      dnet-ariadneplus-container/src/main/webapp/WEB-INF/cxf.xml
  11. 25
      dnet-ariadneplus-container/src/main/webapp/WEB-INF/dispatcher-servlet.xml
  12. 56
      dnet-ariadneplus-container/src/main/webapp/WEB-INF/web.xml
  13. BIN
      dnet-ariadneplus-container/src/main/webapp/images/User.png
  14. 103
      dnet-ariadneplus-container/src/main/webapp/images/admin.svg
  15. BIN
      dnet-ariadneplus-container/src/main/webapp/images/d-netLogo.png
  16. BIN
      dnet-ariadneplus-container/src/main/webapp/images/lightui.png
  17. BIN
      dnet-ariadneplus-container/src/main/webapp/images/monitor.png
  18. 28
      dnet-ariadneplus-container/src/main/webapp/index.html
  19. 10
      dnet-ariadneplus-publisher/deploy.info
  20. 214
      dnet-ariadneplus-publisher/pom.xml
  21. 61
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/AppConfig.java
  22. 24
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/AriadnePlusAsyncUncaughtExceptionHandler.java
  23. 19
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/AriadnePlusPublisherApplication.java
  24. 2986
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/CRM.java
  25. 525
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/CRMdig.java
  26. 310
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/CRMpe.java
  27. 110
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/catalogue/CKANUtils.java
  28. 197
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/catalogue/CatalogueAPIClient.java
  29. 71
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/catalogue/CatalogueAPIResponse.java
  30. 55
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/catalogue/CatalogueLicense.java
  31. 709
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/catalogue/CatalogueRegistrator.java
  32. 39
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/jrr/AriadnePlusRegistryRel.java
  33. 55
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/jrr/AriadnePlusRegistryResource.java
  34. 147
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/jrr/JRRPublisher.java
  35. 48
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/publisher/AriadnePlusPublisherController.java
  36. 28
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/publisher/AriadnePlusPublisherException.java
  37. 97
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/publisher/AriadnePlusPublisherHelper.java
  38. 178
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/publisher/SaxonHelper.java
  39. 98
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/rdf/RecordParserHelper.java
  40. 460
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/rdf/ResourceReader.java
  41. 197
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/virtuoso/VirtuosoClient.java
  42. 75
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/virtuoso/VirtuosoClientFactory.java
  43. 171
      dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/virtuoso/VirtuosoReadAPI.java
  44. 15
      dnet-ariadneplus-publisher/src/main/resources/application.properties
  45. 106
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/D14_Software.sparql
  46. 51
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/E29_Design_or_Procedure.sparql
  47. 68
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/E39_Actor.sparql
  48. 73
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/E78_Collection.sparql
  49. 138
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/PE18_Dataset.sparql
  50. 148
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/PE1_Service.sparql
  51. 62
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/PE35_Project.sparql
  52. 76
      dnet-ariadneplus-publisher/src/main/resources/eu/dnetlib/parthenos/sparql/rdfs_rule_set_isql.txt
  53. 19
      dnet-ariadneplus-publisher/src/main/resources/logback-spring.xml
  54. 74
      dnet-ariadneplus-publisher/src/main/resources/res.json
  55. 60
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/catalogue/CatalogueAPIResponseTest.java
  56. 105
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/catalogue/CatalogueRegistratorIntegrationTest.java
  57. 157
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/catalogue/CatalogueRegistratorTest.java
  58. 39
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/publisher/AriadnePlusPublisherControllerTest.java
  59. 93
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/publisher/AriadnePlusPublisherTest.java
  60. 48
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/rdf/RecordParserHelperTest.java
  61. 79
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/registry/JacksonTest.java
  62. 53
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/registry/JenaInferenceTest.java
  63. 83
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/virtuoso/ExampleIO_01.java
  64. 43
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/virtuoso/FreeMarkerTest.java
  65. 88
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/virtuoso/VirtuosoClientTest.java
  66. 114
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/virtuoso/VirtuosoReadAPIIntegrationTest.java
  67. 38
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/virtuoso/VirtuosoReadAPITest.java
  68. 326
      dnet-ariadneplus-publisher/test/main/java/eu/dnetlib/ariadneplus/virtuoso/VirtuosoTest.java
  69. 25
      dnet-ariadneplus-publisher/test/main/resources/application-integrationtest.properties
  70. 638
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/rdfs/CRMdig.rdfs
  71. 530
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/rdfs/CRMpe.rdfs
  72. 5343
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/rdfs/cidoc_crm_v6.2-draft-2015August.rdfs
  73. 54
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/PE1_Service_sample.rdf
  74. 87
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/PE1_Service_sample_withHeader.rdf
  75. 65
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/catalogue/responses/resourceCreatedResponse.json
  76. 1
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/catalogue/responses/resourceCreationFailed.json
  77. 121
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/catalogue/responses/resourceExistResponse.json
  78. 8
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/catalogue/responses/resourceNotExistResponse200.json
  79. 18
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/error500_1.rdf
  80. 138
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/metashare.json
  81. 59
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/metashare.rdf
  82. 17
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/nakala.rdf
  83. 2659
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/sample1.rdf
  84. 18
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/sampleNoRiot.rdf
  85. 25
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/test.rdf
  86. 28
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/testwp8.rdf
  87. 33
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/registry/withProviders.rdf
  88. 100
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/sparql/longQuery.sparql
  89. 21
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/virtuoso/data.ttl
  90. 234
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/virtuoso/test.rdf
  91. 57
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/virtuoso/test_less_data.rdf
  92. 2652
      dnet-ariadneplus-publisher/test/main/resources/eu/dnetlib/parthenos/virtuoso/test_record_plain.xml
  93. 97
      dnet-ariadneplus/.factorypath
  94. 10
      dnet-ariadneplus/deploy.info
  95. 175
      dnet-ariadneplus/pom.xml
  96. 122
      dnet-ariadneplus/src/main/java/eu/dnetlib/ariadneplus/workflows/nodes/ClarinAPIGeneratorJobNode.java
  97. 263
      dnet-ariadneplus/src/main/java/eu/dnetlib/ariadneplus/workflows/nodes/ClarinFileVisitor.java
  98. 140
      dnet-ariadneplus/src/main/java/eu/dnetlib/ariadneplus/workflows/nodes/PublishAbstractJobNode.java
  99. 10
      dnet-ariadneplus/src/main/java/eu/dnetlib/ariadneplus/workflows/nodes/PublishJRRJobNode.java
  100. 10
      dnet-ariadneplus/src/main/java/eu/dnetlib/ariadneplus/workflows/nodes/PublishVirtuosoJobNode.java
  101. Some files were not shown because too many files have changed in this diff Show More

20
.gitignore vendored

@ -0,0 +1,20 @@
/.metadata/
.DS_Store
.idea
*.iml
*~
.classpath
/*/.classpath
/*/*/.classpath
.metadata
/*/.metadata
/*/*/.metadata
.project
.log
.settings
/*/*/target
/*/target
/target
/*/*/build
/*/build
/build

164
dnet-ariadneplus-container/.factorypath

@ -0,0 +1,164 @@
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-beanutils/commons-beanutils/1.9.2/commons-beanutils-1.9.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/security/spring-security-web/4.2.2.RELEASE/spring-security-web-4.2.2.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/security/spring-security-core/4.2.2.RELEASE/spring-security-core-4.2.2.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-core/4.3.5.RELEASE/spring-core-4.3.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/4.3.5.RELEASE/spring-expression-4.3.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/security/spring-security-config/4.2.2.RELEASE/spring-security-config-4.2.2.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aop/4.3.5.RELEASE/spring-aop-4.3.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-tx/4.2.5.RELEASE/spring-tx-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/junit/junit/4.12/junit-4.12.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/eu/dnetlib/dnet-msro-service/6.0.1-SAXONHE-SNAPSHOT/dnet-msro-service-6.0.1-SAXONHE-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/mail/mail/1.4.7/mail-1.4.7.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/activation/activation/1.1/activation-1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/gr/forth/ics/isl/x3ml-engine/1.9.0/x3ml-engine-1.9.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/thoughtworks/xstream/xstream/1.4.2/xstream-1.4.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/damnhandy/handy-uri-templates/2.1.6/handy-uri-templates-2.1.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/jena/jena-core/2.12.0/jena-core-2.12.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/jena/jena-iri/1.1.0/jena-iri-1.1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-cli/commons-cli/1.2/commons-cli-1.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jooq/joox/1.2.0/joox-1.2.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/gr/forth/ics/isl/X3ML_reverse_utils/1.5/X3ML_reverse_utils-1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jsoup/jsoup/1.7.3/jsoup-1.7.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/jena/jena-arq/2.12.0/jena-arq-2.12.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/jsonld-java/jsonld-java/0.5.0/jsonld-java-0.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-databind/2.3.3/jackson-databind-2.3.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.3.0/jackson-annotations-2.3.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpclient-cache/4.2.6/httpclient-cache-4.2.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/jcl-over-slf4j/1.7.6/jcl-over-slf4j-1.7.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/projectlombok/lombok/1.16.16/lombok-1.16.16.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/eu/dnetlib/dnet-data-services/2.0.1-SAXONHE-SNAPSHOT/dnet-data-services-2.0.1-SAXONHE-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/eu/dnetlib/dnet-core-components/2.0.1-SAXONHE-SNAPSHOT/dnet-core-components-2.0.1-SAXONHE-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/quartz-scheduler/quartz/2.2.2/quartz-2.2.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/c3p0/c3p0/0.9.1.1/c3p0-0.9.1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context-support/4.2.5.RELEASE/spring-context-support-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/18.0/guava-18.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/sf/ehcache/ehcache-core/2.6.2/ehcache-core-2.6.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/lucene/lucene-queryparser/5.5.0/lucene-queryparser-5.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/lucene/lucene-core/5.5.0/lucene-core-5.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/lucene/lucene-queries/5.5.0/lucene-queries-5.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/lucene/lucene-sandbox/5.5.0/lucene-sandbox-5.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/z3950/zing/cql-java/1.7/cql-java-1.7.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/antlr/antlr/2.7.7/antlr-2.7.7.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/code/gson/gson/2.6.2/gson-2.6.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpclient/4.4.1/httpclient-4.4.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-codec/commons-codec/1.8/commons-codec-1.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/sf/saxon/Saxon-HE/9.5.1-5/Saxon-HE-9.5.1-5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/ximpleware/vtd-xml/2.13.4/vtd-xml-2.13.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/mycila/xmltool/3.3/xmltool-3.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/joda-time/joda-time/2.10.2/joda-time-2.10.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-test/4.2.5.RELEASE/spring-test-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/eu/dnetlib/dnet-core-services/2.0.1-SAXONHE-SNAPSHOT/dnet-core-services-2.0.1-SAXONHE-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/codehaus/groovy/groovy-all/2.4.6/groovy-all-2.4.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mongodb/mongo-java-driver/3.4.2/mongo-java-driver-3.4.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-net/commons-net/3.3/commons-net-3.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/jcraft/jsch/0.1.53/jsch-0.1.53.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-csv/1.0/commons-csv-1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-compress/1.6/commons-compress-1.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/tukaani/xz/1.4/xz-1.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/svenson/svenson-json/1.4.0/svenson-json-1.4.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/sun/xsom/xsom/20110809/xsom-20110809.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/oro/oro/2.0.8/oro-2.0.8.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/eu/dnetlib/dnet-modular-uis/2.0.2-SAXONHE-SNAPSHOT/dnet-modular-uis-2.0.2-SAXONHE-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/maven/maven-model/3.2.3/maven-model-3.2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/eu/dnetlib/dnet-information-service/2.0.2-SAXONHE-SNAPSHOT/dnet-information-service-2.0.2-SAXONHE-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/exist-db/exist-core/3.0.RC1/exist-core-3.0.RC1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-core/2.5.0/jackson-core-2.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/krukow/clj-ds/0.0.4/clj-ds-0.0.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/siemens/ct/exi/exificient/0.9.3/exificient-0.9.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/exist-db/thirdparty/net/sf/sunxacml/sunxacml/1.2/sunxacml-1.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/thaiopensource/jing/20091111/jing-20091111.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/isorelax/isorelax/20030108/isorelax-20030108.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/gnu/gnu-crypto/2.0.1/gnu-crypto-2.0.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/exist-db/thirdparty/javax/xml/xquery/xqjapi/1.0-fr/xqjapi-1.0-fr.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/jline/jline/0.9.94/jline-0.9.94.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/cglib/cglib/2.2.2/cglib-2.2.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/excalibur-cli/excalibur-cli/1.0/excalibur-cli-1.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-pool/commons-pool/1.6/commons-pool-1.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/logging/log4j/log4j-api/2.3/log4j-api-2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/logging/log4j/log4j-core/2.3/log4j-core-2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/logging/log4j/log4j-jul/2.3/log4j-jul-2.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant/1.9.4/ant-1.9.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ant/ant-launcher/1.9.4/ant-launcher-1.9.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/xmlrpc/xmlrpc-server/3.1.3/xmlrpc-server-3.1.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/exist-db/thirdparty/org/expath/pkg-repo/0.6.0-patched/pkg-repo-0.6.0-patched.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fifesoft/rsyntaxtextarea/2.5.6/rsyntaxtextarea-2.5.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/exist-db/thirdparty/org/xmldb/xmldb-api/1.0-patched/xmldb-api-1.0-patched.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/exist-db/exist-start/3.0.RC1/exist-start-3.0.RC1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/aspectj/aspectjrt/1.8.9/aspectjrt-1.8.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-jdbc/4.2.5.RELEASE/spring-jdbc-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-orm/4.2.5.RELEASE/spring-orm-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/postgresql/jdbc4driver/8.3/jdbc4driver-8.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/xerial/sqlite-jdbc/3.8.11.2/sqlite-jdbc-3.8.11.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-entitymanager/5.0.8.Final/hibernate-entitymanager-5.0.8.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/hibernate-core/5.0.8.Final/hibernate-core-5.0.8.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jboss/jandex/2.0.0.Final/jandex-2.0.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/common/hibernate-commons-annotations/5.0.1.Final/hibernate-commons-annotations-5.0.1.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-dbcp2/2.1.1/commons-dbcp2-2.1.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/eu/dnetlib/dnet-data-provision-services/2.0.1-SAXONHE-SNAPSHOT/dnet-data-provision-services-2.0.1-SAXONHE-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/scala-lang/scala-library/2.9.2/scala-library-2.9.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/typesafe/config/1.3.0/config-1.3.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/typesafe/akka/akka-actor/2.0.4/akka-actor-2.0.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/2.4/commons-io-2.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/solr/solr-solrj/5.5.0/solr-solrj-5.5.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/httpcomponents/httpmime/4.4.1/httpmime-4.4.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/codehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/noggit/noggit/0.6/noggit-0.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/bull/javamelody/javamelody-core/1.65.0/javamelody-core-1.65.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/jrobin/jrobin/1.5.9/jrobin-1.5.9.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/lowagie/itext/2.1.7/itext-2.1.7.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-log4j12/1.6.4/slf4j-log4j12-1.6.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-beans/4.2.5.RELEASE/spring-beans-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-web/4.2.5.RELEASE/spring-web-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context/4.2.5.RELEASE/spring-context-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-webmvc/4.2.5.RELEASE/spring-webmvc-4.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-frontend-jaxws/3.1.5/cxf-rt-frontend-jaxws-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-core/3.1.5/cxf-core-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/ws/xmlschema/xmlschema-core/2.2.1/xmlschema-core-2.2.1.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-bindings-soap/3.1.5/cxf-rt-bindings-soap-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-wsdl/3.1.5/cxf-rt-wsdl-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-databinding-jaxb/3.1.5/cxf-rt-databinding-jaxb-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-bindings-xml/3.1.5/cxf-rt-bindings-xml-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-frontend-simple/3.1.5/cxf-rt-frontend-simple-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-ws-addr/3.1.5/cxf-rt-ws-addr-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-transports-http/3.1.5/cxf-rt-transports-http-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-ws-policy/3.1.5/cxf-rt-ws-policy-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/wsdl4j/wsdl4j/1.6.3/wsdl4j-1.6.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/neethi/neethi/3.0.3/neethi-3.0.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-ws-rm/3.1.5/cxf-rt-ws-rm-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/cxf/cxf-rt-management/3.1.5/cxf-rt-management-3.1.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/apache/wss4j/wss4j-policy/2.1.4/wss4j-policy-2.1.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/log4j/log4j/1.2.17/log4j-1.2.17.jar" enabled="true" runInBatchMode="false"/>
</factorypath>

124
dnet-ariadneplus-container/pom.xml

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-container-parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath></relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-ariadneplus-container</artifactId>
<packaging>war</packaging>
<version>1.0.0-SNAPSHOT</version>
<scm>
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet50/webapps/dnet-ariadneplus-container/trunk</developerConnection>
</scm>
<dependencies>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>4.2.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>4.2.2.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-ariadneplus</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-data-services</artifactId>
<version>[2.0.0-SAXONHE-SNAPSHOT, 3.0.0-SAXON-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-modular-uis</artifactId>
<version>[2.0.0-SAXONHE-SNAPSHOT, 3.0.0-SAXON-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-information-service</artifactId>
<version>[2.0.0-SAXONHE-SNAPSHOT, 3.0.0-SAXON-SNAPSHOT)</version>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-data-provision-services</artifactId>
<version>[2.0.0-SAXONHE-SNAPSHOT, 3.0.0-SAXON-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.11.0</version>
<scope>compile</scope>
</dependency>
<!-- javamelody-core -->
<dependency>
<groupId>net.bull.javamelody</groupId>
<artifactId>javamelody-core</artifactId>
<version>1.65.0</version>
</dependency>
<!-- itext, option to add PDF export -->
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>2.1.7</version>
<exclusions>
<exclusion>
<artifactId>bcmail-jdk14</artifactId>
<groupId>bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>bcprov-jdk14</artifactId>
<groupId>bouncycastle</groupId>
</exclusion>
<exclusion>
<artifactId>bctsp-jdk14</artifactId>
<groupId>bouncycastle</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>[1.6.4]</version>
</dependency>
<dependency>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-basic-aggregator</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>

1
dnet-ariadneplus-container/src/main/resources/META-INF/cxf/org.apache.cxf.Logger

@ -0,0 +1 @@
org.apache.cxf.common.logging.Log4jLogger

1
dnet-ariadneplus-container/src/main/resources/META-INF/services/javax.xml.transform.TransformerFactory

@ -0,0 +1 @@
net.sf.saxon.TransformerFactoryImpl

57
dnet-ariadneplus-container/src/main/resources/eu/dnetlib/applicationContext-security.xml

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns:security="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security.xsd">
<!-- <security:debug /> -->
<!--<security:http create-session="stateless">-->
<!--<security:http-basic />-->
<!--<security:intercept-url-->
<!--pattern="/mvc/inspector/**" access="hasRole('ROLE_USER')"/>-->
<!--<security:intercept-url pattern="/mvc/oai/**"-->
<!--access="hasAnyRole('ROLE_ANONYMOUS', 'ROLE_USER')" />-->
<!--<security:intercept-url pattern="/mvc/ui/**"-->
<!--access="hasRole('ROLE_USER')"/>-->
<!--<security:intercept-url pattern="/monitoring/**"-->
<!--access="hasAnyRole('ROLE_ANONYMOUS', 'ROlE_USER')" />-->
<!--<security:anonymous username="guest"-->
<!--granted-authority="'ROLE_ANONYMOUS'" />-->
<!--<security:logout />-->
<!--</security:http>-->
<!-- security exclusion first -->
<security:http pattern="/mvc/ui/lightui*/**" security="none"/>
<security:http pattern="/mvc/ui/vocabularies.do/**" security="none"/>
<security:http>
<security:http-basic />
<!--<security:anonymous username="guest" granted-authority="'ROLE_ANONYMOUS'" />-->
<!--<security:intercept-url pattern="/monitoring/**" access="hasRole('ANONYMOUS')" />-->
<!--<security:intercept-url pattern="/mvc/oai/**" access="hasRole('ANONYMOUS')" />-->
<security:intercept-url pattern="/mvc/inspector/**" access="hasRole('ADMIN')" />
<security:intercept-url pattern="/mvc/ui/**" access="hasRole('ADMIN')" />
<security:csrf disabled="true"/>
<security:logout />
</security:http>
<security:authentication-manager alias="authManager">
<security:authentication-provider>
<security:password-encoder hash="md5" />
<security:user-service>
<security:user name="admin" password="${dnet.admin.password}"
authorities="ROLE_ADMIN" />
</security:user-service>
</security:authentication-provider>
</security:authentication-manager>
</beans:beans>

53
dnet-ariadneplus-container/src/main/resources/eu/dnetlib/cnr-site.properties

@ -0,0 +1,53 @@
container.hostname = localhost
container.context = app
container.port = 8280
services.is.store.database.bean = persistentExistDatabase
#services.is.store.database.bean = temporaryExistDatabase
dnet.data.path = /tmp/ariadneplus
dnet.bootstrap.schemas = classpath*:/eu/dnetlib/bootstrap/schemas/**/*.xsd
dnet.bootstrap.profiles = classpath*:/eu/dnetlib/bootstrap/profiles/**/*.xml
services.msro.reindex.limit = 100
services.aggregator.host = localhost
services.aggregator.name = ARIADNEPLUS
services.aggregator.country = EU
services.registry.pending.resource.manager = compatPendingManager
transport.soap.force.local.address = true
#Authentication and authorization
#dnet.modular.ui.authorization.manager = simpleAuthenticationManager
dnet.modular.ui.authorization.default.superAdmin= admin
dnet.admin.password = e2d45d57c7e2941b65c6ccd64af4223e
dnet.modular.ui.authorization.manager = mockUserAuthenticationManager
# Properties for the mock authorization manager ('mockUserAuthenticationManager')
dnet.modular.ui.authorization.mock.user.id = dnet
dnet.modular.ui.authorization.mock.user.name = DNet
dnet.modular.ui.authorization.mock.user.email = dnet-team@isti.cnr.it
# Mail configuration
msro.wf.mail.smtp.host = smtp.host.eu
msro.wf.mail.smtp.user = smtp-user
msro.wf.mail.smtp.password = smtp-pwd
msro.wf.mail.cc = manager@email.eu
service.index.solr.rank.enable = true
services.publisher.oai.host = localhost
services.publisher.oai.port = 27017
services.objectstore.dao = gridFSObjectstoreDao
# AUTH
dnet.modular.ui.authorization.mongo.host = localhost
dnet.modular.ui.authorization.mongo.port = 27017
dnet.modular.ui.authorization.mongo.db = dnet_auth
dnet.modular.ui.logout.url = http://localhost:8280/${container.context}/logout
service.index.feed.repeatDelay = 2000
service.index.solr.nh.mdformat.enable = true
service.index.default.interpretation = transformed
service.index.layoutToRecordStylesheet=classpath:/eu/dnetlib/ariadneplus/index/ariadneplusLayoutToRecordStylesheet.xsl
services.registry.exist.options={\"exist:output-size-limit\":\"100000\"}
collector.sftp.auth.prvKeyPath=~/.ssh/id_rsa
collector.sftp.auth.passphrase=
collector.sftp.auth.knownHostsPath=~/.ssh/known_hosts

39
dnet-ariadneplus-container/src/main/resources/log4j.properties

@ -0,0 +1,39 @@
org.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger
log4j.rootLogger=WARN, DNET
# TO DISABLE WHEN BUILDING THE WAR
#log4j.rootLogger=WARN, CONSOLE
#
#log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
#log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
log4j.appender.DNET=org.apache.log4j.RollingFileAppender
log4j.appender.DNET.File=${catalina.base}/logs/dnet.log
log4j.appender.DNET.Append=true
log4j.appender.DNET.Encoding=UTF-8
log4j.appender.DNET.Threshold=ALL
log4j.appender.DNET.MaxFileSize=100MB
log4j.appender.DNET.MaxBackupIndex=30
log4j.appender.DNET.layout=org.apache.log4j.PatternLayout
log4j.appender.DNET.layout.ConversionPattern=%d [%t] %-5p %c- %m%n
log4j.logger.eu.dnetlib=INFO
log4j.logger.eu.dnetlib.conf.PropertyFetcher=FATAL
log4j.logger.org.apache.cxf.interceptor=FATAL
log4j.logger.org.apache.cxf.ws.addressing.ContextUtils=FATAL
log4j.logger.eu.dnetlib.xml.database.LoggingTrigger=WARN
log4j.logger.eu.dnetlib.enabling.tools.registration.ServiceRegistrator=WARN
log4j.logger.eu.dnetlib.enabling.inspector=FATAL
log4j.logger.eu.dnetlib.enabling.inspector.SubscriptionController=DEBUG
log4j.logger.eu.dnetlib.springutils.stringtemplate.StringTemplateViewResolver=FATAL
log4j.logger.eu.dnetlib.enabling.is.sn.SynchronousNotificationSenderImpl=WARN
log4j.logger.eu.dnetlib.enabling.is.store.AbstractContentInitializer=WARN
log4j.logger.gr.forth.Utils=OFF
log4j.logger.eu.delving.x3ml=FATAL
log4j.logger.eu.dnetlib.ariadneplus.workflows.nodes=DEBUG
log4j.logger.eu.dnetlib.ariadneplus.workflows.nodes.ClarinAPIGeneratorJobNode=DEBUG
log4j.logger.eu.dnetlib.ariadneplus.workflows.nodes.ClarinFileVisitor=INFO

20
dnet-ariadneplus-container/src/main/webapp/WEB-INF/applicationContext.xml

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
<import resource="classpath*:/eu/dnetlib/**/applicationContext*.xml" />
<context:annotation-config />
<!-- if the following import is not the last one, something overrides bus
configuration disabling logging and any other customized feature. -->
<import resource="./cxf.xml" />
</beans>

25
dnet-ariadneplus-container/src/main/webapp/WEB-INF/cxf.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://cxf.apache.org/core"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
<!-- CXF bus with logging. Please set the log level of org.apache.cxf.interceptor to FATAL to hide the logging of EVERY incoming and outgoing messages. -->
<cxf:bus>
<cxf:outInterceptors>
<ref bean="outCxfLoggingInterceptor"/>
</cxf:outInterceptors>
<cxf:inInterceptors>
<ref bean="inCxfLoggingInterceptor"/>
</cxf:inInterceptors>
</cxf:bus>
<bean id="outCxfLoggingInterceptor" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
<bean id="inCxfLoggingInterceptor" class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
<http:conduit name="*.http-conduit">
<http:client AllowChunking="true" Connection="Keep-Alive"/>
</http:conduit>
</beans>

25
dnet-ariadneplus-container/src/main/webapp/WEB-INF/dispatcher-servlet.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
<mvc:annotation-driven />
<context:component-scan base-package="eu.dnetlib"/>
<import resource="classpath*:/eu/dnetlib/**/webContext*.xml" />
<bean id="beanHandlerMapping" p:order="1"
class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" />
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter" />
<mvc:resources mapping="/resources/**" location="classpath:/eu/dnetlib/web/resources/" />
</beans>

56
dnet-ariadneplus-container/src/main/webapp/WEB-INF/web.xml

@ -0,0 +1,56 @@
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>DNet-2.0 container web app</display-name>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>CXFServlet</servlet-name>
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/mvc/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CXFServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
</web-app>

BIN
dnet-ariadneplus-container/src/main/webapp/images/User.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

103
dnet-ariadneplus-container/src/main/webapp/images/admin.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 KiB

BIN
dnet-ariadneplus-container/src/main/webapp/images/d-netLogo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
dnet-ariadneplus-container/src/main/webapp/images/lightui.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
dnet-ariadneplus-container/src/main/webapp/images/monitor.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

28
dnet-ariadneplus-container/src/main/webapp/index.html

@ -0,0 +1,28 @@
<table style="width :100%">
<tr><td style="text-align:center; width:100%"><a href="http://www.d-net.research-infrastructures.eu/"><img src='images/d-netLogo.png'/></a></td></tr>
</table>
<table style="width :100%">
<tr>
<td/>
<td style="text-align:center"><a href="mvc/ui/lightui.do?ui=ariadneplus"><img src='images/lightui.png' style="width:200px"/> </a></td>
</tr>
<tr>
<td/>
<td style="text-align:center">Access the Metadata Inspector to check your transformed records <a href="mvc/ui/lightui.do?ui=ariadneplus">here</a></td>
</tr>
</table>
<br/>
<h2 style="text-align: center">The following entry points require authentication:</h2>
<table style="width :100%">
<tr>
<td style="text-align:center"><a href="mvc/inspector"><img src='images/admin.svg' style="width:200px" /> </a></td>
<td style="text-align:center"><a href="mvc/ui/index.do"><img src='images/User.png' style="width:200px"/> </a></td>
<td style="text-align:center"><a href="monitoring"><img src='images/monitor.png' style="width:200px"/> </a></td>
</tr>
<tr>
<td style="text-align:center">if this container runs the IS, you can access the web interface <a href="mvc/inspector">here</a><br/></img></td>
<td style="text-align:center">if this container runs the user interfaces, you can access them <a href="mvc/ui/index.do">here</a><br/></img></td>
<td style="text-align:center">if this container is monitored, you can access the monitoring web interface <a href="monitoring">here</a></td>
</tr>
</table>

10
dnet-ariadneplus-publisher/deploy.info

@ -0,0 +1,10 @@
{
"type_source": "SVN",
"goal": "package -U source:jar",
"url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet50/modules/dnet-ariadneplus-publisher/trunk/",
"deploy_repository": "dnet5-snapshots",
"version": "5",
"mail": "sandro.labruzzo@isti.cnr.it,michele.artini@isti.cnr.it, claudio.atzori@isti.cnr.it, alessia.bardi@isti.cnr.it",
"deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet5-snapshots",
"name": "dnet-ariadneplus-publisher"
}

214
dnet-ariadneplus-publisher/pom.xml

@ -0,0 +1,214 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.6.RELEASE</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>eu.dnetlib</groupId>
<artifactId>dnet-ariadneplus-publisher</artifactId>
<packaging>jar</packaging>
<version>3.0.0-SNAPSHOT</version>
<scm>
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet50/modules/dnet-ariadneplus-publisher/trunk</developerConnection>
<url>https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/dnet-ariadneplus-publisher</url>
</scm>
<ciManagement>
<system>jenkins</system>
<url>https://jenkins-dnet.d4science.org/view/DNet50/job/DSL50_dnet-ariadneplus-publisher/</url>
</ciManagement>
<distributionManagement>
<repository>
<id>dnet5-releases</id>
<name>D-Net 5 Releases</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet5-releases</url>
<layout>default</layout>
</repository>
</distributionManagement>
<!-- Inherit defaults from Spring Boot -->
<repositories>
<repository>
<id>dnet-deps</id>
<name>dnet-dependencies</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-deps</url>
<layout>default</layout>
</repository>
<repository>
<id>dnet5-releases</id>
<name>D-Net 5 Releases</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet5-releases</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>dnet5-snapshots</id>
<name>D-Net 5 Snapshots</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet5-snapshots</url>
<layout>default</layout>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!--
<repository>
<id>gcube-snapshots</id>
<name>gCube Snapshots</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>gcube-releases</id>
<name>gCube Releases</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>gcube-externals</id>
<name>gCube Externals</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-externals</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
-->
</repositories>
<dependencies>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>9.5.1-5</version>
</dependency>
<dependency>
<groupId>virtuoso</groupId>
<artifactId>jena-driver</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>openlink</groupId>
<artifactId>virtuoso-jdbc</artifactId>
<version>4.0</version>
</dependency>
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena</artifactId>
<version>[3.3.0,4.0.0)</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>[5.0.0,6.0.0)</version>
</dependency>
<!--
<dependency>
<groupId>org.gcube.information-system</groupId>
<artifactId>ariadneplus-entities</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.gcube.information-system</groupId>
<artifactId>resource-registry-publisher</artifactId>
<version>[2.0.0-SNAPSHOT, 2.1.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>org.gcube.information-system</groupId>
<artifactId>resource-registry-client</artifactId>
<version>[2.0.0-SNAPSHOT, 2.1.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>authorization-client</artifactId>
<version>LATEST</version>
</dependency>
<dependency>
<groupId>org.gcube.information-system</groupId>
<artifactId>resource-registry-api</artifactId>
<version>[2.0.0-SNAPSHOT, 2.1.0-SNAPSHOT)</version>
</dependency>
-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>23.3-jre</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.27-incubating</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<java.version>1.8</java.version>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
</properties>
<profiles>
<profile>
<id>java8-doclint-disabled</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
</profiles>
</project>

61
dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/AppConfig.java

@ -0,0 +1,61 @@
package eu.dnetlib.ariadneplus;
import freemarker.cache.ClassTemplateLoader;
import freemarker.template.TemplateExceptionHandler;
import org.springframework.boot.web.client.RestTemplateBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
/**
* Created by Alessia Bardi on 17/10/2017.
*
* @author Alessia Bardi
*/
@Configuration
//@EnableAsync
public class AppConfig {
// @Override
// @Bean
// public Executor getAsyncExecutor() {
// ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
// executor.setCorePoolSize(7);
// executor.setMaxPoolSize(42);
// executor.setQueueCapacity(11);
// executor.setThreadNamePrefix("MyExecutor-");
// //executor.initialize();
// return executor;
// }
//
// @Override
// public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
// return new AriadnePlusAsyncUncaughtExceptionHandler();
// }
@Bean
public RestTemplate jrrRestTemplate(){
//TODO: move configuration here from CatalogueRegistrator?
return new RestTemplateBuilder().build();
}
@Bean
public freemarker.template.Configuration freemarkerConfig(){
freemarker.template.Configuration config = new freemarker.template.Configuration(freemarker.template.Configuration.VERSION_2_3_27);
ClassTemplateLoader ctl = new ClassTemplateLoader(getClass(), "/eu/dnetlib/ariadneplus/sparql");
config.setTemplateLoader(ctl);
config.setDefaultEncoding("UTF-8");
// Sets how errors will appear.
// During web page *development* TemplateExceptionHandler.HTML_DEBUG_HANDLER is better.
config.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
// Don't log exceptions inside FreeMarker that it will thrown at you anyway:
config.setLogTemplateExceptions(false);
// Wrap unchecked exceptions thrown during template processing into TemplateException-s.
config.setWrapUncheckedExceptions(true);
return config;
}
}

24
dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/AriadnePlusAsyncUncaughtExceptionHandler.java

@ -0,0 +1,24 @@
package eu.dnetlib.ariadneplus;
import java.lang.reflect.Method;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;
/**
* Created by Alessia Bardi on 17/10/2017.
*
* @author Alessia Bardi
*/
public class AriadnePlusAsyncUncaughtExceptionHandler implements AsyncUncaughtExceptionHandler {
private static final Log log = LogFactory.getLog(AriadnePlusAsyncUncaughtExceptionHandler.class);
@Override
public void handleUncaughtException(final Throwable throwable, final Method method, final Object... objects) {
log.error("Method Name::"+method.getName());
log.error("Exception occurred::"+ throwable);
}
}

19
dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/AriadnePlusPublisherApplication.java

@ -0,0 +1,19 @@
package eu.dnetlib.ariadneplus;
/**
* Created by Alessia Bardi on 09/08/2017.
*
* @author Alessia Bardi
*/
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class AriadnePlusPublisherApplication {
public static void main(String[] args) {
SpringApplication.run(AriadnePlusPublisherApplication.class, args);
}
}

2986
dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/CRM.java

File diff suppressed because it is too large Load Diff

525
dnet-ariadneplus-publisher/src/main/java/eu/dnetlib/ariadneplus/CRMdig.java

@ -0,0 +1,525 @@
package eu.dnetlib.ariadneplus;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.rdf.model.Property;
import org.apache.jena.rdf.model.Resource;
/**
* Vocabulary definitions from http://www.ics.forth.gr/isl/CRMext/CRMdig_v3.2.1.rdfs
*
* @author Auto-generated by schemagen on 29 Sep 2017 15:54
*/
public class CRMdig {
/**
* <p>The RDF model that holds the vocabulary terms</p>
*/
private static final Model M_MODEL = ModelFactory.createDefaultModel();
/**
* <p>The namespace of the vocabulary as a string</p>
*/
public static final String NS = "http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/";
/**
* <p>The URL to the online schema as a string</p>
*/
public static final String RDFS_URL = "http://www.ics.forth.gr/isl/CRMext/CRMdig_v3.2.2.rdfs";
/**
* <p>The namespace of the vocabulary as a string</p>
*
* @return namespace as String
* @see #NS
*/
public static String getURI() {
return NS;
}
/**
* <p>The namespace of the vocabulary as a resource</p>
*/
public static final Resource NAMESPACE = M_MODEL.createResource(NS);
/**
* <p>This property associates an instance of D7 Digital Machine Event with an instance
* of D1 Digital Object which is the input used to specify the machine action.
* This property is a specialisation of P16 used specific object(was used for).</p>
*/
public static final Property L10_had_input = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L10_had_input");
public static final Property L10i_was_input_of = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L10i_was_input_of");
/**
* <p>This property associates an instance of D7 Digital Machine Event with an instance
* of D1 Digital Object which is the output of the activity. This property is
* a specialisation of P94 has created (was created by).</p>
*/
public static final Property L11_had_output = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L11_had_output");
public static final Property L11i_was_output_of = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L11i_was_output_of");
/**
* <p>This property associates an instance of D7 Digital Machine Event with an object,
* the D8 Digital Device, which happened with, e.g a capturing event that happened
* on/with a digital camera, etc. This property is a specialisation of P12 occurred
* in the presence of (was present at).</p>
*/
public static final Property L12_happened_on_device = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L12_happened_on_device");
public static final Property L12i_was_device_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L12i_was_device_for");
/**
* <p>This property associates an instance of D10 Software Execution with a digital
* object used as a parameter during the process.This property is a specialisation
* of L1O had input (was input of).</p>
*/
public static final Property L13_used_parameters = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L13_used_parameters");
public static final Property L13i_parameters_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L13i_parameters_for");
/**
* <p>This property identifies a digital object transferred by a D12 Data Transfer
* Event. This property is a specialisation of L11 had output (was output of).</p>
*/
public static final Property L14_transferred = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L14_transferred");
public static final Property L14i_was_transferred_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L14i_was_transferred_by");
/**
* <p>This property identifies a digital device used as a medium on which data are
* transferred through a D12 Data Transfer Event.</p>
*/
public static final Property L15_has_sender = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L15_has_sender");
public static final Property L15i_was_sender_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L15i_was_sender_for");
/**
* <p>This property identifies a digital device used as a medium to receive data
* through a D12 Data Transfer Event.</p>
*/
public static final Property L16_has_receiver = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L16_has_receiver");
public static final Property L16i_was_receiver_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L16i_was_receiver_for");
/**
* <p>This property associates an instance of D11 Digital Measurement Event with
* the instance of E55 Type of object to which it applied. This property is a
* specialisation of P125 used object of type.</p>
*/
public static final Property L17_measured_thing_of_type = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L17_measured_thing_of_type");
public static final Property L17i_was_type_of_thing_measured_by =
M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L17i_was_type_of_thing_measured_by");
/**
* <p>This property identifies a Digital Information Carrier modified in a Digital
* Machine Event. This property is a specialisation of P31 has modified.</p>
*/
public static final Property L18_has_modified = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L18_has_modified");
public static final Property L18i_was_modified_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L18i_was_modified_by");
/**
* <p>This property associates an instance of a D13 Digital Information Carrier
* with the instance of Digital Object that is stored on it. This property is
* a specialisation of P128 carries.</p>
*/
public static final Property L19_stores = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L19_stores");
public static final Property L19i_is_stored_on = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L19i_is_stored_on");
/**
* <p>This property associates an instance of D2 Digitization Process with an instance
* of E18 Physical Thing which is a material thing. This property is a specialisation
* of P39 measured (was measured by).</p>
*/
public static final Property L1_digitized = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L1_digitized");
public static final Property L1i_was_digitized_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L1i_was_digitized_by");
/**
* <p>This property identifies a Data Object that came into existence as a result
* of a D11 Digital Measurement Event. This property is a specialisation of P40
* observed dimension and L11 had output.</p>
*/
public static final Property L20_has_created = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L20_has_created");
public static final Property L20i_was_created_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L20i_was_created_by");
/**
* <p>This property associates an instance of a D3 Formal Derivation with the instance
* of D1 Digital Object that is used as a derivation source.</p>
*/
public static final Property L21_used_as_derivation_source = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L21_used_as_derivation_source");
public static final Property L21i_was_derivation_source_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L21i_was_derivation_source_for");
/**
* <p>This property associates an instance of D3 Formal Derivation with the Digital
* Object it used to create a version of. This property is a specialisation of
* L11 had output.</p>
*/
public static final Property L22_created_derivative = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L22_created_derivative");
public static final Property L22i_was_derivative_created_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L22i_was_derivative_created_by");
/**
* <p>This property associates an instance of D7 Digital Machine Event with the
* instance of D14 Software that had used. This property is a specialisation
* of P16 used specific object.</p>
*/
public static final Property L23_used_software_or_firmware = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L23_used_software_or_firmware");
public static final Property L23i_was_software_or_firmware_used_by =
M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L23i_was_software_or_firmware_used_by");
/**
* <p>This property identifies the logfile that was created by a D10 Software Execution
* in order to record all the activities in the system.</p>
*/
public static final Property L24_created_logfile = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L24_created_logfile");
public static final Property L24i_was_logfile_created_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L24i_was_logfile_created_by");
/**
* <p>This property describes the participation of a Legal Body in being responsible
* for the outcome of a specific activity. This property is a specialisation
* of P14 carried out by.</p>
*/
public static final Property L29_has_responsible_organization =
M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L29_has_responsible_organization");
public static final Property L29i_is_responsible_organization_for =
M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L29i_is_responsible_organization_for");
/**
* <p>This property associates an instance of D10 Software Execution with an instance
* of D1 Digital Object which is used as a source, a software essential for the
* performance. This property is a specialisation of L10F had input (was input
* of).</p>
*/
public static final Property L2_used_as_source = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L2_used_as_source");
public static final Property L2i_was_source_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L2i_was_source_for");
/**
* <p>This property describes the activity that is being operated by a person. This
* property is a specialisation of P14 carried out by.</p>
*/
public static final Property L30_has_operator = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L30_has_operator");
public static final Property L30i_is_operator_of = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L30i_is_operator_of");
/**
* <p>This property allows the starting point for a D7 Digital Machine Event to
* be situated. This property expresses the approximation of the starting date
* of a time span.</p>
*/
public static final Property L31_has_starting_date_time = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L31_has_starting_date-time");
/**
* <p>This property allows the ending point for a D7 Digital Machine Event to be
* situated. This property expresses the approximation of the ending date of
* a time span.</p>
*/
public static final Property L32_has_ending_date_time = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L32_has_ending_date-time");
/**
* <p>This property identifies the maker, the actor who is responsible for the production
* of a device, a computer, a digital camera, any kind of a machine that has
* been produced. This property is a shortcut of a more fully developed path
* from CRM E12 Production:P108 has produced:E24 Physical Man-Made Thing. In
* this case, there is no need to describe the more detailed property through
* a production event,so L33 has maker is reccomended to be used instead.</p>
*/
public static final Property L33_has_maker = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L33_has_maker");
public static final Property L33i_is_maker_of = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L33i_is_maker_of");
/**
* <p>This property describes the participation of a Legal Body in being contractor
* for the outcome of a specific activity. This property is a specialisation
* of L29_has_responsible_organization.</p>
*/
public static final Property L34_has_contractor = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L34_has_contractor");
public static final Property L34i_is_contractor_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L34i_is_contractor_for");
/**
* <p>This property describes the participation of a Legal Body in being commissioner
* for the outcome of a specific activity. This property is a specialisation
* of L29_has_responsible_organization.</p>
*/
public static final Property L35_has_commissioner = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L35_has_commissioner");
public static final Property L35i_is_commissioner_for = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L35i_is_commissioner_for");
/**
* <p>This property describes the associations between objects or areas of objects
* of the RI, with other objects or regions or persons, places, events..</p>
*/
public static final Property L43_annotates = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L43_annotates");
public static final Property L43i_is_annotated_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L43i_is_annotated_by");
/**
* <p>This property is a specialisation of P3 has note and associates a comment
* with an instance of an object E1 CRM Entity.</p>
*/
public static final Property L47_has_comment = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L47_has_comment");
/**
* <p>This property identifies the D29 Annotation Object (associations) that came
* into existence as a result of a D30 Annotation Event. This property is a specialisation
* of P94 has created.</p>
*/
public static final Property L48_created_annotation = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L48_created_annotation");
public static final Property L48i_was_annotation_created_by = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L48i_was_annotation_created_by");
/**
* <p>This property describes the association between a particular area declared
* in an original digital object. This property is a specialisation of P106 is
* composed of.</p>
*/
public static final Property L49_is_primary_area_of = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L49_is_primary_area_of");
public static final Property L49i_has_primary_area = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L49i_has_primary_area");
/**
* <p>This property associates an instance of E1 Entity with an instance of resource
* used as a preferred lexical label. This property is a specialisation of rdf
* schema label.</p>
*/
public static final Property L4_has_preferred_label = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L4_has_preferred_label");
/**
* <p>This property describes the association between an area and the digital object
* to which it is propagated. This property is a specialisation of P106 is composed
* of.</p>
*/
public static final Property L50_is_propagated_area_of = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L50_is_propagated_area_of");
public static final Property L50i_has_propagated_area = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L50i_has_propagated_area");
/**
* <p>This property defines a personal name used to identify a person.</p>
*/
public static final Property L51_has_first_name = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L51_has_first_name");
/**
* <p>This property defines the last name used to identify a person. This property
* is a specialisation of L4 has preferred label.</p>
*/
public static final Property L52_has_last_name = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L52_has_last_name");
/**
* <p>This property describes a non unique identification applied to E1 CRM Entity.</p>
*/
public static final Property L53_is_not_uniquely_identified_by =
M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L53_is_not_uniquely_identified_by");
/**
* <p>This property describes the association kind of "same as" between objects.
* It is used to declare that two or more objects are exactly the same.</p>
*/
public static final Property L54_is_same_as = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L54_is_same-as");
/**
* <p>This property describes the association kind of "same as" between objects.
* It is used to declare that two or more objects are exactly the same.</p>
*/
public static final Property L54i_is_same_as = M_MODEL.createProperty("http://www.ics.forth.gr/isl/CRMext/CRMdig.rdfs/L54i_is_same-as");
/**
* <p>This property records the inventory number that was used to identify an instance
* of E1 CRM Entity at the time this property was record. This property is a
* specialisation of L53F is not uniquely identified by.</p>
*/