You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
@@ -154,37 +154,35 @@ The Storage viewer uses the Spark micro framework from http://sparkjava.com/ as
154
154
155
155
To provide a custom configured server just create an Spark.service and initialize the StorageRestService with this Spark.service
156
156
157
-
```
157
+
```java
158
158
finalService service =Service.ignite().port(port);
159
159
finalStorageRestServiceSparkJava service =RestServiceResolver.getType(storage, StorageRestServiceSparkJava.class);
160
160
service.setSparkService(sparkService);
161
161
service.start();
162
162
```
163
163
164
164
#### 5.1.1 Url Root
165
-
To set an other url root then 'microstream' use the constructor:
165
+
To set another url root then 'microstream' use the constructor:
166
166
167
-
```
167
+
```java
168
168
finalStorageRestServiceSparkJava service =RestServiceResolver.getType(storage, StorageRestServiceSparkJava.class);
169
169
service.setInstanceName(storageName);
170
170
service.start();
171
-
172
171
```
173
172
174
173
#### 5.1.2 Port
175
-
To set an other port then the default port 4567 it is required to provide a custom configured Spark Server session to the StorageRestService constructor:
174
+
To set another port then the default port 4567 it is required to provide a custom configured Spark Server session to the StorageRestService constructor:
176
175
177
-
```
176
+
```java
178
177
finalService service =Service.ignite().port(port);
179
178
finalStorageRestServiceSparkJava service =RestServiceResolver.getType(storage, StorageRestServiceSparkJava.class);
180
179
service.setSparkService(sparkService);
181
180
service.start();
182
-
183
181
```
184
182
185
183
### 5.2 Logging
186
184
To enable logging add the following dependency to the project:
0 commit comments