renamed com.whizcontrol java packages into com.telecominfraproject.wlan

This commit is contained in:
DTop
2020-03-02 17:55:28 -05:00
parent 2db070bcc3
commit fdbec12d1f
218 changed files with 449 additions and 374 deletions

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.async;
package com.telecominfraproject.wlan.core.server.async;
import java.util.Collection;
import java.util.Iterator;
@@ -27,8 +27,8 @@ import org.springframework.util.concurrent.ListenableFuture;
import com.netflix.servo.annotations.DataSourceType;
import com.netflix.servo.annotations.Monitor;
import com.netflix.servo.monitor.Monitors;
import com.whizcontrol.core.server.async.example.AsyncCallerExample;
import com.whizcontrol.core.server.async.example.AsyncExample;
import com.telecominfraproject.wlan.core.server.async.example.AsyncCallerExample;
import com.telecominfraproject.wlan.core.server.async.example.AsyncExample;
/**
* @author dtoptygin

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.async;
package com.telecominfraproject.wlan.core.server.async;
import java.lang.reflect.Method;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.async.example;
package com.telecominfraproject.wlan.core.server.async.example;
import java.util.concurrent.Future;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.async.example;
package com.telecominfraproject.wlan.core.server.async.example;
import java.util.concurrent.Future;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.async.example;
package com.telecominfraproject.wlan.core.server.async.example;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.cache;
package com.telecominfraproject.wlan.core.server.cache;
import org.springframework.cache.Cache;
import org.springframework.cache.Cache.ValueWrapper;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.cache;
package com.telecominfraproject.wlan.core.server.cache;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.cache;
package com.telecominfraproject.wlan.core.server.cache;
/**
* @author yongli

View File

@@ -0,0 +1,5 @@
package com.telecominfraproject.wlan.core.server.cache;
public enum CacheType {
}

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.cache;
package com.telecominfraproject.wlan.core.server.cache;
/**
* @author yongli

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
@@ -13,8 +13,8 @@ import org.slf4j.LoggerFactory;
import org.springframework.util.ResourceUtils;
import org.springframework.util.StreamUtils;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.whizcontrol.server.exceptions.ConfigurationException;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.server.exceptions.ConfigurationException;
/**
* @author yongli

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import java.net.InetAddress;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import java.net.InetAddress;
import java.net.UnknownHostException;
@@ -7,7 +7,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.core.env.Environment;
import com.whizcontrol.server.exceptions.ConfigurationException;
import com.telecominfraproject.wlan.server.exceptions.ConfigurationException;
/**
* @author dtop

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
/**
* @author dtop

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import org.apache.catalina.connector.Connector;
import org.slf4j.Logger;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import org.apache.catalina.connector.Connector;
import org.slf4j.Logger;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import java.util.Arrays;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import java.io.File;
import java.util.Map;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import java.io.FileNotFoundException;
import java.util.Timer;
@@ -145,7 +145,7 @@ public abstract class ServletContainerCustomizer implements EmbeddedServletConta
if(useCertificateClientAuth){
connector.setAttribute("clientAuth", "true"); // for use with X.509 certificates on the client
} else {
connector.setAttribute("clientAuth", "false"); //no auth, just SSL ( basic/digest/form auth can still be used - see com.whizcontrol.core.server.security.WebSecurityConfig )
connector.setAttribute("clientAuth", "false"); //no auth, just SSL ( basic/digest/form auth can still be used - see com.telecominfraproject.wlan.core.server.security.WebSecurityConfig )
}

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.container;
package com.telecominfraproject.wlan.core.server.container;
import java.io.IOException;
import java.util.Set;
@@ -20,7 +20,7 @@ import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Component;
import org.springframework.web.filter.OncePerRequestFilter;
import com.whizcontrol.core.server.security.WebSecurityConfig;
import com.telecominfraproject.wlan.core.server.security.WebSecurityConfig;
/**
* @author dtop

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.controller.ping;
package com.telecominfraproject.wlan.core.server.controller.ping;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -8,7 +8,7 @@ import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import com.whizcontrol.core.server.container.ConnectorProperties;
import com.telecominfraproject.wlan.core.server.container.ConnectorProperties;
/**

View File

@@ -1,6 +1,6 @@
package com.whizcontrol.core.server.controller.ping;
package com.telecominfraproject.wlan.core.server.controller.ping;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
public class PingResponse extends BaseJsonModel {

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.controller.transaction;
package com.telecominfraproject.wlan.core.server.controller.transaction;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.context.annotation.Bean;
@@ -19,7 +19,7 @@ import org.springframework.transaction.PlatformTransactionManager;
public class TransactionManagerConfiguration {
@Bean
@ConditionalOnMissingClass(value = "com.whizcontrol.core.server.jdbc.BaseDataSourceConfig")
@ConditionalOnMissingClass(value = "com.telecominfraproject.wlan.core.server.jdbc.BaseDataSourceConfig")
public PlatformTransactionManager platformTransactionManager() {
return new PseudoTransactionManager();
}

View File

@@ -1,6 +1,6 @@
package com.whizcontrol.core.server.controller.util;
package com.telecominfraproject.wlan.core.server.controller.util;
import com.whizcontrol.datastore.exceptions.DsConcurrentModificationException;
import com.telecominfraproject.wlan.datastore.exceptions.DsConcurrentModificationException;
/**
* Since some of our APIs involve switching states, I prefer to have

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
public enum AccessType {
/**

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
public interface AuthProviderInfo {
/**

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import java.io.IOException;
import java.security.MessageDigest;
@@ -63,11 +63,11 @@ import org.springframework.security.web.header.HeaderWriter;
import org.springframework.security.web.util.matcher.AnyRequestMatcher;
import org.springframework.security.web.util.matcher.RequestMatcher;
import com.whizcontrol.core.server.container.ConnectorProperties;
import com.whizcontrol.core.server.security.auth0.Auth0AuthenticationEntryPoint;
import com.whizcontrol.core.server.security.auth0.Auth0AuthenticationFilter;
import com.whizcontrol.core.server.security.auth0.Auth0AuthenticationProvider;
import com.whizcontrol.server.exceptions.ConfigurationException;
import com.telecominfraproject.wlan.core.server.container.ConnectorProperties;
import com.telecominfraproject.wlan.core.server.security.auth0.Auth0AuthenticationEntryPoint;
import com.telecominfraproject.wlan.core.server.security.auth0.Auth0AuthenticationFilter;
import com.telecominfraproject.wlan.core.server.security.auth0.Auth0AuthenticationProvider;
import com.telecominfraproject.wlan.server.exceptions.ConfigurationException;
/**
* @author dtoptygin
@@ -354,7 +354,7 @@ public abstract class WebSecurityConfig extends WebSecurityConfigurerAdapter {
/**
* Call this method to set up form-based http authentication for use with
* portals Make sure com.whizcontrol.core.server.ServletContainerCustomizer
* portals Make sure com.telecominfraproject.wlan.core.server.ServletContainerCustomizer
* is using connector.setAttribute("clientAuth", "false")
*
* Examples of calling web service: with self-signed certificates: 1. Call
@@ -395,7 +395,7 @@ public abstract class WebSecurityConfig extends WebSecurityConfigurerAdapter {
/**
* Call this method to set up basic http authentication for use with REST
* web services Make sure
* com.whizcontrol.core.server.ServletContainerCustomizer is using
* com.telecominfraproject.wlan.core.server.ServletContainerCustomizer is using
* connector.setAttribute("clientAuth", "false")
*
* Examples of calling web service: with self-signed certificates: wget
@@ -427,7 +427,7 @@ public abstract class WebSecurityConfig extends WebSecurityConfigurerAdapter {
/**
* Call this method to set up digest http authentication for use with REST
* web services Make sure
* com.whizcontrol.core.server.ServletContainerCustomizer is using
* com.telecominfraproject.wlan.core.server.ServletContainerCustomizer is using
* connector.setAttribute("clientAuth", "false")
*
* Examples of calling web service: with self-signed certificates: wget
@@ -536,7 +536,7 @@ public abstract class WebSecurityConfig extends WebSecurityConfigurerAdapter {
/**
* Call this method to set up X509 Certificate authentication for use with
* REST web services Make sure
* com.whizcontrol.core.server.ServletContainerCustomizer is using
* com.telecominfraproject.wlan.core.server.ServletContainerCustomizer is using
* connector.setAttribute("clientAuth", "true")
*
* Examples of calling web service: with self-signed certificates: wget

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security;
package com.telecominfraproject.wlan.core.server.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0;
package com.telecominfraproject.wlan.core.server.security.auth0;
import java.io.IOException;
import java.io.PrintWriter;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0;
package com.telecominfraproject.wlan.core.server.security.auth0;
import java.io.IOException;
import java.util.regex.Pattern;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0;
package com.telecominfraproject.wlan.core.server.security.auth0;
import java.io.IOException;
import java.security.InvalidKeyException;
@@ -15,8 +15,8 @@ import org.springframework.security.core.Authentication;
import org.springframework.security.core.AuthenticationException;
import com.auth0.jwt.JWTVerifier;
import com.whizcontrol.core.server.security.AccessType;
import com.whizcontrol.server.exceptions.ConfigurationException;
import com.telecominfraproject.wlan.core.server.security.AccessType;
import com.telecominfraproject.wlan.server.exceptions.ConfigurationException;
/**
* Class that verifies the JWT token and in case of beeing valid, it will set

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0;
package com.telecominfraproject.wlan.core.server.security.auth0;
import java.util.Collection;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0;
package com.telecominfraproject.wlan.core.server.security.auth0;
import org.springframework.security.core.AuthenticationException;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0;
package com.telecominfraproject.wlan.core.server.security.auth0;
public interface Auth0TokenHelper<T> {

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0;
package com.telecominfraproject.wlan.core.server.security.auth0;
import java.util.ArrayList;
import java.util.Collection;
@@ -10,8 +10,8 @@ import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
import com.whizcontrol.core.server.security.AccessType;
import com.whizcontrol.core.server.security.AuthProviderInfo;
import com.telecominfraproject.wlan.core.server.security.AccessType;
import com.telecominfraproject.wlan.core.server.security.AuthProviderInfo;
/**
* Implementation of UserDetails in compliance with the decoded object returned

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0.impl;
package com.telecominfraproject.wlan.core.server.security.auth0.impl;
public class Auth0RuntimeException extends RuntimeException {

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.auth0.impl;
package com.telecominfraproject.wlan.core.server.security.auth0.impl;
import java.io.IOException;
import java.security.InvalidKeyException;
@@ -18,7 +18,7 @@ import com.auth0.jwt.JWTVerifier;
import com.auth0.jwt.JwtSigner;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.whizcontrol.core.server.security.auth0.Auth0TokenHelper;
import com.telecominfraproject.wlan.core.server.security.auth0.Auth0TokenHelper;
public class Auth0TokenHelperImpl implements Auth0TokenHelper<Object>, InitializingBean {

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.security.cors;
package com.telecominfraproject.wlan.core.server.security.cors;
import java.io.IOException;
import javax.servlet.Filter;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.tx;
package com.telecominfraproject.wlan.core.server.tx;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.webconfig;
package com.telecominfraproject.wlan.core.server.webconfig;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.ResponseStatus;
import com.whizcontrol.core.model.json.JsonSerializedException;
import com.telecominfraproject.wlan.core.model.json.JsonSerializedException;
/**
* @author dtoptygin

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.server.webconfig;
package com.telecominfraproject.wlan.core.server.webconfig;
import java.util.ArrayList;
import java.util.List;
@@ -19,7 +19,7 @@ import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistra
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
/**
* @author dtoptygin

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.webconfig;
package com.telecominfraproject.wlan.core.server.webconfig;
import java.util.ArrayList;
import java.util.Collection;
@@ -14,7 +14,7 @@ import org.slf4j.LoggerFactory;
import org.springframework.core.convert.TypeDescriptor;
import org.springframework.core.convert.converter.GenericConverter;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
/**
* @author dtoptygin

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.server.webconfig;
package com.telecominfraproject.wlan.core.server.webconfig;
import java.lang.reflect.Method;

View File

@@ -1,5 +0,0 @@
package com.whizcontrol.core.server.cache;
public enum CacheType {
}

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.elasticsearch.client;
package com.telecominfraproject.wlan.elasticsearch.client;
import java.net.InetAddress;
import java.net.UnknownHostException;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.elasticsearch.client;
package com.telecominfraproject.wlan.elasticsearch.client;
import java.net.InetAddress;
import java.net.UnknownHostException;
@@ -13,7 +13,7 @@ import org.elasticsearch.common.transport.InetSocketTransportAddress;
import org.slf4j.Logger;
import org.springframework.core.env.Environment;
import com.whizcontrol.server.exceptions.ConfigurationException;
import com.telecominfraproject.wlan.server.exceptions.ConfigurationException;
/**
* Configure TransportClient for Elasticsearch

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.elasticsearch.client;
package com.telecominfraproject.wlan.elasticsearch.client;
import java.util.Set;
import java.util.TreeSet;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.client.exceptions;
package com.telecominfraproject.wlan.client.exceptions;
/**
* Exception with message set to the remote URL the request should be redirect

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.client.exceptions;
package com.telecominfraproject.wlan.client.exceptions;
/**
* Remote API Call connection exception

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.datastore.exceptions;
package com.telecominfraproject.wlan.datastore.exceptions;
public class DsConcurrentModificationException extends RuntimeException {

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.datastore.exceptions;
package com.telecominfraproject.wlan.datastore.exceptions;
import java.util.ArrayList;
import java.util.List;

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.datastore.exceptions;
package com.telecominfraproject.wlan.datastore.exceptions;
public class DsDuplicateEntityException extends RuntimeException {

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.datastore.exceptions;
package com.telecominfraproject.wlan.datastore.exceptions;
public class DsEntityNotFoundException extends RuntimeException {

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.datastore.exceptions;
package com.telecominfraproject.wlan.datastore.exceptions;
public class DsForeignKeyViolatedException extends RuntimeException {

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.datastore.exceptions;
package com.telecominfraproject.wlan.datastore.exceptions;
public class DsInvalidNumberEntitiesReturned extends RuntimeException {
private static final long serialVersionUID = -3714845675690578087L;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.models.exceptions;
package com.telecominfraproject.wlan.models.exceptions;
/**
* Unable to instantiate object from class.

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.rules.exceptions;
package com.telecominfraproject.wlan.rules.exceptions;
/**
* @author dtop

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.server.exceptions;
package com.telecominfraproject.wlan.server.exceptions;
/**
* @author dtop

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.server.exceptions;
package com.telecominfraproject.wlan.server.exceptions;
/**
* Generic wrapper exception

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.server.exceptions;
package com.telecominfraproject.wlan.server.exceptions;
/**
* @author dtop

View File

@@ -4,6 +4,8 @@ import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.telecominfraproject.wlan.rules.exceptions.RulesCompilationException;
public class RuleCompilationExceptionTests {
private static final Logger LOG = LoggerFactory.getLogger(RuleCompilationExceptionTests.class);

View File

@@ -39,7 +39,7 @@
-->
<logger name="org.springframework" level="WARN"/>
<logger name="org.reflections" level="WARN"/>
<logger name="com.whizcontrol" level="${art2waveLogLevel:-DEBUG}"/>
<logger name="com.telecominfraproject.wlan" level="${art2waveLogLevel:-DEBUG}"/>
<logger name="com.netflix.servo.tag.aws.AwsInjectableTag" level="OFF"/>
<root level="WARN">

View File

@@ -1,10 +1,10 @@
/**
*
*/
package com.whizcontrol.core.model.algorithms;
package com.telecominfraproject.wlan.core.model.algorithms;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
/**
* @author erik

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.model.converters;
package com.telecominfraproject.wlan.core.model.converters;
/**
* Base class for model converters - components that transform model of one class into model of another one.

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.model.converters;
package com.telecominfraproject.wlan.core.model.converters;
import java.util.ArrayList;
import java.util.List;
@@ -32,7 +32,7 @@ public class ConverterList<F, T> extends BaseModelConverter<F, T> {
/**
* Only first matching converter will be used.
*
* @see com.whizcontrol.core.model.converters.BaseModelConverter#convertDirect(com.whizcontrol.core.model.json.BaseJsonModel)
* @see com.telecominfraproject.wlan.core.model.converters.BaseModelConverter#convertDirect(com.telecominfraproject.wlan.core.model.json.BaseJsonModel)
*/
@Override
protected T convertDirect(F fromModel) {

View File

@@ -1,6 +1,6 @@
package com.whizcontrol.core.model.converters;
package com.telecominfraproject.wlan.core.model.converters;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
/**
* Does nothing, returns the same BaseJsonModel.

View File

@@ -1,4 +1,4 @@
package com.whizcontrol.core.model.converters;
package com.telecominfraproject.wlan.core.model.converters;
/**
* Does nothing, returns the same model.
@@ -15,7 +15,7 @@ public class EmptyConverter<F extends T, T> extends BaseModelConverter<F, T> {
}
/**
* @see com.whizcontrol.core.model.converters.BaseModelConverter#convertDirect(com.whizcontrol.core.model.json.BaseJsonModel)
* @see com.telecominfraproject.wlan.core.model.converters.BaseModelConverter#convertDirect(com.telecominfraproject.wlan.core.model.json.BaseJsonModel)
*/
@Override
protected T convertDirect(F fromModel) {

View File

@@ -1,10 +1,10 @@
package com.whizcontrol.core.model.converters;
package com.telecominfraproject.wlan.core.model.converters;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
/**
* Generic class used to produce metric data with arbitrary properties.

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.model.entity;
package com.telecominfraproject.wlan.core.model.entity;
/**
* Constants used for entity

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.model.entity;
package com.telecominfraproject.wlan.core.model.entity;
/**
* @author yongli

View File

@@ -1,7 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.ChannelHopReason;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum ChannelHopReason {
RadarDetected, HighInterference, UNSUPPORTED;

View File

@@ -1,8 +1,9 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.concurrent.TimeUnit;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.equipment.ChannelHopSettings;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
public class ChannelHopSettings extends BaseJsonModel
{

View File

@@ -1,7 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.DeploymentType;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
/**
* This is used for calculate RF distance

View File

@@ -1,7 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.DetectedAuthMode;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum DetectedAuthMode
{

View File

@@ -1,10 +1,11 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.EquipmentType;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum EquipmentType {

View File

@@ -1,10 +1,11 @@
/**
*
*/
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.LEDColour;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
/**
* @author ekeddy

View File

@@ -1,11 +1,12 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.equipment.MacAddress;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
@JsonSerialize()
@JsonIgnoreProperties(ignoreUnknown = true)

View File

@@ -1,6 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.equipment.MacAddress;
import com.telecominfraproject.wlan.core.model.equipment.MacToMonitor;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
public class MacToMonitor extends BaseJsonModel {
private static final long serialVersionUID = 6944693708625261094L;

View File

@@ -1,10 +1,11 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.NeighboreScanPacketType;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum NeighboreScanPacketType
{

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
/**
* @author yongli

View File

@@ -1,7 +1,10 @@
/**
*
*/
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.telecominfraproject.wlan.core.model.equipment.MacAddress;
import com.telecominfraproject.wlan.core.model.equipment.NetworkInterfaceType;
/**
* Different type of interface based on MAC address allocation.

View File

@@ -1,13 +1,14 @@
/**
*
*/
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.NetworkType;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
/**
* @author ekeddy

View File

@@ -1,7 +1,7 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum OBSSHopMode
{

View File

@@ -1,6 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.equipment.RadioBestApSettings;
import com.telecominfraproject.wlan.core.model.equipment.RadioType;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
public class RadioBestApSettings extends BaseJsonModel
{

View File

@@ -1,6 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.whizcontrol.core.model.json.BaseJsonModel;
import com.telecominfraproject.wlan.core.model.equipment.RadioBestApSettings;
import com.telecominfraproject.wlan.core.model.equipment.RadioType;
import com.telecominfraproject.wlan.core.model.json.BaseJsonModel;
public class RadioBestApSettingsPerRadio extends BaseJsonModel
{

View File

@@ -1,11 +1,12 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.RadioType;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum RadioType {

View File

@@ -1,7 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.SecurityType;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum SecurityType
{

View File

@@ -1,7 +1,8 @@
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.SteerType;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
public enum SteerType
{

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
/**
* @author yongli

View File

@@ -1,13 +1,14 @@
/**
*
*/
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.whizcontrol.core.model.json.JsonDeserializationUtils;
import com.telecominfraproject.wlan.core.model.equipment.Toggle;
import com.telecominfraproject.wlan.core.model.json.JsonDeserializationUtils;
/**
* @author ekeddy

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.model.equipment;
package com.telecominfraproject.wlan.core.model.equipment;
import java.util.concurrent.TimeUnit;

View File

@@ -1,7 +1,7 @@
/**
*
*/
package com.whizcontrol.core.model.event;
package com.telecominfraproject.wlan.core.model.event;
/**
* @author yongli

Some files were not shown because too many files have changed in this diff Show More