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

Introduce enhancements supporting the ZE FTP Copy feature #131

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

zFernand0
Copy link
Member

@zFernand0 zFernand0 commented Feb 7, 2023

To do:

  • Add a new API (with its command) for: allocateLike
  • Add a new API (with its command) for: copyDataset

System Test Scenarios: allocateLike

  • Allocate PS A like PS B with recfm: F (and verify attributes)
  • Allocate PS A like PS B with recfm: U (and verify attributes)
  • Allocate PS A like PS B with recfm: V (and verify attributes)
  • Allocate PS A like PS B with recfm: D (and verify attributes)
  • Allocate PO A like PO B (and verify attributes)
  • Allocate PO A like PS B (and verify attributes)
  • Allocate PS A like PO B (and verify attributes)
  • Allocate PS A (which already exists) like PS B
  • Allocate PO A (which already exists) like PO B

System Test scenarios: copyDataset

  • Copy PS A to new PS B (and verify attributes)
  • Copy PS A to existing PS B (should fail without replace: true)
  • Copy PS A to existing PS B (should pass with replace: true)
  • Copy PO Member A.1 to new PS B (dataset attributes should match the PO, but with dsorg: PS)
  • Copy PO Member A.1 to existing PS B (should fail without replace: true)
  • Copy PO Member A.1 to existing PS B (should pass with replace: true)
  • Copy PS A to existing PO with new member B.1
  • Copy PS A to existing PO with existing member B.1 (should fail without replace: true)
  • Copy PS A to existing PO with existing member B.1 (should pass with replace: true)
  • Copy PS A to new PO with new member B.1 (dataset attributes should match the PS, but with dsorg: PO)

Scenarios not supported (yet)

  • Copy PO A to new PO B
  • Copy PO A to existing PO B (should fail without replace: true)
  • Copy PO A to existing PO B (should pass with replace: true)

src/api/DataSetUtils.ts Fixed Show fixed Hide fixed
src/cli/copy/data-set/DataSet.Handler.ts Fixed Show fixed Hide fixed
src/cli/copy/data-set/DataSet.Handler.ts Fixed Show fixed Hide fixed
@zFernand0 zFernand0 self-assigned this Feb 17, 2023
@sonarcloud
Copy link

sonarcloud bot commented Feb 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@zFernand0
Copy link
Member Author

zFernand0 commented Apr 5, 2023

The flowchart (by @awharn) may help with how the Sequential and PDS Members should be handled. For details, see:

@adam-wolfe adam-wolfe mentioned this pull request May 31, 2023
19 tasks
@zFernand0 zFernand0 added the enhancement New feature or request label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: PI Backlog
Development

Successfully merging this pull request may close these issues.

1 participant