Skip to content

Commit f3c5825

Browse files
Update README.md (#38)
Removing the internal consumption process from the README.md
1 parent e0ca564 commit f3c5825

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

README.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -17,50 +17,6 @@ You can emit the following types of audit log events:
1717

1818
Official CAP documentation can be found [here](https://pages.github.tools.sap/cap/docs/java/auditlog).
1919

20-
# Consumption
21-
22-
To consume the Audit Log Service NG, follow these steps:
23-
24-
1. Complete the onboarding [process](https://jira.tools.sap/browse/ALSREQ-163).
25-
2. Create a [user-provided service instance](https://docs.cloudfoundry.org/devguide/services/user-provided.html) in Cloud Foundry with the following credentials:
26-
27-
```json
28-
{
29-
"url": "als-endpoint",
30-
"region": "als-region",
31-
"namespace": "registered namespace",
32-
"cert": "-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----",
33-
"key": "-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----",
34-
"passphrase": "private key pass phrase" // optional
35-
}
36-
```
37-
38-
Example command:
39-
```sh
40-
cf cups auditlog-ng -p '{
41-
"url": "https://your-als-endpoint",
42-
"region": "your-region",
43-
"namespace": "your-namespace",
44-
"cert": "-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----",
45-
"key": "-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----",
46-
"passphrase": "your-passphrase"
47-
}' -t auditlog-ng
48-
```
49-
50-
3. Bind the user-provided service instance to your application:
51-
```
52-
cf bind-service <your-app-name> auditlog-ng
53-
```
54-
55-
4. Add the Maven Dependency
56-
```xml
57-
<dependency>
58-
<groupId>com.sap.cds</groupId>
59-
<artifactId>cds-feature-auditlog-ng</artifactId>
60-
<version>auditlog-ng.version</version> <!-- e.g 1.0.4-SNAPSHOT -->
61-
</dependency>
62-
```
63-
6420
# Testing
6521

6622
For both local and cloud testing, refer to the [cloud-cap-samples-java](https://github.com/SAP-samples/cloud-cap-samples-java) repository and follow the instructions provided in its README.

0 commit comments

Comments
 (0)