-
Notifications
You must be signed in to change notification settings - Fork 10
Databus 2.x Migration Notes
JJ-Author edited this page Jun 28, 2023
·
18 revisions
- change plugin version snapshot number to 2.0
<version>2.0-SNAPSHOT</version>
the new 2.1 plugin needs (new) config parameters to be changed that can be either defined in the POM xml or (recommended) provided as a profile e.g in the settings.xml
- provide API key via new field
databus.apiKey
- provide Databus Endpoint to use with new field
databus.deployRepoURL
- change
databus.publisher
to Databus account URI (need to discuss)
this can be done on global or user-level by configuring settings.xml
in e.g. 2 ways
<activeProfiles>
<activeProfile>dev-deploy</activeProfile>
</activeProfiles>
<profiles>
<profile>
<id>dev-deploy</id>
<properties>
<databus.apiKey>
[your api key]
</databus.apiKey>
<databus.deployRepoURL>
https://dev.databus.dbpedia.org/api/publish
</databus.deployRepoURL>
<databus.publisher>https://dev.databus.dbpedia.org/[<<<<<<<<<<youruser>>>>>>>>>>]#this</databus.publisher>
</properties>
</profile>
</profiles>
or in a even more flexible way using a file that indicates on publisher or group or artifact level which profile is to be used
<profiles>
<profile>
<id>dev-databus-dnkg-user</id>
<activation>
<file><exists>../_use-account-dev-databus-dnkg_</exists></file>
</activation>
<properties>
<databus.apiKey>0217f085-121e-4364-aee8-e3002fdbbd1a</databus.apiKey>
<databus.deployRepoURL>https://dev.databus.dbpedia.org/api/publish</databus.deployRepoURL>
<databus.publisher>https://dev.databus.dbpedia.org/dnkg#this</databus.publisher>
</properties>
</profile>
</profiles>
- rename
<downloadUrlPath>
to<absoluteDCATDownloadUrlPath>
and add<databus.downloadUrlPath>
to have the Dataset ID not in decentralized form (i.e. download URL - e.g. https://vmdbpedia.informatik.uni-leipzig.de/repo/dnkg/raw-exports/dnb/2022.10.13#Dataset ) correct form with Databus version prefix.
- <databus.downloadUrlPath>https://vdbpedia.informatik.uni-leipzig.de/repo/${databus.publisher.name}/${project.groupId}/${project.artifactId}/${project.version}/</databus.downloadUrlPath>
+ <databus.downloadUrlPath>https://dev.databus.dbpedia.org/${databus.publisher.name}/${project.groupId}/${project.artifactId}/${project.version}/</databus.downloadUrlPath>
+ <databus.absoluteDCATDownloadUrlPath>https://vdbpedia.informatik.uni-leipzig.de/${databus.publisher.name}/${project.groupId}/${project.artifactId}/${project.version}/</databus.absoluteDCATDownloadUrlPath>