Skip to content

Commit 2db895c

Browse files
author
Justin Makeig
committed
Adds instructions to generate the Data Services proxy
1 parent d9a1a0c commit 2db895c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/data-services/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ Next, run the following Gradle task to deploy the example application:
1717
This creates an app server suitable for Data Services - i.e. one without a rewriter. It also creates a user named
1818
"data-services-example-user" which demonstrates the minimum set of roles needed to invoke a Data Services endpoint.
1919

20+
To generate the `org.example.HelloWorld` proxy class, run:
21+
22+
```shell
23+
gradle generateHelloWorld
24+
```
25+
26+
Take a look at `build.gradle` to see how this task is implemented using `com.marklogic.client.tools.gradle.EndpointProxiesGenTask`.
27+
2028
You can then test the application either by running the following Gradle task:
2129

2230
```shell

0 commit comments

Comments
 (0)