File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
client-java/app/src/main/java/com/example Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,14 @@ project root. -->
55 <container id =" default" version =" 1.0" >
66 <search />
77 <document-api />
8- <nodes count =" 2" >
9- </nodes >
8+ <nodes count =" 2" />
109 </container >
1110 <content version =" 1.0" id =" content" >
1211 <min-redundancy >2</min-redundancy >
1312 <documents >
1413 <document type =" passage" mode =" index" />
1514 </documents >
16- <nodes count =" 2" >
17- </nodes >
15+ <nodes count =" 2" />
1816 </content >
1917
2018</services >
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright Vespa.ai. All rights reserved.
3+ */
14package com .example ;
25
36import java .io .FileInputStream ;
@@ -52,10 +55,10 @@ private enum AuthMethod {
5255
5356 private static final AuthMethod AUTH_METHOD = AuthMethod .MTLS ;
5457
55- private static final String ENDPOINT = "YOUR_ENDPOINT" ;
58+ private static final String ENDPOINT = "YOUR_ENDPOINT" ;
5659 // Auth method: mTLS
5760 private static final String PUBLIC_CERT = "/path/to/public-cert.pem" ;
58- private static final String PRIVATE_KEY = "/peth /to/private-key.pem" ;
61+ private static final String PRIVATE_KEY = "/path /to/private-key.pem" ;
5962 // Auth method: token.
6063 private static final String TOKEN = "YOUR_TOKEN" ;
6164
You can’t perform that action at this time.
0 commit comments