Skip to content

Commit ada04b0

Browse files
megalinter
Signed-off-by: mauriciozanettisalomao <mauriciozanetti86@gmail.com>
1 parent d2e097e commit ada04b0

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed
File renamed without changes.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ SEARCH_SOURCE=mock ACCESS_CONTROL_SOURCE=mock go run cmd/main.go -p 3000
104104
# Using OpenSearch and NATS (production-like setup)
105105
SEARCH_SOURCE=opensearch \
106106
ACCESS_CONTROL_SOURCE=nats \
107-
OPENSEARCH_URL=http://localhost:9200 \
107+
OPENSEARCH_URL={{placeholder}} \
108108
OPENSEARCH_INDEX=resources \
109-
NATS_URL=nats://localhost:4222 \
109+
NATS_URL={{placeholder}} \
110110
go run cmd/main.go
111111
```
112112

@@ -116,14 +116,14 @@ go run cmd/main.go
116116
- `SEARCH_SOURCE`: Choose between "mock" or "opensearch" (default: "opensearch")
117117

118118
**OpenSearch Configuration:**
119-
- `OPENSEARCH_URL`: OpenSearch URL (default: "http://localhost:9200")
119+
- `OPENSEARCH_URL`: OpenSearch URL (default: `http://localhost:9200`)
120120
- `OPENSEARCH_INDEX`: OpenSearch index name (default: "resources")
121121

122122
**Access Control Implementation:**
123123
- `ACCESS_CONTROL_SOURCE`: Choose between "mock" or "nats" (default: "nats")
124124

125125
**NATS Configuration:**
126-
- `NATS_URL`: NATS server URL (default: "nats://localhost:4222")
126+
- `NATS_URL`: NATS server URL (default: `nats://localhost:4222`)
127127
- `NATS_TIMEOUT`: Request timeout duration (default: "10s")
128128
- `NATS_MAX_RECONNECT`: Maximum reconnection attempts (default: "3")
129129
- `NATS_RECONNECT_WAIT`: Time between reconnection attempts (default: "2s")

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33

44
module github.com/linuxfoundation/lfx-v2-query-service
55

6-
go 1.24.0
7-
8-
toolchain go1.24.2
6+
go 1.24.2
97

108
require (
119
github.com/auth0/go-jwt-middleware/v2 v2.3.0

0 commit comments

Comments
 (0)