Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.

Adding desired state #33

Merged
merged 10 commits into from
Jul 20, 2018
Merged

Adding desired state #33

merged 10 commits into from
Jul 20, 2018

Conversation

mbfrahry
Copy link
Contributor

No description provided.

@scross01 scross01 added this to the v1.3.0 milestone Jul 14, 2018
@scross01 scross01 added the jcs Java Cloud Service label Jul 14, 2018
@mbfrahry mbfrahry changed the title [WIP] Adding desired state Adding desired state Jul 18, 2018
@mbfrahry
Copy link
Contributor Author

Tests passing

image

@mbfrahry
Copy link
Contributor Author

This is ready for another review @scross01

@@ -61,7 +61,7 @@ The following arguments are supported:
* `default_access_rules` - (Optional) Specifies the details on which default access rules are enable or disabled. Default Access Rules
are configured below.

* `desired_state` - (Optional) Specifies the desired state of the servie instance. Allowed values are `start`, `stop`,
* `desired_state` - (Optional) Specifies the desired state of the service instance. Allowed values are `start`, `stop`,
Copy link
Contributor

Choose a reason for hiding this comment

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

should change to running and shutdown

However, I just noticed we added the DB running state in v1.1.0, so this is already out there. Could we "deprecate" the use of start/stop (with a warning) and add running/shutdown as the preferred values.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We should be able to migrate user's states over to a new format instead of deprecating but let's add that in the next release

@@ -128,6 +128,8 @@ value is `PAAS`.
* `backup_destination` - (Optional) Specifies whether to enable backups for this Oracle Java Cloud Service instance.
Valid values are `BOTH` or `NONE`. Defaults to `BOTH`.

* `desired_state` - (Optional) Specifies the desired state of the service instance. Allowed values are `start` or `stop`.
Copy link
Contributor

Choose a reason for hiding this comment

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

should be running and shutdown

@mbfrahry mbfrahry merged commit 091414d into master Jul 20, 2018
@mbfrahry mbfrahry deleted the f-java-desired-state branch July 20, 2018 17:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
jcs Java Cloud Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants