Skip to content

Upgrade Notes

Andreas Schwarte edited this page Apr 8, 2019 · 1 revision

On this page we list some hints for upgrading major versions

5.x to 6.x

The 6.x release is not backwards compatible to the previous release. The following (minor) adjustments need to be considered when upgrading

Data configuration

In the data configuration the central namespace for properties has been modified. In addition, partially different properties are used. Existing configurations need to be adjusted to the new vocabulary.

Before:

@prefix fluid: <http://fluidops.org/config#>.

<http://DBpedia> fluid:store "SPARQLEndpoint";
fluid:SPARQLEndpoint "http://dbpedia.org/sparql";
fluid:supportsASKQueries "false" .

Now:

@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
@prefix fedx: <http://www.fluidops.com/config/fedx#> .

<http://DBpedia> a sd:Service ;
	fedx:store "SPARQLEndpoint";
	sd:endpoint "http://dbpedia.org/sparql";
	fedx:supportsASKQueries false .

See also [[here|FedX-Data-Configuration] for more examples.

Code refactorings

In the 6.x release various code refactorings have been done, including

  • The Endpoint construct has now become an interface and is moved to the com.fluidops.fedx.endpoint package
  • The return type of the FedX Factory class is now a com.fluidops.fedx.repository.FedXRepository
Clone this wiki locally