@ -39,6 +39,7 @@ import java.lang.reflect.Method;
import java.text.ParsePosition ;
import java.text.SimpleDateFormat ;
import java.util.ArrayList ;
import java.util.Arrays ;
import java.util.Date ;
import java.util.HashMap ;
import java.util.HashSet ;
@ -59,6 +60,21 @@ public class VersionCheckUtils {
private static final String ID = "id" ;
private static final String VERSION = "version" ;
private static final String NAME = "name" ;
private static final Set < String > pluginsNeedIgnore = new HashSet < > ( ) ;
static {
pluginsNeedIgnore . addAll ( Arrays . asList (
"com.fr.plugin.performance.newexecutetool" ,
"com.fr.plugin.performance.newline" ,
"com.fr.plugin.performance.pdfstream" ,
"com.fr.plugin.performance.dzstartemptyfile" ,
"com.fr.plugin.performance.treenode.button.optimization" ,
"com.fr.plugin.performance.druid" ,
"com.fr.plugin.performance.reducecalculation" ,
"com.fr.plugin.performance.fasttree" ,
"com.fr.plugin.performance.paralleldsloader" ,
"com.fr.plugin.cloud.analytics.v10"
) ) ;
}
public static boolean versionCheck ( String envName ) {
@ -236,6 +252,9 @@ public class VersionCheckUtils {
continue ;
}
String remotePluginID = remotePlugin . getString ( ID ) ;
if ( pluginsNeedIgnore . contains ( remotePluginID ) ) {
continue ;
}
if ( localPluginsMap . containsKey ( remotePluginID ) ) {
if ( ComparatorUtils . equals ( localPluginsMap . get ( remotePluginID ) . getVersion ( ) , remotePlugin . getString ( VERSION ) ) ) {
continue ;