-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test checkpoint/restore with AES decryption for basicRegistry #30624
base: integration
Are you sure you want to change the base?
Test checkpoint/restore with AES decryption for basicRegistry #30624
Conversation
ac1250e
to
841fbc5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. I just have a few suggestions/questions.
@@ -13,3 +13,4 @@ | |||
com.ibm.ws.logging.trace.specification=*=info=enabled:com.ibm.ws.security.registry.basic.*=all=enabled | |||
|
|||
bootstrap.include=../testports.properties | |||
io.openliberty.checkpoint.allowed.features=basicRegistryInternals-1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could update the test feature to support InstantOn instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
public class FATTest { | ||
private static final String DEFAULT_CONFIG_FILE = "basic.server.xml.orig"; | ||
private static final String ALTERNATE_BASIC_REGISTRY_CONFIG = "alternateBasicRegistry.xml"; | ||
private static final String DEFAULT_AES_CONFIG_FILE = "defaultAESBasicRegistry.xml"; | ||
private static final String CUSTOM_AES_CONFIG_FILE = "customAESBasicRegistry.xml"; | ||
private static final String DEFAULT_HASH_CONFIG_FILE = "defaultHashBasicRegistry.xml"; | ||
private static String serverConfigurationFile = DEFAULT_CONFIG_FILE; | ||
private static LibertyServer server = LibertyServerFactory.getLibertyServer("com.ibm.ws.security.registry.basic.fat"); | ||
public static LibertyServer server; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why change this to public
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I changed it by mistake. Will make it private.
Log.info(c, "serverSetUp", "Creating servlet connection the server"); | ||
servlet = new UserRegistryServletConnection(server.getHostname(), server.getHttpDefaultPort()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these two lines go after calling serverStart()
in the public static void serverStart(ServerMode, LibertyServer)
method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I will update it.
841fbc5
to
cbbc169
Compare
#build (view Open Liberty Personal Build - ❌ completed with errors/failures.) Note: Target locations of links might be accessible only to IBM employees. |
Code analysis and actionsDO NOT DELETE THIS COMMENT.
|
cbbc169
to
1c44022
Compare
#build (view Open Liberty Personal Build - ❌ completed with errors/failures.) Note: Target locations of links might be accessible only to IBM employees. |
Code analysis and actionsDO NOT DELETE THIS COMMENT.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_SEgJENo_Ee-0yqtOHBleJw The build will run your changed FAT bucket(s) 10 times. Target locations of links might be accessible only to IBM employees. |
Your personal build request is at https://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_3lazcNpEEe-0yqtOHBleJw The build will run your changed FAT bucket(s) 10 times. Target locations of links might be accessible only to IBM employees. |
8a355ec
#build (view Open Liberty Personal Build - ⏳InProgress) Note: Target locations of links might be accessible only to IBM employees. |
Code analysis and actionsDO NOT DELETE THIS COMMENT.
|
for #30603
release bug
label if applicable: https://github.com/OpenLiberty/open-liberty/wiki/Open-Liberty-Conventions).