Skip to content

Commit 367e3ad

Browse files
committed
Starting working on the page describing interaction with the repository
1 parent c34d0ae commit 367e3ad

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

website/docs/Guides/working-with-repository.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,12 @@ sidebar_position: 44
55

66
# Working with the LionWeb Repository
77

8-
Working with the [LionWeb Repository](https://github.com/LionWeb-io/lionweb-repository) we can store and retrieve nodes. It is also a mean to exchange models with other LionWeb-compliant components. You can refer to the website of the LionWeb Repository to learn how to start it.
8+
Working with the [LionWeb Repository](https://github.com/LionWeb-io/lionweb-repository) we can store and retrieve nodes.
9+
It is also a mean to exchange models with other LionWeb-compliant components. You can refer to the website of the
10+
LionWeb Repository to learn how to start it.
911

10-
This page provides an overview of how to interact with the repository using the provided Java client and outlines the basic concepts involved.
11-
12-
## Using Gradle
13-
14-
Add the following to your `build.gradle` or `build.gradle.kts`:
15-
16-
```kotlin
17-
dependencies {
18-
// Previously added
19-
implementation("io.lionweb.lionweb-java:lionweb-java-2024.1-core:$lionwebVersion")
20-
// Specific for working with the LionWeb Repository
21-
implementation("io.lionweb.lionweb-java:lionweb-java-2024.1-repo-client:$lionwebVersion")
22-
}
23-
```
12+
This page provides an overview of how to interact with the repository using the provided Python client and outlines the
13+
basic concepts involved.
2414

2515
## Overview
2616

@@ -37,12 +27,11 @@ In this guide we will only focus on the Bulk APIs.
3727

3828
## Working with the Bulk APIs
3929

40-
It offers REST APIs for communication, which are wrapped in a convenient Java client: `LionWebRepoClient`. This client supports features like:
30+
It offers REST APIs for communication, which are wrapped in a convenient Python client: `RepoClient`. This client supports features like:
4131

4232
- Creating and managing **partitions** (top-level model containers)
4333
- Storing and retrieving **nodes**
4434
- Supporting multiple **LionWeb versions**
45-
- Providing hooks for **functional testing**
4635

4736
## Example Usage
4837

@@ -78,4 +67,5 @@ assertEquals(p1, retrievedNodes1.get(0));
7867

7968
### Creating partitions
8069

81-
Something to keep in mind is that the LionWeb Repository will only let us create partitions without children. So, we may need to create a partition and only then add children to it by invoking **store**.
70+
Something to keep in mind is that the LionWeb Repository will only let us create partitions without children.
71+
So, we may need to create a partition and only then add children to it by invoking **store**.

0 commit comments

Comments
 (0)