This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new cba6b00271 NIFI-11383 Updated Java documentation links from 8 to 17
cba6b00271 is described below
commit cba6b00271271a95d483202a287f97f52ac09c24
Author: Mike Thomsen <[email protected]>
AuthorDate: Mon Aug 7 21:09:30 2023 -0400
NIFI-11383 Updated Java documentation links from 8 to 17
This closes #7581
Signed-off-by: David Handermann <[email protected]>
---
.../src/main/java/org/apache/nifi/metrics/jvm/JvmMetrics.java | 2 +-
nifi-docs/src/main/asciidoc/administration-guide.adoc | 6 +++---
nifi-docs/src/main/asciidoc/expression-language-guide.adoc | 4 ++--
.../nifi-resources/src/main/resources/conf/bootstrap.conf | 2 +-
.../src/main/java/org/apache/nifi/jms/processors/ConsumeJMS.java | 4 ++--
.../org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java | 2 +-
.../nifi-registry-docs/src/main/asciidoc/administration-guide.adoc | 2 +-
7 files changed, 11 insertions(+), 11 deletions(-)
diff --git
a/nifi-commons/nifi-metrics/src/main/java/org/apache/nifi/metrics/jvm/JvmMetrics.java
b/nifi-commons/nifi-metrics/src/main/java/org/apache/nifi/metrics/jvm/JvmMetrics.java
index 3ffdd41d5b..ac8ea2ba92 100644
---
a/nifi-commons/nifi-metrics/src/main/java/org/apache/nifi/metrics/jvm/JvmMetrics.java
+++
b/nifi-commons/nifi-metrics/src/main/java/org/apache/nifi/metrics/jvm/JvmMetrics.java
@@ -143,7 +143,7 @@ public interface JvmMetrics {
* Returns the name of the currently-running jvm.
*
* @return the name of the currently-running jvm, eg "Java HotSpot(TM)
Client VM"
- * @see <a
href="http://download.oracle.com/javase/6/docs/api/java/lang/System.html#getProperties()">System.getProperties()</a>
+ * @see <a
href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/System.html#getProperties()">System.getProperties()</a>
*/
String name();
diff --git a/nifi-docs/src/main/asciidoc/administration-guide.adoc
b/nifi-docs/src/main/asciidoc/administration-guide.adoc
index a3f1a6ce80..75aca71a7f 100644
--- a/nifi-docs/src/main/asciidoc/administration-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/administration-guide.adoc
@@ -341,7 +341,7 @@ may be set:
|==================================================================================================================================================
Each property should take the form of a comma-separated list of common cipher
names as specified
-link:https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites[here^].
Regular expressions
+link:https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html[here^].
Regular expressions
(for example `^.*GCM_SHA256$`) may also be specified.
The semantics match the use of the following Jetty APIs:
@@ -1998,7 +1998,7 @@ image:argon2-salt.png["Argon2 Salt & IV Encoding"]
=== Java Cryptography Extension (JCE) Limited Strength Jurisdiction Policies
-Because of US export regulations, default JVMs have
link:http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html#importlimits[limits
imposed on the strength of cryptographic operations^] available to them. For
example, AES operations are limited to `128 bit keys` by default. While
`AES-128` is cryptographically safe, this can have unintended consequences,
specifically on Password-based Encryption (PBE).
+Because of US export regulations, default JVMs have
link:https://docs.oracle.com/en/java/javase/17/security/oracle-providers.html[limits
imposed on the strength of cryptographic operations^] available to them. For
example, AES operations are limited to `128 bit keys` by default. While
`AES-128` is cryptographically safe, this can have unintended consequences,
specifically on Password-based Encryption (PBE).
PBE is the process of deriving a cryptographic key for encryption or
decryption from _user-provided secret material_, usually a password. Rather
than a human remembering a (random-appearing) 32 or 64 character hexadecimal
string, a password or passphrase is used.
@@ -2946,7 +2946,7 @@ Failure to do so, may result in errors similar to the
following:
2016-01-08 16:08:57,888 ERROR [pool-26-thread-1-SendThread(localhost:2181)]
o.a.zookeeper.client.ZooKeeperSaslClient An error:
(java.security.PrivilegedActionException: javax.security.sasl.SaslException:
GSS initiate failed [Caused by GSSException: No valid credentials provided
(Mechanism level: Server not found in Kerberos database (7) -
LOOKING_UP_SERVER)]) occurred when evaluating ZooKeeper Quorum Member's
received SASL token. ZooKeeper Client will go to AUTH_FAILED state.
If there are problems communicating or authenticating with Kerberos, this
-link:http://docs.oracle.com/javase/7/docs/technotes/guides/security/jgss/tutorials/Troubleshooting.html[Troubleshooting
Guide^] may be of value.
+link:https://docs.oracle.com/en/java/javase/17/security/troubleshooting.html[Troubleshooting
Guide^] may be of value.
One of the most important notes in the above Troubleshooting guide is the
mechanism for turning on Debug output for Kerberos.
This is done by setting the `sun.security.krb5.debug` environment variable.
diff --git a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
index bde6780f26..a00a77b2cf 100644
--- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
@@ -2203,7 +2203,7 @@ Divide. This is to preserve backwards compatibility and
to not force rounding er
[.function]
=== math
-*Description*: [.description]#ADVANCED FEATURE. This expression is designed to
be used by advanced users only. It utilizes Java Reflection to run arbitrary
java.lang.Math static methods. The exact API will depend on the version of Java
you are running. The Java 11 API can be found here:
link:https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html[https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html^]
+*Description*: [.description]#ADVANCED FEATURE. This expression is designed to
be used by advanced users only. It utilizes Java Reflection to run arbitrary
java.lang.Math static methods. The exact API will depend on the version of Java
you are running. The Java 17 API can be found here:
link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Math.html[https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Math.html^]
+
In order to run the correct method, the parameter types must be correct. The
Expression Language "Number" (whole number) type is interpreted as a Java
"long". The "Decimal" type is interpreted as a Java "double". Running the
desired method may require calling "toNumber()" or "toDecimal()" in order to
"cast" the value to the desired type. This also is important to remember when
cascading "math()" calls since the return type depends on the method that was
run.#
@@ -2622,7 +2622,7 @@ names begin with the letter `a`.
*Description*: [.description]#Returns a URI compliant with RFC 2396. This
includes encoding non-US-ASCII characters and
quoting illegal characters with octets. This expression utilizes the
-link:https://docs.oracle.com/javase/8/docs/api/java/net/URI.html[java.net.URI^]
class to build a URI.
+link:https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/URI.html[java.net.URI^]
class to build a URI.
As described in the API, a hierarchical URI consists of seven components
represented with the following types:#
|============================================================================
| Component | Type
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
index 941947f22a..3e1d64eddd 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf
@@ -74,7 +74,7 @@ nifi.bootstrap.sensitive.key=
java.arg.15=-Djava.security.egd=file:/dev/urandom
# Requires JAAS to use only the provided JAAS configuration to authenticate a
Subject, without using any "fallback" methods (such as prompting for
username/password)
-# Please see
https://docs.oracle.com/javase/8/docs/technotes/guides/security/jgss/single-signon.html,
section "EXCEPTIONS TO THE MODEL"
+# Please see
https://docs.oracle.com/en/java/javase/17/security/single-sign-using-kerberos-java1.html,
section "EXCEPTIONS TO THE MODEL"
java.arg.16=-Djavax.security.auth.useSubjectCredsOnly=true
# Zookeeper 3.5 now includes an Admin Server that starts on port 8080, since
NiFi is already using that port disable by default.
diff --git
a/nifi-nar-bundles/nifi-jms-bundle/nifi-jms-processors/src/main/java/org/apache/nifi/jms/processors/ConsumeJMS.java
b/nifi-nar-bundles/nifi-jms-bundle/nifi-jms-processors/src/main/java/org/apache/nifi/jms/processors/ConsumeJMS.java
index 3cfa4a9080..fd889f49d1 100644
---
a/nifi-nar-bundles/nifi-jms-bundle/nifi-jms-processors/src/main/java/org/apache/nifi/jms/processors/ConsumeJMS.java
+++
b/nifi-nar-bundles/nifi-jms-bundle/nifi-jms-processors/src/main/java/org/apache/nifi/jms/processors/ConsumeJMS.java
@@ -151,7 +151,7 @@ public class ConsumeJMS extends
AbstractJMSProcessor<JMSConsumer> {
.name("Durable subscription")
.displayName("Durable Subscription")
.description("If destination is Topic if present then make it the
consumer durable. " +
- "@see
https://docs.oracle.com/javaee/7/api/javax/jms/Session.html#createDurableConsumer-javax.jms.Topic-java.lang.String-")
+ "@see
https://jakarta.ee/specifications/platform/9/apidocs/jakarta/jms/session#createDurableConsumer-jakarta.jms.Topic-java.lang.String-")
.required(false)
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
.defaultValue("false")
@@ -162,7 +162,7 @@ public class ConsumeJMS extends
AbstractJMSProcessor<JMSConsumer> {
.name("Shared subscription")
.displayName("Shared Subscription")
.description("If destination is Topic if present then make it the
consumer shared. " +
- "@see
https://docs.oracle.com/javaee/7/api/javax/jms/Session.html#createSharedConsumer-javax.jms.Topic-java.lang.String-")
+ "@see
https://jakarta.ee/specifications/platform/9/apidocs/jakarta/jms/session#createSharedConsumer-jakarta.jms.Topic-java.lang.String-")
.required(false)
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
.defaultValue("false")
diff --git
a/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
b/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
index 95c63bff2c..21687d9292 100644
---
a/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
+++
b/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
@@ -148,7 +148,7 @@ public abstract class AbstractMongoProcessor extends
AbstractProcessor {
.displayName("Date Format")
.description("The date format string to use for formatting Date fields
that are returned from Mongo. It is only " +
"applied when the JSON output format is set to Standard JSON.
Full documentation for format characters can be " +
- "found here:
https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html")
+ "found here:
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/text/SimpleDateFormat.html")
.defaultValue("yyyy-MM-dd'T'HH:mm:ss'Z'")
.addValidator((subject, input, context) -> {
ValidationResult.Builder result = new ValidationResult.Builder()
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-docs/src/main/asciidoc/administration-guide.adoc
b/nifi-registry/nifi-registry-core/nifi-registry-docs/src/main/asciidoc/administration-guide.adoc
index 9fc666c04c..bf5f494766 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-docs/src/main/asciidoc/administration-guide.adoc
+++
b/nifi-registry/nifi-registry-core/nifi-registry-docs/src/main/asciidoc/administration-guide.adoc
@@ -116,7 +116,7 @@ may be set:
|==================================================================================================================================================
Each property should take the form of a comma-separated list of common cipher
names as specified
-link:https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites[here^].
Regular expressions
+link:https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html[here^].
Regular expressions
(for example `^.*GCM_SHA256$`) may also be specified.
The semantics match the use of the following Jetty APIs: