GEODE-9064: Configure serial filter during ManagementAgent start#6196
GEODE-9064: Configure serial filter during ManagementAgent start#6196kirklund merged 3 commits intoapache:developfrom
Conversation
6cf68cd to
e57a5dc
Compare
064a8ac to
7d1a6d8
Compare
| import org.apache.geode.test.assertj.LogFileAssert; | ||
| import org.apache.geode.test.junit.rules.RequiresGeodeHome; | ||
|
|
||
| public class LocatorManagerConfiguresSerialFilterAcceptanceTest { |
There was a problem hiding this comment.
Suggestion: using GfshRule to launch a locator/server would greatly reduce the boiler plate code
| import org.apache.geode.test.assertj.LogFileAssert; | ||
| import org.apache.geode.test.junit.rules.RequiresGeodeHome; | ||
|
|
||
| public class ServerManagerConfiguresSerialFilterAcceptanceTest { |
There was a problem hiding this comment.
Suggestion: using GfshRule to launch a locator/server would greatly reduce the boiler plate code
| * greater than Java 8. If the system property already has a non-null value with a length greater | ||
| * than zero, then leave it as is. | ||
| */ | ||
| void configureSerialFilterIfEmpty(); |
There was a problem hiding this comment.
This "if empty" is implementation specific. As an interface user, we just want to call configureSerialFilter(), as to whether/how you configure it, it depends on the implementer.
There was a problem hiding this comment.
I renamed this configureSerialFilter. I also renamed some classes and test classes to hopefully have better names.
| public interface JmxRmiSerialFilter { | ||
|
|
||
| /** | ||
| * Configure the “jmx.remote.rmi.server.serial.filter.pattern” system property if Java version is |
There was a problem hiding this comment.
this comment probably only applies to the implementor of the interface
There was a problem hiding this comment.
I removed javadocs from JmxRmiSerialFilter. If I think of some better javadocs, I'll add them in.
The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone.
b094b89 to
acb1976
Compare
Rename classes and tests
The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit c43dbc5)
The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit c43dbc5)
The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit c43dbc5)
The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit c43dbc5)
…art (apache#6196)" This reverts commit 74e5564.
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit c43dbc5)
…art (apache#6196)" Reverting due to possible related timeouts in geode-core distributed test jobs. This reverts commit c43dbc5.
…art (apache#6196)" Reverting due to possible related timeouts in geode-core distributed 4 test jobs. This reverts commit 74e5564.
…art (apache#6196)" Reverting due to possible related timeouts in geode-core distributed 4 test jobs. This reverts commit 5a3de78.
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone.
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit b280355)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit b280355)
The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit b280355)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit b280355)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit b280355)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit b280355)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit b280355)
…) (#6336) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone.
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit 8b2ee6d)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit 8b2ee6d)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit 8b2ee6d)
…che#6196) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit 8b2ee6d)
…) (#6337) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit 8b2ee6d)
…) (#6338) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit 8b2ee6d)
…) (#6341) The Geode JMX layer will configure the system property “jmx.remote.rmi.server.serial.filter.pattern" to only accept JDK classes identified as open-types required for JMX. If the system property already has a value then Geode will log a statement and leave the system property alone. (cherry picked from commit 8b2ee6d)
The Geode JMX layer will configure the system property
“jmx.remote.rmi.server.serial.filter.pattern" to only accept
JDK classes identified as open-types required for JMX.
If the system property already has a value then Geode will log
a statement and leave the system property alone.
If the Java version is Java 8 then the system property does
not exist and will not be set.
Further pull requests may be submitted for Java 8.