The following document contains the results of Rat (Release Audit Tool).
*****************************************************
Summary
-------
Generated at: 2017-03-11T23:53:38-05:00
Notes: 1
Binaries: 0
Archives: 0
Standards: 5
Apache Licensed: 1
Generated Documents: 0
JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.
4 Unknown Licenses
*****************************************************
Files with unapproved licenses:
C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/log4j.properties
C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/pom.xml
C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/src/main/java/org/miloss/fgsms/agents/qpidpy/Mainv2.java
C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/src/main/java/org/miloss/fgsms/agents/qpidpy/qpidcmdws.java
*****************************************************
*****************************************************
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-agents/fgsms-qpid-pyagent/log4j.properties
!????? C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/pom.xml
N C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/readme.txt
!????? C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/src/main/java/org/miloss/fgsms/agents/qpidpy/Mainv2.java
!????? C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/src/main/java/org/miloss/fgsms/agents/qpidpy/qpidcmdws.java
AL C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/src/main/resources/qpid-stat2
*****************************************************
Printing headers for text files without a valid license header...
=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/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
=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/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-agents</artifactId>
<version>7.0.0</version>
</parent>
<artifactId>fgsms-qpid-pyagent</artifactId>
<packaging>bundle</packaging>
<name>fgsms Qpid C++ Py Agent</name>
<description>Apache Qpid/Redhat MRG agent for C++ implementations</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mil-oss</groupId>
<artifactId>fgsms-common</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.mil-oss</groupId>
<artifactId>fgsms-common-interfaces</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/src/main/java/org/miloss/fgsms/agents/qpidpy/Mainv2.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.agents.qpidpy;
import java.io.File;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
import org.apache.log4j.Level;
import org.miloss.fgsms.common.Logger;;
import org.apache.log4j.PropertyConfigurator;
import org.miloss.fgsms.agentcore.ConfigurationException;
import org.miloss.fgsms.agentcore.StatusHelper;
import org.miloss.fgsms.common.IpAddressUtility;
import org.miloss.fgsms.common.Utility;
import org.miloss.fgsms.services.interfaces.common.PolicyType;
/**
* fgsms monitor for Qpid/MRG AMQP brokers based on C++.
*
* @author AO fgsms monitor for Qpid/MRG AMQP brokers based on C++. This
* command runs a customized version of qpid-stats, parses the output and then
* records it in the fgsms database.
*/
public class Mainv2 {
static Logger log = Logger.getLogger("fgsms.QpidPython");
private boolean running = true;
private boolean done = false;
private File file;
private FileChannel channel;
private FileLock lock;
=====================================================
== File: C:/projects/fgsms/fgsms-agents/fgsms-qpid-pyagent/src/main/java/org/miloss/fgsms/agents/qpidpy/qpidcmdws.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.agents.qpidpy;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import org.miloss.fgsms.agentcore.ConfigurationException;
import org.miloss.fgsms.agentcore.PolicyFetch;
import org.miloss.fgsms.agentcore.StatisticalHelper;
import org.miloss.fgsms.common.Utility;
import org.miloss.fgsms.services.interfaces.common.PolicyType;
import org.miloss.fgsms.services.interfaces.datacollector.AddStatisticalDataRequestMsg;
import org.miloss.fgsms.services.interfaces.datacollector.BrokerData;
import org.miloss.fgsms.services.interfaces.policyconfiguration.*;
import org.apache.log4j.Level;
import org.miloss.fgsms.common.Logger;;
import org.miloss.fgsms.services.interfaces.common.NameValuePair;
/**
* Redhat MRG/Apache Qpid C++ Broker agent Calls the
* quid-stat2 python command (including with fgsms) to parse the output and
* statististics from a C++ Qpid broker Then sends the data back via web service
* call
*
* @author AO
*/
public class qpidcmdws {