Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Mar 19, 2017

No description provided.

private String databaseIdOrName;

public DeployTemporalAxesCommand() {
// TODO - verify that range element indexes exist before creation of temporal axes?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine - possible enhancement in the future if the Manage API doesn't give a very helpful error

public DeployTemporalCollectionsCommand() {
setExecuteSortOrder(SortOrderConstants.DEPLOY_TEMPORAL_COLLECTIONS);
// if the temporal collection contains documents, then the delete operation will fail
// TODO - could add check to get count of documents in temporal collection. If zero docs, then can delete
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine too. "Undeploying" temporal config can be a future enhancement.

@rjrudin rjrudin merged commit 6211347 into marklogic:dev Mar 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant