Commit Graph

22 Commits

Author SHA1 Message Date
YyWang 169640bd08
optimize moduleServiceLoader traversal logic (#6537)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-03-12 16:11:49 +08:00
吴晟 Wu Sheng 803f6f2839
Add SW_NO_UPSTREAM_REAL_ADDRESS config doc (#5650)
* Add SW_NO_UPSTREAM_REAL_ADDRESS config doc

* Fix legal config issue.

* Update docs/en/setup/backend/configuration-vocabulary.md

* Add a test case to verify the module config initializer, which only supports 4 simple types.

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-10-12 20:52:53 +08:00
吴晟 Wu Sheng 224af7f625
Correct the module missing check in the ModuleManagerCore (#5484)
* Correct the module missing check.
* Don't check the docker compose version, as the GitHub installed 3.x in default.
2020-09-15 16:32:41 +08:00
Lu Jiajing 5bfac1b50f
Remove style-check exception for logger (#5363) 2020-08-21 18:26:25 +08:00
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
kezhenxu94 5b255ba3e3
Set up more strict code styles and fix existing issues (#4337)
Motivation:

Review code styles with some bots automatically.

Modifications:

Set up ReviewDog in GitHub Action to review code style.

Add more check rules to checkstyle plugin.

Result:

Obvious code styles can be reviewed and commented automatically.
2020-02-11 17:10:49 +08:00
John Niang 738e4975cb Fix typo: guideline and code document (#4248) 2020-01-16 19:38:03 +08:00
panjuan fb001867e5 Instead of datasource-settings.properties, use application.yml for MySQLStorageProvider (#3564)
* Is it a typo or not?

* delete datasource-settings.properties

* handle 'metadataQueryMaxSize'

* delete DynamicModuleConfig.java

* modify mysql config

* parsing yaml to support the configuration for multiple properties

* delete datasource-settings.properties

* modify doc

* add properties for docker-entrypoint.sh

* add testLoadConfig()
2019-10-12 20:47:38 +08:00
吴晟 Wu Sheng 0225711e26
Check duplicate providers in bootstrap (#2976)
* Enhance module manager
2019-07-01 15:54:12 +08:00
daming fa7a1983f9 Fix ModuleProvider is repeated loading (#2923) 2019-06-21 21:01:20 +08:00
吴晟 Wu Sheng 2e846c6078 Dynamic Configuration and Dynamic Configuration Service (#2810)
* Implement the base of config API module.

* Finish configuration module codebases w/o tests, revert some changes.

* Finish mock tests.

* Add new gRPC service for configuration.

* Make gRPC configuration sync provider works.

* Add database slow statement dynamic setting.

* Finish the dynamic configuration service.

* Fix version.
2019-06-03 23:11:52 +08:00
彭勇升 pengys afd6164335 OAP server testing module. (#1931)
* OAP server testing module.

#1930

* #Missing delete code.
2018-11-18 20:22:56 +08:00
吴晟 Wu Sheng 2f43cb940e
Fix start when not config in provider and don't get module in prepare stage. (#1711) 2018-09-27 16:07:04 +08:00
彭勇升 pengys 2bad786e79 Analysis and query implementation of thermodynamic. (#1678)
* Metric query.

* Analysis and query implementation of thermodynamic.
2018-09-16 10:57:12 +08:00
彭勇升 pengys 06165a0359 Feature/oap/storage (#1516)
* Storage and Persistence.

* Storage config.

* Fixed the CI failure.
2018-08-03 12:01:53 +08:00
彭勇升 pengys efe5299d03 Feature/oap/remote (#1505)
* Sample operator code.

* Indicator aggregator framework.

* Provide some annotation for OAL.

* Remote module.

* Register service.

* Add apache license header.

* Ignore comments when load definition files.
2018-07-30 09:54:36 +08:00
Wu Sheng 62ca37bc8f Refactor codebases for v6, restore modulization back 2018-07-20 11:40:00 +08:00
Wu Sheng 42072d8583 Open this method for test cases. 2018-07-19 23:11:26 +08:00
Wu Sheng e7ec6dcc31 Fix some test cases 2018-07-19 22:52:33 +08:00
Wu Sheng e05b99a936 Restore module management. 2018-07-19 22:43:14 +08:00
彭勇升 pengys de3bc220e0 [OAP Server] Core framework (#1472)
* Receiver, aggregate, server finished.
2018-07-19 11:24:01 +08:00
彭勇升 pengys dcdfeb1e14 Feature/oap/cluster plugin (#1440)
* Cluster module implementation finished.
2018-07-10 23:50:08 -07:00