Skip to content

Resource profile sub functions - #29

Merged
lcarcaramo merged 11 commits into
devfrom
resource-profile-sub-functions
Nov 2, 2023
Merged

Resource profile sub functions#29
lcarcaramo merged 11 commits into
devfrom
resource-profile-sub-functions

Conversation

@ElijahSwiftIBM

Copy link
Copy Markdown
Collaborator

💡 Issue Reference

Issue: #10

💻 What does this address?

This adds 6 key sub functions to general resource profile administration:

  • Class Administration
  • Custom Field Administration
  • Signed Program Administration
  • Kerberos Realm Administration
  • Started Task Administration
  • APPC Session Administration

This also fixes key bugs uncovered in the new Add/Alter functions in general resource and dataset profiles as well as a workaround for unintended functionality of the IRRSMO00 callable service

📟 Implementation Details

The sub-functions were built like the getters/setters of resource administration focusing on specific classes and segments.

📋 Is there a test case?

For this, unit tests were developed to verify correct generation of new requests and correct extraction of specified segment information from the proper profiles.

New Unit tests were also built to deal with the bug in Add and Alter operation errors.

Either include the path to the test case file, or details on a manual test

Add Drafted sub-functions to Resource Admin for testing.

Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
-Fix bug in Resource and Dataset Add/Alter errors that would allow generic profiles to cause issues
-Test CFDEF MXLENGTH in case of typo in doc
-Drive GenerateRequestOnly to faster output in Alter functions.

Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
Translate null characters to blanks when not preceded by ">" to prevent premature string termination.

Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
Made it codepage agnostic:

Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
Mapping Extract fucntions
Cleaning up c code

Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
Add Unit Testing for Sub Functions
Further optimize c code
@lcarcaramo lcarcaramo added the enhancement New feature or request label Nov 2, 2023
@lcarcaramo lcarcaramo added this to the Beta 1.0b1 milestone Nov 2, 2023
Comment thread pyracf/common/irrsmo00.c
Comment thread pyracf/data_set/data_set_admin.py
Comment thread pyracf/resource/resource_admin.py Outdated
Comment thread pyracf/resource/resource_admin.py
Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
@ElijahSwiftIBM
ElijahSwiftIBM force-pushed the resource-profile-sub-functions branch from 87551eb to c53fdcc Compare November 2, 2023 15:57
Comment thread tests/resource/test_resource_sub_function_requests.py Outdated
Comment thread tests/resource/test_resource_result_parser.py
Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
Signed-off-by: Elijah Swift <elijah.swift@ibm.com>
@lcarcaramo
lcarcaramo merged commit e8b82cf into dev Nov 2, 2023
@lcarcaramo
lcarcaramo deleted the resource-profile-sub-functions branch November 2, 2023 17:39
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants