This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#307 Only removing ID property for databases for 3.9.1
- Loading branch information
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
group=com.marklogic | ||
javadocsDir=../gh-pages-marklogic-java/javadocs | ||
version=3.9.0 | ||
version=3.9.1 | ||
mlJavaclientUtilVersion=3.8.1 | ||
mlJunitVersion=3.1.0 | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/test/java/com/marklogic/appdeployer/command/databases/CreateAndUpdateDatabaseTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.marklogic.appdeployer.command.databases; | ||
|
||
import com.marklogic.appdeployer.AbstractAppDeployerTest; | ||
import org.junit.Test; | ||
|
||
import java.io.File; | ||
|
||
public class CreateAndUpdateDatabaseTest extends AbstractAppDeployerTest { | ||
|
||
/** | ||
* TODO Update this test to perform the second deployment as a user that only has privileges to update indexes. | ||
* | ||
*/ | ||
@Test | ||
public void test() { | ||
appConfig.getFirstConfigDir().setBaseDir(new File("src/test/resources/sample-app/db-only-config")); | ||
|
||
DeployContentDatabasesCommand command = new DeployContentDatabasesCommand(1); | ||
initializeAppDeployer(command); | ||
|
||
try { | ||
deploySampleApp(); | ||
deploySampleApp(); | ||
} finally { | ||
undeploySampleApp(); | ||
} | ||
} | ||
} |