EVGENIAST / cumulusrdf

Automatically exported from code.google.com/p/cumulusrdf
0 stars 0 forks source link

HTTPRepository > Support multiple Repositories #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Related to issue 21. Support multiple Repositories.

See: 
http://openrdf.callimachus.net/sesame/2.7/apidocs/org/openrdf/repository/http/HT
TPRepository.html

Original issue reported on code.google.com by andreas.josef.wagner on 15 Apr 2014 at 1:11

GoogleCodeExporter commented 8 years ago
I think we must move this RepositoryManager.java in the core module. The 
RepositoryManager must have

(1) a persistent (!) storage (e.g., the persistent maps in the package 
edu.kit.aifb.cumulus.util.hector)
(2) provide the following information/triples:
* name of all cumulusRDF stores
* for each cumulusRDF store its configuration

Original comment by andreas.josef.wagner on 20 Apr 2014 at 1:42

GoogleCodeExporter commented 8 years ago
Link to RepositoryManager.java: 
https://code.google.com/p/cumulusrdf/source/browse/branches/1.1.0/cumulusrdf-web
-module/src/main/java/edu/kit/aifb/cumulus/webapp/RepositoryManager.java?r=1116

Original comment by andreas.josef.wagner on 20 Apr 2014 at 1:43

GoogleCodeExporter commented 8 years ago
Yes, that's a good idea to create a Manager for with the functions listed 
above. Shall we have a talk in detail about :

1. how to implement it based on Spring. 

2. how to integrated it with the current code.

Original comment by mayong...@gmail.com on 22 Apr 2014 at 11:07

GoogleCodeExporter commented 8 years ago
As a summary of the RepositoryManager:

1. the class is moved to the core module.
2. a persistent storage of configurations, and a in-memory map for maintain all 
the opened repositories
3. support add/remove repositories to/from the in-memory map
4. support add/load/delete configurations to/from the persistent storage 
according to the keyspace name
5. support load repository operation for a given keyspace name. 
6. support create a new repository according to the recent configuration that 
has been used. 

Original comment by mayong...@gmail.com on 22 Apr 2014 at 2:59