Skip to content

Commit 16c887a

Browse files
authored
Merge branch 'vnext-release' into updateEks
2 parents 8ce0f09 + a5474e5 commit 16c887a

File tree

10 files changed

+582
-2
lines changed

10 files changed

+582
-2
lines changed

.secrets.baseline

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2025-10-21T13:44:47Z",
6+
7+
"generated_at": "2025-10-22T13:19:14Z",
78
"plugins_used": [
89
{
910
"name": "AWSKeyDetector"
@@ -517,6 +518,36 @@
517518
"verified_result": null
518519
}
519520
],
521+
"authentication/mutual-tls/README.md": [
522+
{
523+
"hashed_secret": "41b864c967d31ed0bf10562e22faa36324405048",
524+
"is_secret": false,
525+
"is_verified": false,
526+
"line_number": 101,
527+
"type": "Secret Keyword",
528+
"verified_result": null
529+
}
530+
],
531+
"authentication/mutual-tls/ocp-no-authorization-values.yaml": [
532+
{
533+
"hashed_secret": "fd1daf2e350a06b865f4a1e17bb39183b806c1e9",
534+
"is_secret": false,
535+
"is_verified": false,
536+
"line_number": 22,
537+
"type": "Secret Keyword",
538+
"verified_result": null
539+
}
540+
],
541+
"authentication/mutual-tls/ocp-values.yaml": [
542+
{
543+
"hashed_secret": "fd1daf2e350a06b865f4a1e17bb39183b806c1e9",
544+
"is_secret": false,
545+
"is_verified": false,
546+
"line_number": 21,
547+
"type": "Secret Keyword",
548+
"verified_result": null
549+
}
550+
],
520551
"configuration/custom-external-database/sample-datasource-dc-oracle.xml": [
521552
{
522553
"hashed_secret": "431364b6450fc47ccdbf6a2205dfdb1baeb79412",
@@ -1125,6 +1156,16 @@
11251156
"verified_result": null
11261157
}
11271158
],
1159+
"ocp-values.yaml": [
1160+
{
1161+
"hashed_secret": "fd1daf2e350a06b865f4a1e17bb39183b806c1e9",
1162+
"is_secret": false,
1163+
"is_verified": false,
1164+
"line_number": 21,
1165+
"type": "Secret Keyword",
1166+
"verified_result": null
1167+
}
1168+
],
11281169
"platform/azure/README.md": [
11291170
{
11301171
"hashed_secret": "07596f183f5e91b1778d5e47b2752b8d42aa763d",

authentication/Okta/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ In this step, we augment the token with meta-information that is required by the
322322
```
323323
```
324324
NAME CHART VERSION APP VERSION DESCRIPTION
325-
ibm-helm/ibm-odm-prod 25.0.0 9.5.0.0 IBM Operational Decision Manager
325+
ibm-helm/ibm-odm-prod 25.0.1 9.5.0.1 IBM Operational Decision Manager
326326
```
327327
328328
3. Run the `helm install` command.
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
import java.io.IOException;
2+
import java.time.Duration;
3+
import java.net.HttpURLConnection;
4+
import java.net.URI;
5+
6+
import java.net.http.HttpClient;
7+
import java.net.http.HttpRequest;
8+
import java.net.http.HttpResponse;
9+
import java.nio.file.Files;
10+
import java.nio.file.Path;
11+
12+
public class DecisionServiceExecution {
13+
14+
public static void main(String[] args) {
15+
16+
String endpointURI = "https://<DECISION_SERVER_RUNTIME_ROUTE>/DecisionService/rest/v1/production_deployment/1.0/loan_validation_production/1.0";
17+
18+
Path payloadFilePath = Path.of("./payload.json");
19+
20+
System.setProperty("javax.net.ssl.trustStore", "./server-truststore.p12");
21+
System.setProperty("javax.net.ssl.trustStorePassword", "<TRUSTSTORE-PASSWORD>");
22+
System.setProperty("javax.net.ssl.trustStoreType", "PKCS12");
23+
24+
System.setProperty("javax.net.debug","ssl:handshake");
25+
26+
System.setProperty("javax.net.ssl.keyStore", "./client-keystore.p12");
27+
System.setProperty("javax.net.ssl.keyStorePassword", "<KEYSTORE-PASSWORD>");
28+
System.setProperty("javax.net.ssl.keyStoreType", "PKCS12");
29+
30+
31+
// Create client
32+
HttpClient client = HttpClient.newBuilder()
33+
.version(HttpClient.Version.HTTP_2)
34+
.connectTimeout(Duration.ofSeconds(10))
35+
.build();
36+
37+
try {
38+
39+
// POST request with JSON
40+
HttpRequest postRequest = null;
41+
try {
42+
postRequest = HttpRequest.newBuilder()
43+
.uri(URI.create(endpointURI))
44+
.header("Content-Type", "application/json")
45+
.header("Authorization", "Basic b2RtQWRtaW46b2RtQWRtaW4=") // Can be commented if executed without authorization
46+
.POST(HttpRequest.BodyPublishers.ofString(Files.readString(payloadFilePath)))
47+
.build();
48+
} catch (IOException e) {
49+
// TODO Auto-generated catch block
50+
e.printStackTrace();
51+
}
52+
53+
// Send request and get response
54+
HttpResponse<String> postResponse;
55+
try {
56+
postResponse = client.send(postRequest, HttpResponse.BodyHandlers.ofString());
57+
if (postResponse.statusCode() != HttpURLConnection.HTTP_OK) {
58+
System.err.println("Error with status Code: " + postResponse.statusCode());
59+
} else {
60+
System.out.println(postResponse.body());
61+
}
62+
} catch (IOException e) {
63+
// TODO Auto-generated catch block
64+
e.printStackTrace();
65+
} catch (InterruptedException e) {
66+
// TODO Auto-generated catch block
67+
e.printStackTrace();
68+
}
69+
70+
} finally {
71+
client.close();
72+
}
73+
}
74+
75+
}

0 commit comments

Comments
 (0)