Skip to content

ListHandles Return additional ClientName field#22997

Merged
tanyasethi-msft merged 1 commit intoAzure:feat/storage/stg93from
tanyasethi-msft:featListHandlesFile
Jun 6, 2024
Merged

ListHandles Return additional ClientName field#22997
tanyasethi-msft merged 1 commit intoAzure:feat/storage/stg93from
tanyasethi-msft:featListHandlesFile

Conversation

@tanyasethi-msft
Copy link
Copy Markdown
Member

@tanyasethi-msft tanyasethi-msft commented Jun 5, 2024

ClientName field is returned by List Handle API currently in the codebase. This PR tests this functionality.

API - https://learn.microsoft.com/en-us/rest/api/storageservices/list-handles#response

Since the testing requires File shares to be created, open file handles, and execute the test while holding the handle, the test cannot be made Live in pipeline, and is playback only.
Though live testing was completed successfully as given below -
image

PS C:\Windows\System32> net use S: \xxxx.file.core.windows.net\tanyafileshare The command completed successfully.

Holding file handle and executing the test -
image

ClientName field is populated.

  • The purpose of this PR is explained in this or a referenced issue.
  • The PR does not update generated files.
  • Tests are included and/or updated for code changes.
  • Updates to module CHANGELOG.md are included.
  • MIT license headers are included in each file.

@github-actions github-actions Bot added the Storage Storage Service (Queues, Blobs, Files) label Jun 5, 2024
@tanyasethi-msft
Copy link
Copy Markdown
Member Author

/check-enforcer evaluate
/azp run go - azfile

@tanyasethi-msft
Copy link
Copy Markdown
Member Author

/azp run go - azfile

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@tanyasethi-msft tanyasethi-msft merged commit e6f0b39 into Azure:feat/storage/stg93 Jun 6, 2024
@tanyasethi-msft tanyasethi-msft deleted the featListHandlesFile branch June 6, 2024 06:05
tanyasethi-msft added a commit that referenced this pull request Jun 13, 2024
* azfile swagger update

* service version update

* service version upgrade (#22772)

* test for clientName in listHandles (#22997)

* [STG93][AzFiles] Adding Rename Support to List Ranges API  (#23022)

* support rename operation in list ranges

* test recording

* fix lint error

* changelog updates

* [azdatalake] Added ACL response headers (#23059)

* Added ACL response headers and removed few linting errors

* changelog updates, linter updates, recording

* new test and recordings

* lint warnings solve

* azblob - linter errors solve + dependancy updates

* changelog for dependency updates and few linter errors

* pipeline falures fix

* changelog release version change to preview

* version.go updates in all 3 modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants