Skip to content

Commit 46c5574

Browse files
authored
Simplify link validator config (#1381)
1 parent eed2b10 commit 46c5574

File tree

7 files changed

+15
-84
lines changed

7 files changed

+15
-84
lines changed

.github/workflows/link-validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
sbt -Dpekko.genjavadoc.enabled=true -Dpekko.genlicensereport.enabled=true "Javaunidoc/doc; Compile/unidoc; docs/paradox"
4343
4444
- name: Run Link Validator
45-
run: cs launch net.runne::site-link-validator:0.2.2 -- scripts/link-validator.conf
45+
run: cs launch net.runne::site-link-validator:0.2.4 -- scripts/link-validator.conf

docs/src/main/paradox/persistence-query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Java
202202

203203
## Performance and denormalization
204204

205-
When building systems using @ref:[Event Sourcing](typed/persistence.md#event-sourcing-concepts) and CQRS ([Command & Query Responsibility Segregation](https://docs.microsoft.com/en-us/previous-versions/msp-n-p/jj554200%28v=pandp.10%29)) techniques
205+
When building systems using @ref:[Event Sourcing](typed/persistence.md#event-sourcing-concepts) and CQRS ([Command & Query Responsibility Segregation](https://learn.microsoft.com/en-us/previous-versions/msp-n-p/jj554200%28v=pandp.10%29)) techniques
206206
it is tremendously important to realise that the write-side has completely different needs from the read-side,
207207
and separating those concerns into datastores that are optimised for either side makes it possible to offer the best
208208
experience for the write and read sides independently.

docs/src/main/paradox/persistence-schema-evolution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ evolution feel free to submit Pull Requests to this page to extend it.
4545

4646
In recent years we have observed a tremendous move towards immutable append-only datastores, with event-sourcing being
4747
the prime technique successfully being used in these settings. For an excellent overview why and how immutable data makes scalability
48-
and systems design much simpler you may want to read Pat Helland's excellent [Immutability Changes Everything](http://cidrdb.org/cidr2015/Papers/CIDR15_Paper16.pdf) whitepaper.
48+
and systems design much simpler you may want to read Pat Helland's excellent [Immutability Changes Everything](https://cidrdb.org/cidr2015/Papers/CIDR15_Paper16.pdf) whitepaper.
4949

5050
Since with [Event Sourcing](https://martinfowler.com/eaaDev/EventSourcing.html) the **events are immutable** and usually never deleted – the way schema evolution is handled
5151
differs from how one would go about it in a mutable database setting (e.g. in typical CRUD database applications).

docs/src/main/paradox/stream/reactive-streams-interop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,5 @@ An incomplete list of other implementations:
136136

137137
* [Reactor (1.1+)](https://github.com/reactor/reactor)
138138
* [RxJava](https://github.com/ReactiveX/RxJavaReactiveStreams)
139-
* [Ratpack](https://www.ratpack.io/manual/current/streams.html)
139+
* [Ratpack](https://ratpack.io/manual/current/streams.html)
140140
* [Slick](https://scala-slick.org/)

docs/src/main/paradox/typed/failure-detector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Remote DeathWatch uses heartbeat messages and the failure detector to detect network failures and JVM crashes.
66

77
The heartbeat arrival times are interpreted by an implementation of
8-
[The Phi Accrual Failure Detector](https://pdfs.semanticscholar.org/11ae/4c0c0d0c36dc177c1fff5eb84fa49aa3e1a8.pdf) by Hayashibara et al.
8+
[The Phi Accrual Failure Detector](https://www.semanticscholar.org/paper/The-spl-phi-accrual-failure-detector-Hayashibara-D%C3%A9fago/11ae4c0c0d0c36dc177c1fff5eb84fa49aa3e1a8?p2df) by Hayashibara et al.
99

1010
## Failure Detector Heartbeats
1111

docs/src/main/paradox/typed/routers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ An optional parameter `preferLocalRoutees` can be used for this strategy. Router
130130
### Consistent Hashing
131131

132132
Uses [consistent hashing](https://en.wikipedia.org/wiki/Consistent_hashing) to select a routee based
133-
on the sent message. This [article](http://www.tom-e-white.com/2007/11/consistent-hashing.html)
133+
on the sent message. This [article](https://www.tom-e-white.com/2007/11/consistent-hashing.html)
134134
gives good insight into how consistent hashing is implemented.
135135

136136
Currently you have to define hashMapping of the router to map incoming messages to their consistent

scripts/link-validator.conf

Lines changed: 9 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -43,101 +43,32 @@ site-link-validator {
4343
ignore-missing-local-files-regex = ""
4444
// e.g. "^api/alpakka/snapshot/pekko/stream/alpakka/googlecloud/storage/impl/Formats.*"
4545

46+
ignore-files = [
47+
# This file is generated, we can't do much about the invalid links here
48+
"project/license-report.html"
49+
];
50+
4651
ignore-prefixes = [
47-
# Fails after a number of requests with "403 Forbidden"
48-
"https://javadoc.io/static/"
49-
"https://dl.acm.org/"
50-
# reports PKIX issue
51-
"https://www.reactivemanifesto.org"
52-
# GitHub will block with "429 Too Many Requests"
52+
## GitHub will block with "429 Too Many Requests"
5353
"https://github.com/"
54-
# Github links generated by sbt-license-report
55-
"http://github.com/"
56-
# Other links generated by sbt-license-report
57-
"http://asm.objectweb.org/license.html"
58-
"http://jackson.codehaus.org"
59-
"https://glassfish.dev.java.net"
60-
"http://beust.com/jcommander"
61-
"http://pholser.github.com/jopt-simple"
62-
"http://pojosr.googlecode.com/"
63-
"http://team.ops4j.org/wiki/display/ops4j/Tinybundles"
6454
"https://www.scala-lang.org/api/2.13.14/scala/runtime/AbstractFunction1.html"
6555
"https://www.scala-lang.org/api/2.13.14/scala/runtime/AbstractFunction2.html"
6656
"https://www.scala-lang.org/api/2.13.14/scala/runtime/AbstractFunction3.html"
6757
"https://www.scala-lang.org/api/2.13.14/scala/runtime/AbstractPartialFunction.html"
68-
# Bug, see https://github.com/scala/bug/issues/12807 and https://github.com/lampepfl/dotty/issues/17973
58+
## Bug, see https://github.com/scala/bug/issues/12807 and https://github.com/lampepfl/dotty/issues/17973
6959
"https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/file/StandardOpenOption$.html"
70-
# Occasionally returns a 500 Internal Server Error
71-
"http://code.google.com/"
7260
]
7361

7462
non-https-whitelist = [
7563
"http://cidrdb.org/cidr2015/Papers/CIDR15_Paper16.pdf"
76-
"http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.41.7628"
7764
"http://spray.io"
7865
"http://www.bailis.org/blog/doing-redundant-work-to-speed-up-distributed-queries/"
7966
"http://www.cs.columbia.edu/~nahum/w6998/papers/sosp87-timing-wheels.pdf"
80-
# document not available anymore
81-
"http://www.jaist.ac.jp/~defago/files/pdf/IS_RR_2004_010.pdf"
82-
# Sigar site has been removed
67+
## Sigar site has been removed
8368
"http://www.hyperic.com/products/sigar"
8469
"http://www.tom-e-white.com/2007/11/consistent-hashing.html"
85-
# generated by @apidoc
70+
## generated by @apidoc
8671
"http://www.scala-lang.org/api/2.13."
87-
# following links are generated by sbt-license-report
88-
"http://apache.org/licenses/LICENSE-2.0"
89-
"http://asm.objectweb.org/license.html"
90-
"http://asm.ow2.io/"
91-
"http://beust.com/jcommander"
92-
"http://bnd.bndtools.org"
93-
"http://code.google.com/p/atinject/"
94-
"http://code.google.com/p/snakeyaml/"
95-
"http://commons.apache.org/lang/"
96-
"http://commons.apache.org/math/"
97-
"http://commons.apache.org/proper/commons-io/"
98-
"http://commons.apache.org/proper/commons-logging/"
99-
"http://commons.apache.org/proper/commons-math/"
100-
"http://creativecommons.org/publicdomain/zero/1.0/"
101-
"http://findbugs.sourceforge.net"
102-
"http://glassfish.java.net/public/CDDL+GPL_1_1.html"
103-
"http://hc.apache.org/httpcomponents-client"
104-
"http://hc.apache.org/httpcomponents-core-ga"
105-
"http://hdrhistogram.github.io/HdrHistogram/"
106-
"http://incubator.apache.org/projects/htrace.html"
107-
"http://jackson.codehaus.org"
108-
"http://java.sun.com/products/javabeans/jaf/index.jsp"
109-
"http://jax-rs-spec.java.net"
110-
"http://jcp.org/en/jsr/detail?id=250"
111-
"http://jopt-simple.github.io"
112-
"http://junit.org"
113-
"http://kamon.io"
114-
"http://latencyutils.github.io/LatencyUtils/"
115-
"http://netty.io/"
116-
"http://objenesis.org"
117-
"http://openjdk.java.net/legal/gplv2+ce.html"
118-
"http://opensource.org"
119-
"http://pholser.github.com/jopt-simple"
120-
"http://pojosr.googlecode.com"
121-
"http://team.ops4j.org/wiki/display/ops4j/Tinybundles"
122-
"http://testng.org"
123-
"http://webjars.org"
124-
"http://www-128.ibm.com/developerworks/library/os-cpl.html"
125-
"http://www.apache.org/licenses/"
126-
"http://www.bouncycastle.org/java.html"
127-
"http://www.bouncycastle.org/licence.html"
128-
"http://www.eclipse.org/legal/epl-v10.html"
129-
"http://www.gnu.org/licenses/lgpl.txt"
130-
"http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
131-
"http://www.javassist.org/"
132-
"http://www.mozilla.org/MPL/MPL-1.1.html"
133-
"http://www.opensource.org/licenses/"
134-
"http://www.osgi.org"
135-
"http://www.reactive-streams.org/"
13672
"http://www.scala-lang.org/"
137-
"http://www.scala-sbt.org"
138-
"http://www.scalacheck.org"
139-
"http://www.scalatest.org"
140-
"http://www.slf4j.org"
141-
"http://www.eclipse.org/org/documents/edl-v10.php"
14273
]
14374
}

0 commit comments

Comments
 (0)