renamed decode-servie to private server
This commit is contained in:
2
.idea/.name
generated
2
.idea/.name
generated
@@ -1 +1 @@
|
||||
decode-web-service
|
||||
irext-private-server
|
||||
@@ -25,83 +25,6 @@
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Maven: com.squareup.okhttp:okhttp:2.7.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.squareup.okio:okio:2.2.2" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jetbrains.kotlin:kotlin-stdlib:1.2.71" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-common:1.2.71" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jetbrains:annotations:13.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.2.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.2.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-to-slf4j:2.11.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.annotation:javax.annotation-api:1.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-core:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-jcl:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.yaml:snakeyaml:1.23" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-jdbc:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.zaxxer:HikariCP:3.2.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-autoconfigure:1.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:1.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-web:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-json:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.9.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.9.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.9.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml.jackson.module:jackson-module-parameter-names:2.9.7" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-tomcat:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-core:9.0.13" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-el:9.0.13" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.tomcat.embed:tomcat-embed-websocket:9.0.13" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.hibernate.validator:hibernate-validator:6.0.13.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: javax.validation:validation-api:2.0.1.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.3.2.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.fasterxml:classmate:1.4.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-web:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-beans:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-aop:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-context:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-expression:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-data-redis:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:2.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:2.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:2.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-tx:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-oxm:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.25" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.lettuce:lettuce-core:5.1.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.projectreactor:reactor-core:3.2.3.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.reactivestreams:reactive-streams:1.0.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.netty:netty-common:4.1.31.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.netty:netty-transport:4.1.31.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.netty:netty-buffer:4.1.31.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.netty:netty-resolver:4.1.31.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.netty:netty-handler:4.1.31.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: io.netty:netty-codec:4.1.31.Final" level="project" />
|
||||
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:8.0.13" level="project" />
|
||||
<orderEntry type="library" name="Maven: commons-io:commons-io:2.6" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: redis.clients:jedis:2.9.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.6.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-log4j2:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-slf4j-impl:2.11.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-api:2.11.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-core:2.11.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.apache.logging.log4j:log4j-jul:2.11.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.slf4j:jul-to-slf4j:1.7.25" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.squareup.okhttp:okhttp:2.7.5" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.squareup.okio:okio:2.2.2" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jetbrains.kotlin:kotlin-stdlib:1.2.71" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jetbrains.kotlin:kotlin-stdlib-common:1.2.71" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Maven: org.jetbrains:annotations:13.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.2" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter:2.1.1.RELEASE" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-starter-logging:2.1.1.RELEASE" level="project" />
|
||||
|
||||
Binary file not shown.
8
pom.xml
8
pom.xml
@@ -3,12 +3,12 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>net.irext.decoder</groupId>
|
||||
<artifactId>irext-decode-service</artifactId>
|
||||
<version>0.2.0</version>
|
||||
<groupId>net.irext.server</groupId>
|
||||
<artifactId>irext-private-server</artifactId>
|
||||
<version>0.2.1</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>IRext Decode Service</name>
|
||||
<name>IRext Private Server</name>
|
||||
<description>Decoding IR binaries online</description>
|
||||
|
||||
<parent>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package net.irext.decode.sdk;
|
||||
package net.irext.server.sdk;
|
||||
|
||||
import net.irext.decode.sdk.bean.ACStatus;
|
||||
import net.irext.decode.sdk.bean.TemperatureRange;
|
||||
import net.irext.decode.sdk.utils.Constants;
|
||||
import net.irext.decode.service.utils.LoggerUtil;
|
||||
import net.irext.server.sdk.bean.ACStatus;
|
||||
import net.irext.server.sdk.bean.TemperatureRange;
|
||||
import net.irext.server.sdk.utils.Constants;
|
||||
import net.irext.server.service.utils.LoggerUtil;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
@@ -13,7 +13,7 @@ import javax.servlet.ServletContext;
|
||||
* Revised: Date: 2017-04-22
|
||||
* Revision: Revision: 1.0
|
||||
* <p>
|
||||
* Description: Wrapper-sdk of IR decode
|
||||
* Description: Wrapper-sdk of IR server
|
||||
* <p>
|
||||
* Revision log:
|
||||
* 2017-04-23: created by strawmanbobi
|
||||
@@ -59,7 +59,7 @@ public class IRDecode {
|
||||
|
||||
private IRDecode() {
|
||||
String libPath = "/data/irext/libirda_decoder.so";
|
||||
System.out.println("loading decode library " + libPath);
|
||||
System.out.println("loading server library " + libPath);
|
||||
System.load(libPath);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package net.irext.decode.sdk.bean;
|
||||
package net.irext.server.sdk.bean;
|
||||
|
||||
import net.irext.decode.sdk.utils.Constants;
|
||||
import net.irext.server.sdk.utils.Constants;
|
||||
|
||||
/**
|
||||
* Filename: ACStatus.java
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.sdk.bean;
|
||||
package net.irext.server.sdk.bean;
|
||||
|
||||
/**
|
||||
* Filename: TemperatureRange.java
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.sdk.utils;
|
||||
package net.irext.server.sdk.utils;
|
||||
|
||||
/**
|
||||
* Filename: Constants.java
|
||||
@@ -31,7 +31,7 @@ public class Constants {
|
||||
public static final String ERROR_CODE_INVALID_BRAND_TEXT = "invalid brand";
|
||||
public static final String ERROR_CODE_INVALID_PARAMETER_TEXT = "invalid parameter";
|
||||
|
||||
public static final String ERROR_CODE_INVALID_SESSION_TEXT = "invalid decode session";
|
||||
public static final String ERROR_CODE_INVALID_SESSION_TEXT = "invalid server session";
|
||||
|
||||
public enum CategoryID {
|
||||
AIR_CONDITIONER(1),
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service;
|
||||
package net.irext.server.service;
|
||||
|
||||
/**
|
||||
* Filename: Constants.java
|
||||
@@ -1,6 +1,6 @@
|
||||
package net.irext.decode.service;
|
||||
package net.irext.server.service;
|
||||
|
||||
import net.irext.decode.service.model.RemoteIndex;
|
||||
import net.irext.server.service.model.RemoteIndex;
|
||||
import org.apache.ibatis.type.MappedTypes;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
@@ -1,8 +1,8 @@
|
||||
package net.irext.decode.service;
|
||||
package net.irext.server.service;
|
||||
|
||||
import net.irext.decode.service.queue.MessagePublisher;
|
||||
import net.irext.decode.service.queue.MessagePublisherImpl;
|
||||
import net.irext.decode.service.queue.MessageSubscriber;
|
||||
import net.irext.server.service.queue.MessagePublisher;
|
||||
import net.irext.server.service.queue.MessagePublisherImpl;
|
||||
import net.irext.server.service.queue.MessageSubscriber;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
@@ -1,18 +1,17 @@
|
||||
package net.irext.decode.service.businesslogic;
|
||||
package net.irext.server.service.businesslogic;
|
||||
|
||||
import com.squareup.okhttp.*;
|
||||
import net.irext.decode.sdk.bean.TemperatureRange;
|
||||
import net.irext.decode.service.cache.IDecodeSessionRepository;
|
||||
import net.irext.decode.service.cache.IIRBinaryRepository;
|
||||
import net.irext.decode.service.model.ACParameters;
|
||||
import net.irext.decode.service.model.RemoteIndex;
|
||||
import net.irext.decode.service.utils.FileUtil;
|
||||
import net.irext.decode.service.utils.LoggerUtil;
|
||||
import net.irext.decode.service.utils.MD5Util;
|
||||
import net.irext.decode.sdk.IRDecode;
|
||||
import net.irext.decode.sdk.bean.ACStatus;
|
||||
import net.irext.server.sdk.bean.TemperatureRange;
|
||||
import net.irext.server.service.cache.IDecodeSessionRepository;
|
||||
import net.irext.server.service.cache.IIRBinaryRepository;
|
||||
import net.irext.server.service.model.ACParameters;
|
||||
import net.irext.server.service.model.RemoteIndex;
|
||||
import net.irext.server.service.utils.FileUtil;
|
||||
import net.irext.server.service.utils.LoggerUtil;
|
||||
import net.irext.server.service.utils.MD5Util;
|
||||
import net.irext.server.sdk.IRDecode;
|
||||
import net.irext.server.sdk.bean.ACStatus;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
import java.io.File;
|
||||
@@ -1,7 +1,7 @@
|
||||
package net.irext.decode.service.businesslogic;
|
||||
package net.irext.server.service.businesslogic;
|
||||
|
||||
import net.irext.decode.service.mapper.RemoteIndexMapper;
|
||||
import net.irext.decode.service.model.RemoteIndex;
|
||||
import net.irext.server.service.mapper.RemoteIndexMapper;
|
||||
import net.irext.server.service.model.RemoteIndex;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
import java.util.List;
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.cache;
|
||||
package net.irext.server.service.cache;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package net.irext.decode.service.cache;
|
||||
package net.irext.server.service.cache;
|
||||
|
||||
import net.irext.decode.service.model.RemoteIndex;
|
||||
import net.irext.server.service.model.RemoteIndex;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package net.irext.decode.service.cache.impl;
|
||||
package net.irext.server.service.cache.impl;
|
||||
|
||||
import net.irext.decode.service.cache.IDecodeSessionRepository;
|
||||
import net.irext.server.service.cache.IDecodeSessionRepository;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.HashOperations;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
@@ -1,7 +1,7 @@
|
||||
package net.irext.decode.service.cache.impl;
|
||||
package net.irext.server.service.cache.impl;
|
||||
|
||||
import net.irext.decode.service.cache.IIRBinaryRepository;
|
||||
import net.irext.decode.service.model.RemoteIndex;
|
||||
import net.irext.server.service.cache.IIRBinaryRepository;
|
||||
import net.irext.server.service.model.RemoteIndex;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.HashOperations;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
@@ -1,6 +1,6 @@
|
||||
package net.irext.decode.service.mapper;
|
||||
package net.irext.server.service.mapper;
|
||||
|
||||
import net.irext.decode.service.model.RemoteIndex;
|
||||
import net.irext.server.service.model.RemoteIndex;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.ResultMap;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.model;
|
||||
package net.irext.server.service.model;
|
||||
|
||||
/**
|
||||
* Filename: ACParameters.java
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.model;
|
||||
package net.irext.server.service.model;
|
||||
|
||||
/**
|
||||
* Filename: DecodeSession.java
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.model;
|
||||
package net.irext.server.service.model;
|
||||
|
||||
/**
|
||||
* Filename: IRBinary.java
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.model;
|
||||
package net.irext.server.service.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.queue;
|
||||
package net.irext.server.service.queue;
|
||||
|
||||
/**
|
||||
* Filename: MessagePublisher.java
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.queue;
|
||||
package net.irext.server.service.queue;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.queue;
|
||||
package net.irext.server.service.queue;
|
||||
|
||||
import org.springframework.data.redis.connection.Message;
|
||||
import org.springframework.data.redis.connection.MessageListener;
|
||||
@@ -1,11 +1,11 @@
|
||||
package net.irext.decode.service.request;
|
||||
package net.irext.server.service.request;
|
||||
|
||||
/**
|
||||
* Filename: CloseRequest.java
|
||||
* Revised: Date: 2018-12-18
|
||||
* Revision: Revision: 1.0
|
||||
* <p>
|
||||
* Description: HTTP decode online
|
||||
* Description: HTTP server online
|
||||
* <p>
|
||||
* Revision log:
|
||||
* 2018-12-18: created by strawmanbobi
|
||||
@@ -1,13 +1,13 @@
|
||||
package net.irext.decode.service.request;
|
||||
package net.irext.server.service.request;
|
||||
|
||||
import net.irext.decode.sdk.bean.ACStatus;
|
||||
import net.irext.server.sdk.bean.ACStatus;
|
||||
|
||||
/**
|
||||
* Filename: DecodeRequest.java
|
||||
* Revised: Date: 2017-05-16
|
||||
* Revision: Revision: 1.0
|
||||
* <p>
|
||||
* Description: HTTP decode online
|
||||
* Description: HTTP server online
|
||||
* <p>
|
||||
* Revision log:
|
||||
* 2017-05-16: created by strawmanbobi
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.request;
|
||||
package net.irext.server.service.request;
|
||||
|
||||
/**
|
||||
* Filename: DownloadBinaryRequest.java
|
||||
@@ -1,11 +1,11 @@
|
||||
package net.irext.decode.service.request;
|
||||
package net.irext.server.service.request;
|
||||
|
||||
/**
|
||||
* Filename: GetACParametersRequest.java
|
||||
* Revised: Date: 2017-05-16
|
||||
* Revision: Revision: 1.0
|
||||
* <p>
|
||||
* Description: HTTP decode online
|
||||
* Description: HTTP server online
|
||||
* <p>
|
||||
* Revision log:
|
||||
* 2019-02-14: created by strawmanbobi
|
||||
@@ -1,11 +1,11 @@
|
||||
package net.irext.decode.service.request;
|
||||
package net.irext.server.service.request;
|
||||
|
||||
/**
|
||||
* Filename: OpenRequest.java
|
||||
* Revised: Date: 2018-12-18
|
||||
* Revision: Revision: 1.0
|
||||
* <p>
|
||||
* Description: HTTP decode online
|
||||
* Description: HTTP server online
|
||||
* <p>
|
||||
* Revision log:
|
||||
* 2018-12-18: created by strawmanbobi
|
||||
@@ -1,6 +1,6 @@
|
||||
package net.irext.decode.service.response;
|
||||
package net.irext.server.service.response;
|
||||
|
||||
import net.irext.decode.service.model.ACParameters;
|
||||
import net.irext.server.service.model.ACParameters;
|
||||
|
||||
/**
|
||||
* Filename: ACParametersResponse.java
|
||||
@@ -1,11 +1,11 @@
|
||||
package net.irext.decode.service.response;
|
||||
package net.irext.server.service.response;
|
||||
|
||||
/**
|
||||
* Filename: DecodeResponse.java
|
||||
* Revised: Date: 2017-05-16
|
||||
* Revision: Revision: 1.0
|
||||
* <p>
|
||||
* Description: Online decode response
|
||||
* Description: Online server response
|
||||
* <p>
|
||||
* Revision log:
|
||||
* 2017-05-16: created by strawmanbobi
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.response;
|
||||
package net.irext.server.service.response;
|
||||
|
||||
/**
|
||||
* Filename: ServiceResponse.java
|
||||
@@ -1,6 +1,6 @@
|
||||
package net.irext.decode.service.response;
|
||||
package net.irext.server.service.response;
|
||||
|
||||
import net.irext.decode.service.Constants;
|
||||
import net.irext.server.service.Constants;
|
||||
|
||||
/**
|
||||
* Filename: Status.java
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.response;
|
||||
package net.irext.server.service.response;
|
||||
|
||||
/**
|
||||
* Filename: StringResponse.java
|
||||
@@ -1,23 +1,23 @@
|
||||
package net.irext.decode.service.restapi;
|
||||
package net.irext.server.service.restapi;
|
||||
|
||||
import net.irext.decode.service.businesslogic.DecodeLogic;
|
||||
import net.irext.decode.service.cache.IDecodeSessionRepository;
|
||||
import net.irext.decode.service.cache.IIRBinaryRepository;
|
||||
import net.irext.decode.service.mapper.RemoteIndexMapper;
|
||||
import net.irext.decode.service.model.ACParameters;
|
||||
import net.irext.decode.service.model.DecodeSession;
|
||||
import net.irext.decode.service.model.RemoteIndex;
|
||||
import net.irext.decode.service.request.CloseRequest;
|
||||
import net.irext.decode.service.request.DecodeRequest;
|
||||
import net.irext.decode.service.request.GetACParametersRequest;
|
||||
import net.irext.decode.service.request.OpenRequest;
|
||||
import net.irext.decode.service.response.*;
|
||||
import net.irext.decode.service.utils.LoggerUtil;
|
||||
import net.irext.decode.service.utils.MD5Util;
|
||||
import net.irext.decode.service.businesslogic.IndexLogic;
|
||||
import net.irext.decode.service.restapi.base.AbstractBaseService;
|
||||
import net.irext.decode.sdk.bean.ACStatus;
|
||||
import net.irext.decode.sdk.utils.Constants;
|
||||
import net.irext.server.service.businesslogic.DecodeLogic;
|
||||
import net.irext.server.service.cache.IDecodeSessionRepository;
|
||||
import net.irext.server.service.cache.IIRBinaryRepository;
|
||||
import net.irext.server.service.mapper.RemoteIndexMapper;
|
||||
import net.irext.server.service.model.ACParameters;
|
||||
import net.irext.server.service.model.DecodeSession;
|
||||
import net.irext.server.service.model.RemoteIndex;
|
||||
import net.irext.server.service.request.CloseRequest;
|
||||
import net.irext.server.service.request.DecodeRequest;
|
||||
import net.irext.server.service.request.GetACParametersRequest;
|
||||
import net.irext.server.service.request.OpenRequest;
|
||||
import net.irext.server.service.response.*;
|
||||
import net.irext.server.service.utils.LoggerUtil;
|
||||
import net.irext.server.service.utils.MD5Util;
|
||||
import net.irext.server.service.businesslogic.IndexLogic;
|
||||
import net.irext.server.service.restapi.base.AbstractBaseService;
|
||||
import net.irext.server.sdk.bean.ACStatus;
|
||||
import net.irext.server.sdk.utils.Constants;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
@@ -1,8 +1,8 @@
|
||||
package net.irext.decode.service.restapi.base;
|
||||
package net.irext.server.service.restapi.base;
|
||||
|
||||
import net.irext.decode.service.Constants;
|
||||
import net.irext.decode.service.response.ServiceResponse;
|
||||
import net.irext.decode.service.response.Status;
|
||||
import net.irext.server.service.Constants;
|
||||
import net.irext.server.service.response.ServiceResponse;
|
||||
import net.irext.server.service.response.Status;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.utils;
|
||||
package net.irext.server.service.utils;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.utils;
|
||||
package net.irext.server.service.utils;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@@ -1,4 +1,4 @@
|
||||
package net.irext.decode.service.utils;
|
||||
package net.irext.server.service.utils;
|
||||
|
||||
import java.security.MessageDigest;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="net.irext.decode.service.mapper.RemoteIndexMapper">
|
||||
<resultMap id="BaseResultMap" type="net.irext.decode.service.model.RemoteIndex">
|
||||
<mapper namespace="net.irext.server.service.mapper.RemoteIndexMapper">
|
||||
<resultMap id="BaseResultMap" type="net.irext.server.service.model.RemoteIndex">
|
||||
<!--
|
||||
WARNING - @mbggenerated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
Reference in New Issue
Block a user