Re: Dataset management API

2023-07-13 Thread Andy Seaborne




On 13/07/2023 21:09, Martynas Jusevičius wrote:

Andy,

Where are the dataset definitions created through the API persisted?


run/configuration


Are they merged with the datasets defined in the config file, or how
does it work?


--config and run/configuration contribute services. Avoid name clashes.

Andy



Martynas

On Sun, 2 Jul 2023 at 19.03, Andy Seaborne  wrote:




On 02/07/2023 13:23, Martynas Jusevičius wrote:

Hi,

Can I see an example of the data that needs to be POSTed to /$/datasets

in

order to create a new dataset+service?

The API is documented here but the data example is missing:


https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html#adding-a-dataset-and-its-services


I hope it’s the same data that is used in the config file?


the service part - or parameters dbType and dbname

ActionDatasets.java




https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html#defining-the-service-name-and-endpoints-available


Are there any practical limits on the number of datasets/services?


No.

Each database takes up some memory which is more than the management
information of a configuration.

  Andy



Thanks.

Martynas







Re: Dataset management API

2023-07-13 Thread Martynas Jusevičius
I realised the dataset management API is only available in
fuseki-webapp and not fuseki-main. That's unfortunate.

On Thu, Jul 13, 2023 at 10:09 PM Martynas Jusevičius
 wrote:
>
> Andy,
>
> Where are the dataset definitions created through the API persisted?
> Are they merged with the datasets defined in the config file, or how does it 
> work?
>
> Martynas
>
> On Sun, 2 Jul 2023 at 19.03, Andy Seaborne  wrote:
>>
>>
>>
>> On 02/07/2023 13:23, Martynas Jusevičius wrote:
>> > Hi,
>> >
>> > Can I see an example of the data that needs to be POSTed to /$/datasets in
>> > order to create a new dataset+service?
>> >
>> > The API is documented here but the data example is missing:
>> > https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html#adding-a-dataset-and-its-services
>> >
>> > I hope it’s the same data that is used in the config file?
>>
>> the service part - or parameters dbType and dbname
>>
>> ActionDatasets.java
>>
>> > https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html#defining-the-service-name-and-endpoints-available
>> >
>> > Are there any practical limits on the number of datasets/services?
>>
>> No.
>>
>> Each database takes up some memory which is more than the management
>> information of a configuration.
>>
>>  Andy
>>
>> >
>> > Thanks.
>> >
>> > Martynas
>> >


Re: Dataset management API

2023-07-13 Thread Martynas Jusevičius
Andy,

Where are the dataset definitions created through the API persisted?
Are they merged with the datasets defined in the config file, or how
does it work?

Martynas

On Sun, 2 Jul 2023 at 19.03, Andy Seaborne  wrote:

>
>
> On 02/07/2023 13:23, Martynas Jusevičius wrote:
> > Hi,
> >
> > Can I see an example of the data that needs to be POSTed to /$/datasets
> in
> > order to create a new dataset+service?
> >
> > The API is documented here but the data example is missing:
> >
> https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html#adding-a-dataset-and-its-services
> >
> > I hope it’s the same data that is used in the config file?
>
> the service part - or parameters dbType and dbname
>
> ActionDatasets.java
>
> >
> https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html#defining-the-service-name-and-endpoints-available
> >
> > Are there any practical limits on the number of datasets/services?
>
> No.
>
> Each database takes up some memory which is more than the management
> information of a configuration.
>
>  Andy
>
> >
> > Thanks.
> >
> > Martynas
> >
>


Re: Dataset management API

2023-07-02 Thread Andy Seaborne




On 02/07/2023 13:23, Martynas Jusevičius wrote:

Hi,

Can I see an example of the data that needs to be POSTed to /$/datasets in
order to create a new dataset+service?

The API is documented here but the data example is missing:
https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html#adding-a-dataset-and-its-services

I hope it’s the same data that is used in the config file?


the service part - or parameters dbType and dbname

ActionDatasets.java


https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html#defining-the-service-name-and-endpoints-available

Are there any practical limits on the number of datasets/services?


No.

Each database takes up some memory which is more than the management 
information of a configuration.


Andy



Thanks.

Martynas



Dataset management API

2023-07-02 Thread Martynas Jusevičius
Hi,

Can I see an example of the data that needs to be POSTed to /$/datasets in
order to create a new dataset+service?

The API is documented here but the data example is missing:
https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html#adding-a-dataset-and-its-services

I hope it’s the same data that is used in the config file?
https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html#defining-the-service-name-and-endpoints-available

Are there any practical limits on the number of datasets/services?

Thanks.

Martynas