Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cache mode param properly #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

radu-todirica
Copy link

@radu-todirica radu-todirica commented Feb 13, 2020

Description

Right now for the createDiskOffering indicates that the cacheMode parameter comes back in the response but there is no equivalent parameter in the request.

The following changes have been added:

  1. "cacheMode" field has been added to the createServiceOffering endpoint
  2. "cacheMode" field has been added to the createDiskOffering endpoint
  3. "cacheMode" field will be returned in the listServiceOfferings and listDiskOfferings endpoints.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

serviceOfferingDetailsCache
createServiceOfferingCacheMode
diskOfferingDetailsCache
createDiskOfferingCacheMode

How Has This Been Tested?

Wrote a python test for testing the creation of service offering with each one of the valid cache mode types : none, writeback and writethrough.
Wrote a python test for testing the creation of service offering with invalid cache mode type.
test_service_offerings_results.txt
test_service_offerings_runinfo.txt

Wrote a python test for testing the creation of disk offering with each one of the valid cache mode types : none, writeback and writethrough.
Wrote a python test for testing the creation of disk offering with invalid cache mode type.
test_disk_offerings_runinfo.txt
test_disk_offerings_results.txt

@radu-todirica radu-todirica force-pushed the feature/enaMaster-addCacheModeParamProperly branch from 459c348 to ec4d15e Compare March 4, 2020 13:35
Added integration tests for the cache mode changes
@radu-todirica radu-todirica force-pushed the feature/enaMaster-addCacheModeParamProperly branch from 978953a to 8afdde8 Compare March 5, 2020 12:23
nathanejohnson pushed a commit that referenced this pull request Jan 28, 2021
This adds the rules tab for IAM/roles.

Fixes #45

Signed-off-by: Rohit Yadav <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant