-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
113 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^http://localhost" | ||
}, | ||
{ | ||
"pattern": "^http://pgp.mit.edu:11371" | ||
}, | ||
{ | ||
"pattern": "^https://twitter.com*" | ||
}, | ||
{ | ||
"pattern": "^http://people.apache.org/committer-index.html" | ||
} | ||
], | ||
"timeout": "10s", | ||
"retryOn429": true, | ||
"retryCount": 10, | ||
"fallbackRetryDelay": "1000s", | ||
"aliveStatusCodes": [ | ||
200, | ||
401, | ||
403 | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Dead Link Checker | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
schedule: | ||
- cron: '0 18 * * *' # TimeZone: UTC 0 | ||
|
||
concurrency: | ||
group: dlc-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
CheckDeadLinks: | ||
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking-rover') || (github.event_name != 'schedule') | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: sudo npm install -g markdown-link-check@3.10.0 | ||
- run: | | ||
for file in $(find . -name "*.md"); do | ||
markdown-link-check -c .dlc.json -q "$file" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Module Design | ||
## Overview | ||
|
||
The module is an isolation concept in Rover. Each module completes an independent feature. | ||
|
||
## Life Cycle | ||
|
||
Each concept has a complete life cycle. | ||
|
||
- Start: Start phase is to start the current module. | ||
- NotifyStartSuccess: Execute when all modules have finished starting without any errors. | ||
- Shutdown: The shutdown phase is to close all the used resources. | ||
|
||
## Config | ||
|
||
Each module has its corresponding configurations and only when they're set in the configuration file, the module would be enabled. | ||
|
||
The config data support various data structures, and it could use `${ENV_NAME:DEFAULT}` to read the value from the environment variables. | ||
|
||
## Dependency | ||
|
||
There may have dependencies between modules. | ||
|
||
For example, process and profiling are two separate modules, the profiling module needs to read all registered processes from the processing module. So, we could say the profiling module is dependent on the process module. | ||
|
||
### Module API | ||
|
||
Modules can communicate by calling APIs from dependent modules. | ||
|
||
### Start Sequence | ||
|
||
When Rover starts, it would analyze the dependency order of all enabled modules to a startup module list. | ||
|
||
The startup sequence is following these steps: | ||
1. Modules have the fewest dependent modules. | ||
2. The position of the module declaration in the configuration file. | ||
|
||
After parsing the list of startup modules, it would be started sequentially in a single-threaded manner. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters