Skip to content

CSTACKEX-35 Create Async#14

Merged
suryag1201 merged 4 commits intomainfrom
feature/CSTACKEX-35
Oct 29, 2025
Merged

CSTACKEX-35 Create Async#14
suryag1201 merged 4 commits intomainfrom
feature/CSTACKEX-35

Conversation

@suryag1201
Copy link

@suryag1201 suryag1201 commented Oct 29, 2025

Description

Create Async for ISCSI

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)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Copy link
Author

Choose a reason for hiding this comment

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

change the logger

Copy link
Author

Choose a reason for hiding this comment

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

create util method for ontap connection

Copy link
Author

Choose a reason for hiding this comment

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

done!

Copy link
Author

Choose a reason for hiding this comment

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

change invalid cloudstackVolume request logger change

String authHeader = utils.generateAuthHeader(storage.getUsername(), storage.getPassword());
// Create URI for lun creation
URI url = utils.generateURI(Constants.CREATE_LUN);
OntapResponse<Lun> createdLun = sanFeignClient.createLun(url, authHeader, true, cloudstackVolume.getLun());
Copy link
Author

Choose a reason for hiding this comment

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

add TODO, based on testing need to covert this createLun to Async

Copy link
Author

Choose a reason for hiding this comment

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

done!

lunSpace.setSize(dataObject.getSize());
lunRequest.setSpace(lunSpace);

String lunFullName = Constants.VOLUME_PATH_PREFIX + storagePool.getName() + Constants.PATH_SEPARATOR + dataObject.getName();
Copy link
Author

Choose a reason for hiding this comment

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

add example for lun full name

Copy link
Author

Choose a reason for hiding this comment

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

done!

Choose a reason for hiding this comment

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

Lets remove this type cast

Copy link
Author

Choose a reason for hiding this comment

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

done!

@suryag1201 suryag1201 merged commit 6c4b24e into main Oct 29, 2025
16 checks passed
sandeeplocharla pushed a commit that referenced this pull request Jan 30, 2026
* CSTACKEX-35 Create Async

* CSTACKEX-35 Added Null and empty check

* CSTACKEX-35 Resolved review comments

* CSTACKEX-35 Removed Type Casting for logger

---------

Co-authored-by: Gupta, Surya <Surya.Gupta@netapp.com>
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.

3 participants

Comments