The following document contains the results of Rat (Release Audit Tool).
*****************************************************
Summary
-------
Generated at: 2017-03-11T23:54:34-05:00
Notes: 0
Binaries: 0
Archives: 0
Standards: 11
Apache Licensed: 0
Generated Documents: 0
JavaDocs are generated, thus a license header is optional.
Generated files do not require license headers.
11 Unknown Licenses
*****************************************************
Files with unapproved licenses:
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/pom.xml
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/CreatePullPointService.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/Delivery.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/Mailbox.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PausableSubscriptionManagerService.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PublisherRegistrationManagerService.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PullPointService.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/SingletonBroker.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/SubscriptionInfo.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/WSNotificationBroker.java
C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/test/java/org/miloss/fgsms/wsn/broker/CreatePullPointServiceTest.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-ws-notification/fgsms-wsnotification-broker-jar/pom.xml
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/CreatePullPointService.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/Delivery.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/Mailbox.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PausableSubscriptionManagerService.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PublisherRegistrationManagerService.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PullPointService.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/SingletonBroker.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/SubscriptionInfo.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/WSNotificationBroker.java
!????? C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/test/java/org/miloss/fgsms/wsn/broker/CreatePullPointServiceTest.java
*****************************************************
Printing headers for text files without a valid license header...
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/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-ws-notification</artifactId>
<version>7.0.0</version>
</parent>
<artifactId>fgsms-wsnotification-broker-jar</artifactId>
<packaging>jar</packaging>
<name>fgsms WS-Notification Broker (Jar)</name>
<description>A simple WS Notification Broker</description>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>fgsms-wsnotification-spec</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>fgsms-wsnotification-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/CreatePullPointService.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.wsn.broker;
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.annotation.XmlSeeAlso;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.ws.WebServiceContext;
import javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder;
import org.apache.log4j.Logger;
import org.oasis_open.docs.wsn.b_2.CreatePullPointResponse;
import org.oasis_open.docs.wsn.brw_2.UnableToCreatePullPointFault;
/**
*
* @author Administrator
*/
@WebService(name = "CreatePullPoint", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2", serviceName = "CreatePullPointService", portName = "CreatePullPointBindingPort"
,wsdlLocation = "brw-2impl.wsdl")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({
org.oasis_open.docs.wsrf.r_2.ObjectFactory.class,
org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class,
org.oasis_open.docs.wsn.t_1.ObjectFactory.class,
org.oasis_open.docs.wsn.b_2.ObjectFactory.class,
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/Delivery.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.wsn.broker;
import org.oasis_open.docs.wsn.b_2.Notify;
/**
* to be used for queuing dispatches
* @author Administrator
*/
public class Delivery {
public SubscriptionInfo si;
public Notify notify;
}
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/Mailbox.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.wsn.broker;
import java.util.Queue;
import org.oasis_open.docs.wsn.b_2.Notify;
/**
* to be used for pullpoints
* @author Administrator
*/
public class Mailbox {
public String id;
public String username;
public Queue<Notify> messages;
}
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PausableSubscriptionManagerService.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.wsn.broker;
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.annotation.XmlSeeAlso;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.ws.WebServiceContext;
import org.apache.log4j.Logger;
import org.oasis_open.docs.wsn.b_2.*;
import org.oasis_open.docs.wsn.brw_2.*;
/**
*
* @author Administrator
*/
@WebService(name = "PausableSubscriptionManager", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2", serviceName = "PausableSubscriptionManagerService", portName = "PausableSubscriptionManagerPort"
,wsdlLocation = "brw-2impl.wsdl")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({
org.oasis_open.docs.wsrf.r_2.ObjectFactory.class,
org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class,
org.oasis_open.docs.wsn.t_1.ObjectFactory.class,
org.oasis_open.docs.wsn.b_2.ObjectFactory.class,
org.oasis_open.docs.wsn.br_2.ObjectFactory.class
})
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PublisherRegistrationManagerService.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.wsn.broker;
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.annotation.XmlSeeAlso;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.ws.WebServiceContext;
import org.apache.log4j.Logger;
import org.oasis_open.docs.wsn.br_2.DestroyRegistration;
import org.oasis_open.docs.wsn.br_2.DestroyRegistrationResponse;
import org.oasis_open.docs.wsn.brw_2.ResourceNotDestroyedFault;
import org.oasis_open.docs.wsn.brw_2.ResourceUnknownFault;
/**
*
* @author Administrator
*/
@WebService(name = "PublisherRegistrationManager", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2", serviceName = "PublisherRegistrationManagerService", portName = "PublisherRegistrationManagerPort"
,wsdlLocation = "brw-2impl.wsdl")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({
org.oasis_open.docs.wsrf.r_2.ObjectFactory.class,
org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class,
org.oasis_open.docs.wsn.t_1.ObjectFactory.class,
org.oasis_open.docs.wsn.b_2.ObjectFactory.class,
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/PullPointService.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.wsn.broker;
import javax.annotation.Resource;
import javax.jws.*;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.ws.WebServiceContext;
import org.apache.log4j.Logger;
import org.oasis_open.docs.wsn.b_2.*;
import org.oasis_open.docs.wsn.brw_2.ResourceUnknownFault;
import org.oasis_open.docs.wsn.brw_2.UnableToDestroyPullPointFault;
import org.oasis_open.docs.wsn.brw_2.UnableToGetMessagesFault;
/**
*
* @author Administrator
* {http://docs.oasis-open.org/wsn/brw-2}PullPointService
*/
@WebService(name = "PullPoint", targetNamespace = "http://docs.oasis-open.org/wsn/brw-2", serviceName = "PullPointService", portName = "PullPointBindingPort"
,wsdlLocation = "brw-2impl.wsdl")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({
org.oasis_open.docs.wsrf.r_2.ObjectFactory.class,
org.oasis_open.docs.wsrf.bf_2.ObjectFactory.class,
org.oasis_open.docs.wsn.t_1.ObjectFactory.class,
org.oasis_open.docs.wsn.b_2.ObjectFactory.class,
org.oasis_open.docs.wsn.br_2.ObjectFactory.class
})
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/SingletonBroker.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.wsn.broker;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.ConcurrentLinkedQueue;
import javax.xml.bind.JAXBElement;
import javax.xml.ws.BindingProvider;
import org.apache.log4j.*;
import org.oasis_open.docs.wsn.b_2.*;
import org.oasis_open.docs.wsn.b_2.CreatePullPoint;
import org.oasis_open.docs.wsn.brw_2.*;
import org.oasis_open.docs.wsrf.r_2.ResourceUnknownFaultType;
import org.miloss.fgsms.wsn.WSNUtility;
/**
* This is a singleton message broker for the OASIS specification
* WS-Notification No authorization is peformed in this class, authorization
* should be performed by its callers
*
* @author AO
*/
public class SingletonBroker {
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/SubscriptionInfo.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.wsn.broker;
import java.util.List;
import org.oasis_open.docs.wsn.b_2.Subscribe;
/**
*
* @author Administrator
*/
public class SubscriptionInfo {
public String subid="";
public String callback="";
public List<String> topics=null;
public Subscribe data;
public boolean paused=false;
}
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/main/java/org/miloss/fgsms/wsn/broker/WSNotificationBroker.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.wsn.broker;
import java.util.GregorianCalendar;
import javax.annotation.Resource;
import javax.jws.Oneway;
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.JAXBElement;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.ws.WebServiceContext;
import javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder;
import org.apache.log4j.Logger;
import org.oasis_open.docs.wsn.b_2.GetCurrentMessage;
import org.oasis_open.docs.wsn.b_2.GetCurrentMessageResponse;
import org.oasis_open.docs.wsn.b_2.InvalidFilterFaultType;
import org.oasis_open.docs.wsn.b_2.Notify;
import org.oasis_open.docs.wsn.b_2.Subscribe;
import org.oasis_open.docs.wsn.b_2.SubscribeCreationFailedFaultType;
import org.oasis_open.docs.wsn.b_2.SubscribeResponse;
import org.oasis_open.docs.wsn.b_2.TopicExpressionType;
import org.oasis_open.docs.wsn.br_2.RegisterPublisher;
import org.oasis_open.docs.wsn.br_2.RegisterPublisherResponse;
import org.oasis_open.docs.wsn.brw_2.*;
import org.miloss.fgsms.wsn.WSNConstants;
=====================================================
== File: C:/projects/fgsms/fgsms-ws-notification/fgsms-wsnotification-broker-jar/src/test/java/org/miloss/fgsms/wsn/broker/CreatePullPointServiceTest.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.wsn.broker;
import java.util.Random;
import java.util.UUID;
import javax.xml.ws.Endpoint;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
/**
*
* @author la.alex.oree
*/
public class CreatePullPointServiceTest {
public CreatePullPointServiceTest() {
}
@BeforeClass
public static void setUpClass() {
}
@AfterClass
public static void tearDownClass() {
}
@Before
public void setUp() {
}
@After
public void tearDown() {
}
final Random rand =new Random();
final int baseport=1024;
/**
* Test of createPullPoint method, of class CreatePullPointService.
*/
@Test
public void testCreatePullPoint() throws Exception {
System.out.println("createPullPoint");