Skip to content

Commit

Permalink
FISH-9777: Implement feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
Viii3 committed Nov 5, 2024
1 parent d046c87 commit 3b69917
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# only if the new code is made subject to such option by the copyright
# holder.
#
# Portions Copyright [2024] [Payara Foundation and/or affiliates]
# Portions Copyright 2024 Payara Foundation and/or affiliates

## Java Mail Sessions
javaMailSessions.pageTitle=JavaMail-Sessions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<!-- Portions Copyright [2019-2024] [Payara Foundation and/or its affiliates] -->
<!-- Portions Copyright 2019-2024 [Payara Foundation and/or its affiliates] -->
<html lang="en">
<head>
<meta charset="utf-8"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public URL[] locateDownloadedJars() throws
"jakarta.ejb.EJB," /* jakarta ee */ +
"jakarta.security.auth.message.module.ServerAuthModule," /* jaspic-api */ +
"com.sun.appserv.management.ext.logging.LogAnalyzer," /* appserv-ext */ +
"org.eclipse.angus.mail.iap.Argument," /* mail */ +
"org.eclipse.angus.mail.iap.Argument," /* mail */ +
"com.sun.activation.viewers.ImageViewer," /* activation */ +
"com.sun.xml.ws.api.server.WSEndpoint," /* webservices-rt */ +
"com.sun.tools.ws.wsdl.parser.W3CAddressingExtensionHandler," /* webservices-tools */ +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ public void testExecuteFailDuplicateResource() {
* asadmin create-javamail-resource --mailuser=test --mailhost=localhost
* --fromaddress=test@sun.com --enabled=false --debug=true
* --storeprotocol=pop
* --storeprotocolclass=org.eclipse.angus.mail.pop.POPStore
* --transprotocol=lmtp
* --transprotocolclass=org.eclipse.angus.mail.lmtop.LMTPTransport
* --storeprotocolclass=org.eclipse.angus.mail.pop.POP3Store
* --transprotocol=smtp
* --transprotocolclass=org.eclipse.angus.mail.smtp.SMTPTransport
* mail/MyMailSession
*/
@Test
Expand All @@ -245,9 +245,9 @@ public void testExecuteWithOptionalValuesSet() {
parameters.set("enabled", "false");
parameters.set("debug", "true");
parameters.set("storeprotocol", "pop");
parameters.set("storeprotocolclass", "org.eclipse.angus.mail.pop.POPStore");
parameters.set("transprotocol", "lmtp");
parameters.set("transprotocolclass", "org.eclipse.angus.mail.lmtp.LMTPTransport");
parameters.set("storeprotocolclass", "org.eclipse.angus.mail.pop.POP3Store");
parameters.set("transprotocol", "smtp");
parameters.set("transprotocolclass", "org.eclipse.angus.mail.smtp.SMTPTransport");
parameters.set("jndi_name", "mail/MyMailSession");
org.glassfish.resources.javamail.admin.cli.CreateJavaMailResource command = habitat.getService(org.glassfish.resources.javamail.admin.cli.CreateJavaMailResource.class);
assertTrue(command != null);
Expand All @@ -263,9 +263,9 @@ public void testExecuteWithOptionalValuesSet() {
assertEquals("true", r.getEnabled());
assertEquals("true", r.getDebug());
assertEquals("pop", r.getStoreProtocol());
assertEquals("org.eclipse.angus.mail.pop.POPStore", r.getStoreProtocolClass());
assertEquals("lmtp", r.getTransportProtocol());
assertEquals("org.eclipse.angus.mail.lmtp.LMTPTransport", r.getTransportProtocolClass());
assertEquals("org.eclipse.angus.mail.pop.POP3Store", r.getStoreProtocolClass());
assertEquals("smtp", r.getTransportProtocol());
assertEquals("org.eclipse.angus.mail.smtp.SMTPTransport", r.getTransportProtocolClass());
assertEquals("false", r.getAuth());
isCreated = true;
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* only if the new code is made subject to such option by the copyright
* holder.
*/
// Portions Copyright [2017-2022] [Payara Foundation and/or its affiliates]
// Portions Copyright 2017-2024 [Payara Foundation and/or its affiliates]

package org.glassfish.resources.admin.cli;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) [2020-2024] Payara Foundation and/or its affiliates. All rights reserved.
* Copyright (c) 2020-2024 Payara Foundation and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -59,9 +59,9 @@ public void testJavaMailDeploymentGroupRef() {
"--auth=false",
"--transportProtocol=smtp",
"--host=localhost",
"--storeProtocolClass=org.eclipse.angus.mail.imap.IMAPStore",
"--storeProtocolClass=org.eclipse.angus.mail.imap.IMAPStore",
"--from=ratatosk@payara.fish",
"--transportProtocolClass=org.eclipse.angus.mail.smtp.SMTPTransport",
"--transportProtocolClass=org.eclipse.angus.mail.smtp.SMTPTransport",
"--enabled=true",
"--target=domain",
"--mailhost=localhost",
Expand Down
4 changes: 2 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
<ldapbp.version>1.0</ldapbp.version>
<!-- Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java. -->
<javassist.version>3.30.2-GA</javassist.version>
<mail.version>2.1.0</mail.version>
<angus.mail.version>2.0.0</angus.mail.version>
<mail.version>2.1.3</mail.version>
<angus.mail.version>2.0.3</angus.mail.version>
<ha-api.version>3.1.13</ha-api.version>
<apache.bcel.version>6.10.0</apache.bcel.version>
<!-- Primitive Function Library (PFL); a library of simple utilities used by Glassfish -->
Expand Down

0 comments on commit 3b69917

Please sign in to comment.