forked from vertigo-io/vertigo-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
replace-1.0.0-1.1.0.json
28 lines (24 loc) · 1.55 KB
/
replace-1.0.0-1.1.0.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"replace": {
"import org.apache.log4j.Logger;":"import org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;",
"Logger.getLogger(":"LogManager.getLogger(",
"private HealthManager healthManager;":"private AnalyticsManager analyticsManager;",
"import io.vertigo.commons.health.HealthManager;":"import io.vertigo.commons.analytics.AnalyticsManager;",
" healthManager.":" analyticsManager.",
"import io.vertigo.commons.health.HealthCheck;":"import io.vertigo.commons.analytics.health.HealthCheck;",
"import io.vertigo.commons.health.HealthMeasure;":"import io.vertigo.commons.analytics.health.HealthMeasure;",
"import io.vertigo.commons.health.HealthStatus;":"import io.vertigo.commons.analytics.health.HealthStatus;",
"import io.vertigo.commons.analytics.Analytics;":"import io.vertigo.commons.analytics.process.Analytics;",
"io.vertigo.commons.impl.analytics.AnalyticsAspect":"io.vertigo.commons.impl.analytics.process.AnalyticsAspect",
"import io.vertigo.commons.health.HealthChecked;":"import io.vertigo.commons.analytics.health.HealthChecked;",
"@HealthChecked(name =":"@HealthChecked(feature = \"APP\", name =",
"DateUtil.parse(":"DateUtil.parseToDate(",
".getDataType().isPrimitive()":".getScope().isPrimitive()"
},
"replaceregexp": {
"new MessageText\\(([A-Za-z0-9\\._]+)\\)":"MessageText.of(\\1)"
},
"delete": ["vertigo-*-1.0.0*.jar","elasticsearch-1.*.jar","lucene-*4.*.jar",
"guava-15.0.jar","antlr-runtime-3.5.jar","asm-4.1.jar","asm-commons-4.1.jar",
"snakeyaml-1.12.jar","spatial4j-0.4*.jar"]
}