Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
adb57d8
Update README.md
rjrudin Oct 12, 2015
5c4f7ed
#62 Deploying amps after modules database created
rjrudin Oct 14, 2015
ce8dc3f
Fix ml-init for null case, and chmod gradlew
Oct 14, 2015
f3b3411
Merge pull request #63 from grechaw/fix-ml-init
rjrudin Oct 15, 2015
e3eb9cd
#61 Can now create replicas for a given database
rjrudin Oct 16, 2015
c5afcbe
#61 Now deleting replicas based on a database name
rjrudin Oct 16, 2015
06c30e2
#61 Small tweak to make sure no work is done if the maps are empty
rjrudin Oct 16, 2015
7b11ac3
#61 Allow for database names and replica counts to be set as a comma-…
rjrudin Oct 21, 2015
7114500
Updated changelog
rjrudin Oct 26, 2015
5370450
Added convenience constructor for DeployDatabaseCommand
rjrudin Oct 26, 2015
277c836
Added SetSslFipsEnabledCommand
rjrudin Nov 27, 2015
1b4584f
Merge remote-tracking branch 'origin/master' into dev
rjrudin Nov 27, 2015
4f8558e
#67 Now supporting triggers
rjrudin Nov 27, 2015
beff0cf
Updated changelog
rjrudin Nov 27, 2015
e1c8ee9
Finish issue-68
rjrudin Nov 30, 2015
e928c0e
#68 Slight modification to avoid any chance of an infinite loop
rjrudin Nov 30, 2015
9f148a5
#68 Ack, need alerts to be after CPF
rjrudin Dec 1, 2015
d274daa
Can now delete all scheduled tasks easily
rjrudin Dec 5, 2015
bfe670f
Can now delete all flexrep configs
rjrudin Dec 5, 2015
303cb50
Can now delete all alert configs
rjrudin Dec 5, 2015
02269a7
Logging an error when unable to clear a database
rjrudin Dec 6, 2015
c123539
Logging user and path on all requests
rjrudin Dec 6, 2015
fc450c3
Added buildFromSystemProps to ManageConfig
rjrudin Dec 7, 2015
e690499
#69 Added test to confirm that setting modulesDatabaseName should work
rjrudin Dec 9, 2015
5ac6df1
Merge branch 'dev'
rjrudin Dec 9, 2015
3f84af1
Added methods for enabling/disabling flexrep targets
rjrudin Dec 9, 2015
f1c5a31
Merge branch 'master' into dev
rjrudin Dec 9, 2015
8ea4f9b
More disable/enable methods for TargetManager
rjrudin Dec 9, 2015
c5ee867
Removing OBE command
rjrudin Dec 10, 2015
5688475
Added property to LoadModulesCommand for specifying more binary exten…
rjrudin Dec 10, 2015
522b72a
Added disableAll/enableAll to ConfigManager
rjrudin Dec 10, 2015
1f4f30f
Allowing for DocumentFormatGetter to be overridden
rjrudin Dec 10, 2015
3f60637
Don't need to override this now that group-id is part of the resource…
rjrudin Dec 13, 2015
1561e27
Finish ml-objects
rjrudin Dec 13, 2015
481e299
Finish resource-api
rjrudin Dec 17, 2015
d118c4f
#72 Fixing issue where "is deleted" wasn't saved in the DeleteReceipt…
rjrudin Dec 20, 2015
abde0c6
#72 Updated changelog
rjrudin Dec 20, 2015
697e22b
Reworking how mlModulePermissions is processed
rjrudin Dec 20, 2015
9a99972
Finish api-sandbox
rjrudin Dec 23, 2015
857c4b6
Updated imports
rjrudin Dec 23, 2015
6f85e1d
Repackaged to com.marklogic
rjrudin Dec 23, 2015
92f6d99
Added a limit for # of retries
rjrudin Dec 23, 2015
616e03b
#73 Added support for a FileFilter on AppConfig
rjrudin Dec 27, 2015
8f27bc1
Throwing in a few defaults on AppConfig
rjrudin Dec 29, 2015
21f53d7
Added bintray support
rjrudin Dec 29, 2015
817ee1e
Added sourcesJar
rjrudin Jan 1, 2016
c33061f
Only needs jcenter now
rjrudin Jan 1, 2016
f10db5e
Adding rjrudin bintray back for now
rjrudin Jan 1, 2016
2bcc93d
Only needs jcenter now
rjrudin Jan 3, 2016
6163b7c
Changing logging from warn to info
rjrudin Jan 4, 2016
2936107
Now using 2.5 of ml-javaclient-util and ml-junit
rjrudin Jan 4, 2016
a6809fb
Only need jcenter
rjrudin Jan 5, 2016
3572c4e
#74 New command for verifying server version
rjrudin Jan 6, 2016
8c4a23e
Starting 2.0rc3 changelog
rjrudin Jan 6, 2016
fbc4c6e
#75 Finish mimetypes
rjrudin Jan 17, 2016
605e13e
Updated changelog
rjrudin Jan 17, 2016
9d9a747
#77 Now supports properties starting with "marklogic."
rjrudin Jan 18, 2016
732f71c
#78 Fixed issue with mlContentForestsPerHost not being supported
rjrudin Jan 19, 2016
aa7af90
Update README.md
rjrudin Jan 19, 2016
551ce51
Added test for deleting multiple "other" servers at once, and added e…
rjrudin Jan 20, 2016
f3c2d1b
Updating changelog for 2.0rc4
rjrudin Jan 20, 2016
e1988a2
Updated license
rjrudin Jan 31, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#72 Fixing issue where "is deleted" wasn't saved in the DeleteReceipt…
…, and thus ml-app-deployer didn't think it had to wait for a restart after deleting a server
  • Loading branch information
rjrudin committed Dec 20, 2015
commit d118c4fe26170b0d4cdb3d9703d6aa5402bfe599
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public class DeleteReceipt {
public DeleteReceipt(String resourceId, String path, boolean deleted) {
this.resourceId = resourceId;
this.path = path;
this.deleted = deleted;
}

public String getResourceId() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package com.rjrudin.marklogic.appdeployer.command.servers;

import org.junit.After;
import org.junit.Test;

import com.rjrudin.marklogic.appdeployer.AbstractAppDeployerTest;
import com.rjrudin.marklogic.appdeployer.command.appservers.DeployOtherServersCommand;
import com.rjrudin.marklogic.appdeployer.command.databases.DeployContentDatabasesCommand;
import com.rjrudin.marklogic.appdeployer.command.databases.DeploySchemasDatabaseCommand;
import com.rjrudin.marklogic.appdeployer.command.databases.DeployTriggersDatabaseCommand;

/**
* Only purpose of this test so far is to ensure that we wait properly after deleting the server.
*/
public class ManageOtherServerTest extends AbstractAppDeployerTest {

@After
public void teardown() {
undeploySampleApp();
}

@Test
public void updateMainAndRestRestApiServers() {
// Create some other databases that have to be deleted to ensure we wait for a restart after deleting the ODBC
// server
initializeAppDeployer(new DeployContentDatabasesCommand(1), new DeployTriggersDatabaseCommand(),
new DeploySchemasDatabaseCommand(), new DeployOtherServersCommand());
appConfig.getCustomTokens().put("%%ODBC_PORT%%", "8048");
appDeployer.deploy(appConfig);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"root": "/",
"group-name": "%%GROUP%%",
"port": %%ODBC_PORT%%,
"modules-database": "%%MODULES_DATABASE%%",
"modules-database": "Modules",
"content-database": "%%DATABASE%%"
}