Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
0002564: cleanup.
  • Loading branch information
erilong authored and mmichalek committed Apr 20, 2016
1 parent ad47f6a commit 39961e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 8 additions & 0 deletions symmetric-assemble/src/asciidoc/advanced-topics.ad
Expand Up @@ -306,6 +306,14 @@ keytool -keystore keystore -storetype jceks -alias sym -keypasswd
keytool -keystore keystore -storetype jceks -alias sym.secret -keypasswd
----

* (Optional) Obfuscate the password to prevent casual observation from the configuration files. An obfuscated password starts with "obf:"
while a cleartext password does not.

[source, cli]
----
syadmin obfuscate-text changeit
----

* Edit `bin/setenv` (or `bin\setenv.bat` on Windows) and `conf/sym_service.conf` files to find a similar line as below to change the password.

[source, cli]
Expand Down
Expand Up @@ -20,17 +20,13 @@
*/
package org.jumpmind.symmetric.io;

import java.io.FileOutputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DurationFormatUtils;
import org.apache.xalan.templates.FuncKey;
import org.jumpmind.db.model.Column;
import org.jumpmind.db.model.Table;
import org.jumpmind.db.platform.DatabaseInfo;
Expand All @@ -40,11 +36,9 @@
import org.jumpmind.db.sql.ISqlReadCursor;
import org.jumpmind.db.sql.ISqlRowMapper;
import org.jumpmind.db.sql.Row;
import org.jumpmind.db.util.BinaryEncoding;
import org.jumpmind.symmetric.ISymmetricEngine;
import org.jumpmind.symmetric.common.TableConstants;
import org.jumpmind.symmetric.io.DbCompareReport.TableReport;
import org.jumpmind.symmetric.io.data.transform.TransformColumn;
import org.jumpmind.symmetric.model.Trigger;
import org.jumpmind.symmetric.service.impl.TransformService.TransformTableNodeGroupLink;
import org.slf4j.Logger;
Expand Down
Expand Up @@ -33,6 +33,7 @@
import org.jumpmind.symmetric.service.impl.TransformService.TransformTableNodeGroupLink;

public class DbCompareTables {

private Table sourceTable;
private Table targetTable;
private TransformTableNodeGroupLink transform;
Expand Down Expand Up @@ -66,7 +67,6 @@ public void applyColumnMappings() {
}

protected void applyColumnMappingsFromTransform() {

for (Column sourceColumn : sourceTable.getColumns()) {
List<TransformColumn> sourceTransformColumns = transform.getTransformColumnFor(sourceColumn.getName());
if (!sourceTransformColumns.isEmpty()) {
Expand All @@ -84,9 +84,6 @@ protected void applyColumnMappingsFromTransform() {
}
}
}

// when column policy is specified, make sure

}

protected void applyColumnMappingsDefault() {
Expand Down

0 comments on commit 39961e5

Please sign in to comment.