diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml new file mode 100644 index 00000000000..5147c210a8e --- /dev/null +++ b/.github/workflows/links.yml @@ -0,0 +1,23 @@ +name: Link Checker +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + linkchecker: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: lychee Link Checker + id: lychee + uses: lycheeverse/lychee-action@master + with: + args: --accept=200,403,429 --exclude=http://www.unicode.org/Public/PROGRAMS/CVTUTF --exclude=http://www.eclipse.org/jetty/downloads.php --exclude=http://project.carrot2.org/license.html --exclude=http://bitbucket.org/jpbarrette/moman/overview/ --exclude=http://opensource.adobe.com/wiki/display/cmap/Downloads --exclude=http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/ --exclude=http://eid-applet.googlecode.com/ --exclude=http://www.ecma-international.org/publications/files/ECMA-ST/Ecma%20PATENT/Patent%20statements%20ok/ECMA-376%20Edition%202%20Microsoft%20Patent%20Declaration.pdf --exclude=http://www.ecma-international.org/publications/files/ECMA-ST/Ecma%20PATENT/Patent%20statements%20ok/ECMA-376%20Adobe%20Patent%20Declaration.pdf --exclude=http://snapshot/ --exclude=http://www.darwinsys.com/file/ --exclude-mail "**/*.html" "**/*.md" "**/*.txt" "**/*.json" + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Fail if there were link errors + run: exit ${{ steps.lychee.outputs.exit_code }} diff --git a/client/benchmark/README.md b/client/benchmark/README.md index ae39f373d80..e3528c698a4 100644 --- a/client/benchmark/README.md +++ b/client/benchmark/README.md @@ -21,7 +21,7 @@ In general, you should define a few GC-related settings `-Xms8192M -Xmx8192M -XX #### Bulk indexing -Download benchmark data from http://benchmarks.opensearch.org.s3.amazonaws.com/corpora/geonames and decompress them. +Download benchmark data and decompress them. Example invocation: diff --git a/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json b/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json index 1485d6d1fc5..9a5266aab5c 100644 --- a/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json +++ b/plugins/examples/rest-handler/src/yamlRestTest/resources/rest-api-spec/api/cat.example.json @@ -1,7 +1,7 @@ { "cat.example": { "documentation": { - "url": "https://www.opensearch.co/guide/en/opensearch/plugins/current/plugin-authors.html", + "url": "https://docs-beta.opensearch.org/opensearch/install/plugins/", "description": "Example" }, "stability" : "stable",