Hi Fabian,
On Mon, Jul 9, 2012 at 8:35 AM, Fabian Christ <[email protected]> wrote:
>
> My question: Does this mean that one Entityhub instance can be used as
> a ManagedSite for another EntityHub instance? I was just wondering if
> it would make sense to have something like a network of Entityhubs.
I do not fully understand your question, but let me try to clarify the
intension of STANBOL-673.
Currently Enittyhub is used for two things:
(1) the /entityhub endpoint allowing to
create/update/delete/find/query locally managed entities.
(2) The Apache Stanbol Entityhub a a whole including "/entityhub" (1),
the ReferencedSiteManager "/sites" and ReferencedSites
"/site/{siteId}"
ManagedSite (STANBOL-673) are supposed to be a special kind of
ReferencedSite that provide the same create/update/delete/find/query
as "/entityhub" (1). However while there can only be a single instance
of (1) users will be able to configure MULTIPLE ManagedSites. So if
the need to manage different sets of Entities for different use-cases.
They can now do so by creating multiple ManagedSite instance.
ManagedSites will support the same RESTful API as the "/entityhub" but
will be available under the same URL pattern as Referenced sites -
"http://{stanbol-instance}/entityhub/site/{siteId}". So if you want to
create/update an Entity on the ManagedSite with the siteId
"myVocabulary" you will use something like
curl -i -X PUT -H "Content-Type:application/rdf+xml" -T {data.rdf}
"http://localhost:8080/entityhub/site/myVocabulary/entity
Note also that Entities of ManagedSites will be also accessible via
the ReferencedSiteManager (the "/sites" endpoint) what is currently
not the case for Entities managed by the "/entityhub"
While ManagedSite (STANBOL-673) will keep backward compatibility on
the RESTful service level it introduces Java API changes. Because of
that I created a branch for Entityhub version 0.10 [1] and increased
the version of all modules of the trunk to 0.11.0-indubating-SNAPSHOT.
The branch is intended to be used for fixing Issues and creating
maintenance release for 0.10.0-indubationg (e.g. a possible
0.10.1-incubating release of the SolrYard that fixes STANBOL-668 and
STANBOL-669).
best
Rupert
[1] http://svn.apache.org/repos/asf/incubator/stanbol/branches/entityhub-0.10/
--
| Rupert Westenthaler [email protected]
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen