This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/marklogic/appdeployer/command/schemas Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66import com .marklogic .appdeployer .command .SortOrderConstants ;
77import com .marklogic .client .DatabaseClient ;
88import com .marklogic .client .FailedRequestException ;
9- import com .marklogic .client .schemasloader .SchemasLoader ;
109import com .marklogic .client .schemasloader .impl .DefaultSchemasLoader ;
1110
1211public class LoadSchemasCommand extends AbstractCommand {
@@ -23,11 +22,12 @@ public void execute(CommandContext context) {
2322 protected void loadSchemasIntoSchemasDatabase (CommandContext context ) {
2423 AppConfig config = context .getAppConfig ();
2524 DatabaseClient client = config .newSchemasDatabaseClient ();
26- SchemasLoader schemasLoader = new DefaultSchemasLoader (client );
25+ DefaultSchemasLoader schemasLoader = new DefaultSchemasLoader (client );
2726 try {
2827 String schemasPath = config .getSchemasPath ();
29- logger .info ("Loading schemas database data from path: " + schemasPath );
28+ logger .info ("Loading schemas from path: " + schemasPath );
3029 schemasLoader .loadSchemas (schemasPath );
30+ logger .info ("Finished loading schemas from: " + schemasPath );
3131 } catch (FailedRequestException fre ) {
3232 if (fre .getMessage ().contains ("NOSUCHDB" )) {
3333 logger .warn ("Unable to load schemas because no schemas database exists; cause: " + fre .getMessage ());
You can’t perform that action at this time.
0 commit comments