-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #638 from marklogic-community/issue-637
#637 Implemented mlDeploySecureCredentials and mlUndeploySecureCreden…
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 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
12 changes: 12 additions & 0 deletions
12
src/main/groovy/com/marklogic/gradle/task/security/DeploySecureCredentialsTask.groovy
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,12 @@ | ||
package com.marklogic.gradle.task.security | ||
|
||
import com.marklogic.gradle.task.MarkLogicTask | ||
import org.gradle.api.tasks.TaskAction | ||
|
||
class DeploySecureCredentialsTask extends MarkLogicTask { | ||
|
||
@TaskAction | ||
void deploySecureCredentials() { | ||
invokeDeployerCommandWithClassName("DeploySecureCredentialsCommand") | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/groovy/com/marklogic/gradle/task/security/UndeploySecureCredentialsTask.groovy
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,12 @@ | ||
package com.marklogic.gradle.task.security | ||
|
||
import com.marklogic.gradle.task.MarkLogicTask | ||
import org.gradle.api.tasks.TaskAction | ||
|
||
class UndeploySecureCredentialsTask extends MarkLogicTask { | ||
|
||
@TaskAction | ||
void undeploySecureCredentialsSecurity() { | ||
undeployWithCommandWithClassName("DeploySecureCredentialsCommand") | ||
} | ||
} |