-
Notifications
You must be signed in to change notification settings - Fork 4
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 #55 from mrrajan/provision_dev
Added scripts to provision new mongo DB instances from CLI
- Loading branch information
Showing
4 changed files
with
102 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
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,22 @@ | ||
*** Settings *** | ||
Documentation Provision and Deploy MongoDB Database Instance from Developer View | ||
Metadata Version 0.0.1 | ||
|
||
Resource ../resources/keywords/provision_dbinstance.resource | ||
|
||
Suite Setup Set Library Search Order SeleniumLibrary | ||
Suite Teardown Tear Down The Test Suite | ||
Test Setup Given Login To OpenShift CLI | ||
Test Teardown Logout Of OpenShift CLI | ||
|
||
|
||
*** Test Cases *** | ||
Scenario: Provision MongoDB Database Instance On Default Namespace Using OC CLI | ||
[Tags] smoke RHOD-61-adm | ||
When User Provisions New MongoDB Instance On Default Namespace Using OC CLI | ||
Then DB Instance Provisioned Successfully On Default Namespace Using OC CLI | ||
|
||
Scenario: Provision MongoDB Database Instance On User Defined Namespace Using OC CLI | ||
[Tags] smoke RHOD-61-dev | ||
When User Provisions New MongoDB Instance On User Defined Namespace Using OC CLI | ||
Then DB Instance Provisioned Successfully On User Defined Namespace Using OC CLI |
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 @@ | ||
apiVersion: dbaas.redhat.com/v1alpha1 | ||
kind: DBaaSInstance | ||
metadata: | ||
name: instance_name | ||
namespace: deploy_instance_ns | ||
spec: | ||
name: instance_name | ||
inventoryRef: | ||
name: provider_account | ||
namespace: prov_acc_ns | ||
otherInstanceParams: | ||
{} |
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