kezhenxu94
69e3d80e24
Add selector property in application.yml ( #4514 )
...
### Motivation
Ease the efforts of modifying configurations in automatic workflow and scripts, like Docker and helm chart.
### Modification
Add a `selector` property into `application.yml` to enable switching configuration simply by environment variables or system properties, and filter the unselected options, leaving only selected one.
### Result
- We can switch a configuration by environment variables or system property
- Closes #4511
2020-03-15 23:28:14 +08:00
Gao Hongtao
78d14ebbd6
Enable OAP gRPC SSL transportation ( #4470 )
...
* Enable OAP gRPC SSL transportation
Porting to OpenSSL to enable SSL transportation. The server private
key is in the format of PCKS#8, certificates is x509 though.
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add netty-tcnative-boringssl-static 2.0.26 licnese
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Update docs/en/setup/backend/grpc-ssl.md
Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>
* Update docs/en/setup/backend/grpc-ssl.md
Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>
* Add SSL to grpc remote client and sharing server
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Update documents
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Fix nits
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Fix test case
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add e2e-ssl and remove other test cases temporarily
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add TLS relevant files
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Decrease timeout
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Test config works
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* triger CI on oap-ssl branch
* Disable agent ca
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Switch to sharing server
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Add agent log to console
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Upload log files
* Change backend
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Revert "Change backend"
This reverts commit 7a085711e3653d3bf642aa84f73650e22595e383.
* Update backend
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Revert e2e
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Ignore TSL relevant files
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Polish codes
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
* Update certificates expires year to 2120
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-15 08:15:28 +08:00
kezhenxu94
9c974b80b4
Fix unclear doc and add missing variable ( #4484 )
...
* Revert "[BugFix] Docker InfluxDB cannot be enabled (#4483 )"
This reverts commit 73d0802cd6 .
* Fix unclear doc and add missing variable
2020-03-11 07:46:59 +08:00
kezhenxu94
73d0802cd6
[BugFix] Docker InfluxDB cannot be enabled ( #4483 )
...
Motivation:
This patch fixes the bug that there's no chance to enable the InfluxDB storage in docker container.
Modifications:
Generate InfluxDB configuration section to enable it.
Result:
Users can enable InfluxDB by specifying SW_STORAGE=influxdb
2020-03-10 20:41:34 +08:00
kezhenxu94
fff3378d40
[BugFix] Docker so11y cannot be disabled ( #4471 )
...
### Motivation:
This patch fixes the bug that there's no chance to disable the so11y in docker container.
### Modifications:
- Remove the default so11y section, and only add it when the environment variable exists.
### Result:
- Users can disable so11y by leaving the `SW_TELEMETRY` empty or set it to `none`
2020-03-09 20:42:26 +08:00
Daming
29da5738bc
Provide influxdb as a new storage plugin ( #4239 )
...
* provide influxdb as a new storage plugin
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-02-19 18:00:57 +08:00
Jared Tan
1310719645
add token authentication between agent and oap receiver. ( #4197 )
...
* add token authentication between agent and oap receiver.
* revert ui.
* fix code style.
* update docs.
* Update docs/en/setup/backend/backend-token-auth.md
Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>
* fix hits.
* filter
* revert yml.
* update logical.
* fix codestyle check.
* fix ci and add e2e test case.
* revert mistake commit.
* fix ci
* remove duplicate maven dependency.
* revert pom
* revert unchanged.
* update javadocs.
* update logical.
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-01-12 23:08:39 +08:00
Gao Hongtao
8d0c3b912f
Add es7 support to docker ( #4043 )
...
* Add es7 support to docker
* Add es7 to github aciton workflow
* Rename dockerfile
* Update docker-compose
* Update matrix es name
* Set oap tag
* Add document
* Update How-to-build.md
2020-01-05 17:08:14 +08:00