Skip to content

Commit

Permalink
Added note to README.MD about providing validate example
Browse files Browse the repository at this point in the history
  • Loading branch information
barny committed Dec 11, 2023
1 parent 544f82a commit ac99322
Show file tree
Hide file tree
Showing 67 changed files with 15,038 additions and 16,374 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
What's New?
===========

0.24.0 16-Aug-2023
11-Dec-2023
* Added _validate.py to provide the Validate API, available on all apps (may need to restrict this to just ccm/gc/qm/rm?)
* Added examples/validate.py as an example of using the validate API - for most options refer to oslcquery readme

16-Aug-2023
* tested with Python 3.11.4 - worked OOTB. Now developing using 3.11.4 - won't be back-tested with older Pythons but should work back to 3.9 at least.

0.24.0 4-May-2023
4-May-2023
* Deprecated RM load_folders() - use find_folder() instead.
* Added RM create_folder() - this doesn't require doing a forced reload of all folders, because it inserts the new folder into the internal info about folders
* Added example dn_simple_createfolderpath.py - allows exercising the create_folders() function
Expand Down
2 changes: 1 addition & 1 deletion elmclient/examples/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def do_validate(inputargs=None):
parser_list = subparsers.add_parser('list', help='List feeds on this app' )
parser_validate = subparsers.add_parser('validate', help='Validate a feed on this app' )

parser_validate.add_argument( 'feedid', help='The feed id - this can be an integer corresponding to the number in the list of feeds, or a unique string which matches part of or all of a feed ID or name')
parser_validate.add_argument( 'feedid', help='The feed id - this can be an integer corresponding to the number in the list of feeds, or a unique string (case-sensitive!) which matches part of or all of exactly one feed ID or name')
parser_validate.add_argument('-r', '--repair', action="store_true", help="Use to automatically resolve problems encountered in the feed. Ignored if not supported by the feed.")
parser_validate.add_argument('-s', '--resetIncrementalData', action="store_true", help="Same the web UI option. If true the system will discard past validation results and recheck the entire feed again. Otherwise, only changes since last time will be validated. This option is normally only needed if indicated so by IBM support.")
parser_validate.add_argument('-f', '--full', action="store_true", help="Same the web UI option. If true the entire TRS feed will be checked, which takes much longer. This may return more accurate results. This does not discard past validation results, so future validations can still be incremental. If this option consistently returns different results then you may need to also reset the incremental data")
Expand Down
2,112 changes: 1,059 additions & 1,053 deletions elmclient/tests/results/ccm301.html

Large diffs are not rendered by default.

Loading

0 comments on commit ac99322

Please sign in to comment.