Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 46bef3f

Browse files
author
Chris Wiechmann
committed
API-Gateway only mode plus some fixes
1 parent 7abbbd8 commit 46bef3f

File tree

7 files changed

+53
-28
lines changed

7 files changed

+53
-28
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111
- Added a new visualization: Status by API to all API-Overview dashboards showing Success, Failure/Blocked and Failed status per API
1212
- Added tag kpis to the KPI-Dashboard
1313
- Added new parameter: `API_MANAGER_ENABLED` to allow running the solution without an API-Manager at all
14+
- Updated default Elastic-Stack version from 7.16.3 to 7.17.0
1415

1516
### Security
1617
- Mocha in API-Builder4Elastic updated to version 9.2.0 to solve https://nvd.nist.gov/vuln/detail/CVE-2021-23566

apibuilder4elastic/package-lock.json

Lines changed: 37 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ services:
6262
image: cwiechmann/apibuilder4elastic:v4.1.0
6363
restart: on-failure:10
6464
container_name: apibuilder4elastic
65+
# Enable this, if you want to debug a crashing container
66+
# command: sleep 10000
6567
environment:
6668
- ELASTICSEARCH_HOSTS=${ELASTICSEARCH_HOSTS}
6769
- ADMIN_NODE_MANAGER=${ADMIN_NODE_MANAGER}
@@ -84,6 +86,7 @@ services:
8486
- DISABLE_CUSTOM_PROPERTIES=${DISABLE_CUSTOM_PROPERTIES}
8587
- EXT_AUTHZ_URI=${EXT_AUTHZ_URI}
8688
- MANAGEMENT_KPIS_ENABLED=${MANAGEMENT_KPIS_ENABLED}
89+
- API_MANAGER_ENABLED=${API_MANAGER_ENABLED}
8790
- LOG_LEVEL=${API_BUILDER_LOG_LEVEL}
8891
- APM_ENABLED=${APM_ENABLED}
8992
- APM_SERVER=${APM_SERVER}

env-sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ ELASTICSEARCH_CLUSTERNAME=Axway APIM
344344
# ----------------------------------------------------------------------------------------------
345345
# Define the version of the Elastic-Stack to use. Based on this version Docker images are pulled
346346
# Used-By: Elasticsearch, Filebeat, Kibana, Logstash
347-
ELASTIC_VERSION=7.16.3
347+
ELASTIC_VERSION=7.17.0
348348

349349
# ----------------------------------------------------------------------------------------------
350350
# With this parameter you can change the way the authorization for the traffic monitor is
@@ -566,7 +566,7 @@ ELASTIC_VERSION=7.16.3
566566
# certificates. Learn more: https://bit.ly/3mxWDSu
567567
# Example command to created the chained cert file:
568568
# openssl pkcs7 -inform DER -in certificate.p7b -print_certs > certificate_bundle.cer
569-
# Used-By: Elasticsearch, Kibana, Logstash, Filebeat, Admin-Node-Manager
569+
# Used-By: APIBuilder4Elastic, Elasticsearch, Kibana, Logstash, Filebeat, Admin-Node-Manager
570570
ELASTICSEARCH_CA=config/certificates/ca.crt
571571

572572
# The following variables are used by API-Builder to define, which certificate is used

helm/Chart.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
dependencies:
22
- name: logstash
33
repository: https://helm.elastic.co
4-
version: 7.16.3
4+
version: 7.17.0
55
- name: filebeat
66
repository: https://helm.elastic.co
7-
version: 7.16.3
7+
version: 7.17.0
88
- name: elasticsearch
99
repository: https://helm.elastic.co
10-
version: 7.16.3
10+
version: 7.17.0
1111
- name: kibana
1212
repository: https://helm.elastic.co
13-
version: 7.16.3
13+
version: 7.17.0
1414
- name: apm-server
1515
repository: https://helm.elastic.co
16-
version: 7.16.3
16+
version: 7.17.0
1717
digest: sha256:8259e4669385b60f221b98f5b13780bc9cfffcff35d28f79988be68a49ba4cf5
1818
generated: "2022-01-21T08:07:22.0239306+01:00"

helm/templates/apibuilder4elastic/apibuilder4elastic-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ data:
1717
AUTHZ_CONFIG: {{ default "" .Values.apibuilder4elastic.authzConfig | quote}}
1818
RETENTION_PERIOD_CONFIG: {{ default "" .Values.apibuilder4elastic.retentionPeriodConfig | quote}}
1919
PAYLOAD_HANDLING_ENABLED: {{ default true .Values.apibuilder4elastic.payloadEnabled | quote }}
20-
MANAGEMENT_KPIS_ENABLED: {{ default true .Values.apibuilder4elastic.managementKPIsEnabled | quote }}
20+
MANAGEMENT_KPIS_ENABLED: {{ default true .Values.apibuilder4elastic.apimanagerEnabled | quote }}
21+
API_MANAGER_ENABLED: {{ default true .Values.apibuilder4elastic.managementKPIsEnabled | quote }}
2122
LOG_LEVEL: {{ default "info" .Values.apibuilder4elastic.logLevel | quote }}
2223
APM_ENABLED: {{ index .Values "apm-server" "enabled" | quote }}
2324
{{- if .Values.apibuilder4elastic.apmserver.serverUrl }}

helm/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ apibuilder4elastic:
151151
# Disables the collection of API-Management KPIs.
152152
# managementKPIsEnabled: false
153153

154+
# If you do not use an API-Manager, please set this parameter to false.
155+
# apimanagerEnabled: false
156+
154157
# logLevel of API-Builder4Elastic. When encoutering issues, enable debug. Also enable debug
155158
# if you want to raise an issue.
156159
#logLevel: "debug"

0 commit comments

Comments
 (0)