The following document contains the results of Rat (Release Audit Tool).
***************************************************** Summary ------- Generated at: 2017-03-12T00:04:24-05:00 Notes: 0 Binaries: 0 Archives: 0 Standards: 9 Apache Licensed: 1 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 8 Unknown Licenses ***************************************************** Files with unapproved licenses: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/pom.xml C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/PCS4jBean.java C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/SLASubscriptionInfo.java C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/ValidationTools.java C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/LeakFinder.java C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/PCS4jBeanTest.java C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/PcsSuite.java C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/resources/log4j.properties ***************************************************** ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/pom.xml AL C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/OpStat.java !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/PCS4jBean.java !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/SLASubscriptionInfo.java !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/ValidationTools.java !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/LeakFinder.java !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/PCS4jBeanTest.java !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/PcsSuite.java !????? C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/resources/log4j.properties ***************************************************** Printing headers for text files without a valid license header... ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/pom.xml ===================================================== <?xml version="1.0" encoding="UTF-8"?> <!-- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice. U.S. Government, Department of the Army Army Materiel Command Research Development Engineering Command Communications Electronics Research Development and Engineering Center --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.mil-oss</groupId> <artifactId>fgsms-server</artifactId> <version>7.0.0</version> </parent> <artifactId>fgsms-policy-configuration-service</artifactId> <packaging>bundle</packaging> <name>fgsms Policy Configuration Service</name> <description>Handles changing configuration and service policies</description> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.15</version> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mil-oss</groupId> <artifactId>fgsms-common-interfaces</artifactId> <version>${project.parent.version}</version> ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/PCS4jBean.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.services.pcs.impl; import java.io.ByteArrayInputStream; import java.io.StringWriter; import java.sql.*; import java.util.*; import java.util.concurrent.atomic.AtomicReference; import javax.annotation.Resource; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.xml.bind.*; import javax.xml.datatype.DatatypeConfigurationException; import javax.xml.datatype.DatatypeFactory; import java.util.Calendar; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamReader; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; import javax.xml.ws.WebServiceContext; import org.apache.log4j.Level; import org.miloss.fgsms.common.Logger; ; import org.miloss.fgsms.common.AuditLogger; import org.miloss.fgsms.common.Constants; ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/SLASubscriptionInfo.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.services.pcs.impl; import java.util.List; /** * * @author AO */ class SLASubscriptionInfo { String id; String username; List<String> email; } ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/main/java/org/miloss/fgsms/services/pcs/impl/ValidationTools.java ===================================================== /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.miloss.fgsms.services.pcs.impl; import java.util.HashSet; import java.util.concurrent.atomic.AtomicReference; import java.util.regex.Pattern; import org.miloss.fgsms.common.Utility; import org.miloss.fgsms.plugins.federation.FederationInterface; import org.miloss.fgsms.services.interfaces.policyconfiguration.FederationPolicy; import org.miloss.fgsms.services.interfaces.policyconfiguration.FederationPolicyCollection; /** * eventually, all of the validation stuff for the PCS service will end up here * with the goal of reducing the line counts * @author AO */ public class ValidationTools { //private static final String ID_PATTERN = "\\p{javaJavaIdentifierStart}\\p{javaJavaIdentifierPart}*"; //private static final Pattern FQCN = Pattern.compile(ID_PATTERN + "(\\." + ID_PATTERN + ")*"); // return FQCN.matcher(identifier).matches(); // All Java reserved words that must not be used in a valid package name. private static final HashSet reserved; static { reserved = new HashSet(); reserved.add("abstract");reserved.add("assert");reserved.add("boolean"); reserved.add("break");reserved.add("byte");reserved.add("case"); reserved.add("catch");reserved.add("char");reserved.add("class"); reserved.add("const");reserved.add("continue");reserved.add("default"); reserved.add("do");reserved.add("double");reserved.add("else"); reserved.add("enum");reserved.add("extends");reserved.add("false"); reserved.add("final");reserved.add("finally");reserved.add("float"); reserved.add("for");reserved.add("if");reserved.add("goto"); reserved.add("implements");reserved.add("import");reserved.add("instanceof"); reserved.add("int");reserved.add("interface");reserved.add("long"); reserved.add("native");reserved.add("new");reserved.add("null"); reserved.add("package");reserved.add("private");reserved.add("protected"); reserved.add("public");reserved.add("return");reserved.add("short"); reserved.add("static");reserved.add("strictfp");reserved.add("super"); reserved.add("switch");reserved.add("synchronized");reserved.add("this"); reserved.add("throw");reserved.add("throws");reserved.add("transient"); reserved.add("true");reserved.add("try");reserved.add("void"); reserved.add("volatile");reserved.add("while"); ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/LeakFinder.java ===================================================== /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.miloss.fgsms.services.pcs.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.UUID; import javax.xml.datatype.DatatypeFactory; import org.junit.After; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import org.miloss.fgsms.common.Utility; import org.miloss.fgsms.services.interfaces.common.PolicyType; import org.miloss.fgsms.services.interfaces.common.SecurityWrapper; import org.miloss.fgsms.services.interfaces.policyconfiguration.ArrayOfSLA; import org.miloss.fgsms.services.interfaces.policyconfiguration.ArrayOfSLAActionBaseType; import org.miloss.fgsms.services.interfaces.policyconfiguration.ArrayOfUserIdentity; import org.miloss.fgsms.services.interfaces.policyconfiguration.ArrayOfUserInfo; import org.miloss.fgsms.services.interfaces.policyconfiguration.ArrayOfUserPermissionType; import org.miloss.fgsms.services.interfaces.policyconfiguration.ClearCredentialsRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.ClearCredentialsResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.DeleteServicePolicyRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.DeleteServicePolicyResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.ElevateSecurityLevelRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.ElevateSecurityLevelResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.FederationPolicy; import org.miloss.fgsms.services.interfaces.policyconfiguration.FederationPolicyCollection; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAdministratorsRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAdministratorsResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAgentPrinicplesRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAgentPrinicplesResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAlertRegistrationsRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAlertRegistrationsResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAvailableAlertRegistrationsRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetAvailableAlertRegistrationsResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetGeneralSettingsRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetGeneralSettingsResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetGlobalPolicyRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetGlobalPolicyResponseMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetMailSettingsRequestMsg; import org.miloss.fgsms.services.interfaces.policyconfiguration.GetMailSettingsResponseMsg; ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/PCS4jBeanTest.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.services.pcs.impl; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.UUID; import javax.xml.datatype.DatatypeConfigurationException; import javax.xml.datatype.DatatypeFactory; import org.miloss.fgsms.common.Utility; import org.miloss.fgsms.services.interfaces.common.PolicyType; import org.miloss.fgsms.services.interfaces.common.SecurityWrapper; import org.miloss.fgsms.services.interfaces.policyconfiguration.*; import org.junit.After; import static org.junit.Assert.*; import org.junit.Ignore; import org.junit.Test; import org.miloss.fgsms.agentcore.ConfigurationException; import org.miloss.fgsms.sla.actions.SLAActionRestart; import org.miloss.fgsms.sla.rules.AllFaults; import org.miloss.fgsms.sla.rules.BrokerQueueSizeGreaterThan; import org.miloss.fgsms.sla.rules.HighCPUUsage; import us.gov.ic.ism.v2.ClassificationType; /** * * @author AO */ public class PCS4jBeanTest extends org.miloss.fgsms.test.WebServiceBaseTests { ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/java/org/miloss/fgsms/services/pcs/impl/PcsSuite.java ===================================================== /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * If it is not possible or desirable to put the notice in a particular * file, then You may include the notice in a location (such as a LICENSE * file in a relevant directory) where a recipient would be likely to look * for such a notice. * */ /* --------------------------------------------------------------------------- * U.S. Government, Department of the Army * Army Materiel Command * Research Development Engineering Command * Communications Electronics Research Development and Engineering Center * --------------------------------------------------------------------------- */ package org.miloss.fgsms.services.pcs.impl; import org.junit.runner.RunWith; import org.junit.runners.Suite; /** * * @author AO */ @org.junit.runner.RunWith(org.junit.runners.Suite.class) @org.junit.runners.Suite.SuiteClasses({PCS4jBeanTest.class}) public class PcsSuite { @org.junit.BeforeClass public static void setUpClass() throws Exception { } @org.junit.AfterClass public static void tearDownClass() throws Exception { } } ===================================================== == File: C:/projects/fgsms/fgsms-server/fgsms-policy-configuration-service/src/test/resources/log4j.properties ===================================================== log4j.rootLogger=INFO, CONSOLE log4j.appender.jaxws.JAXWSWebServiceMetaDataBuilder=ERROR,CONSOLE log4j.appender.jaxws=ERROR,CONSOLE log4j.appender.org.jboss.ws.metadata=ERROR,CONSOLE log4j.appender.org.jboss.ws.metadata.builder=ERROR,CONSOLE log4j.appender.org.jboss.ws.metadata.builder.MetaDataBuilder=ERROR,CONSOLE log4j.appender.builder.MetaDataBuilder=ERROR,CONSOLE log4j.appender.builder=ERROR,CONSOLE log4j.appender.org.apache.cxf.service.factory.ReflectionServiceFactoryBean=ERROR,CONSOLE log4j.appender.handler.HandlerChainExecutor=ERROR,CONSOLE log4j.appender.handler=ERROR,CONSOLE log4j.appender.soap.MessageContextAssociation=ERROR,CONSOLE log4j.appender.httpclient.wire.content=WARN, CONSOLE log4j.appender.httpclient.wire=WARN, CONSOLE log4j.appender.org.apache.commons.httpclient=WARN, CONSOLE log4j.appender.httpclient.wire.content=WARN, CONSOLE log4j.appender.httpclient.wire=WARN, CONSOLE log4j.appender.org.apache.commons.httpclient=WARN, CONSOLE log4j.appender.umdm.EndpointMetaData==ERROR, CONSOLE log4j.appender.handler.HandlerResolverImpl==ERROR, CONSOLE log4j.appender.binding.BindingImpl==ERROR, CONSOLE log4j.appender.jaxws.JAXWSWebServiceMetaDataBuilder==ERROR, CONSOLE log4j.appender.utils.JBossWSEntityResolver==ERROR, CONSOLE log4j.appender.fgsms.ServiceMixJMX=INFO,CONSOLE log4j.appender.fgsms.Utility=INFO,CONSOLE log4j.appender.fgsms.StatusBueller=INFO,CONSOLE log4j.appender.fgsms.DataCollectorService=INFO,CONSOLE log4j.appender.fgsms.DataAccessService=INFO,CONSOLE log4j.appender.org.miloss.fgsms.common.AuditLogger=INFO,CONSOLE log4j.appender.fgsms.UserIdentityUtil=INFO,CONSOLE log4j.appender.fgsms.StatusBueller=INFO,CONSOLE log4j.appender.fgsms.QpidPython=INFO,CONSOLE log4j.appender.fgsms.QpidJMX=INFO,CONSOLE log4j.appender.fgsms.DataPruner=INFO,CONSOLE log4j.appender.fgsms.UDDIPublisher=INFO,CONSOLE log4j.appender.fgsms.MulticastAlerting=INFO,CONSOLE log4j.appender.fgsms.SLAProcessor=INFO,CONSOLE #the following items are used for sending SLA Alerts to specific loggers. Configure them as necessary to pipe log output whereever you need it log4j.appender.fgsms.SLAProcessor.SysLog=INFO,CONSOLE log4j.appender.fgsms.SLAProcessor.UdpLog=INFO,CONSOLE log4j.appender.fgsms.SLAProcessor.EventLog=INFO,CONSOLE