Skip to content

Commit ac99322

Browse files
committed
Added note to README.MD about providing validate example
1 parent 544f82a commit ac99322

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+15038
-16374
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@
1313
What's New?
1414
===========
1515

16-
0.24.0 16-Aug-2023
16+
11-Dec-2023
17+
* Added _validate.py to provide the Validate API, available on all apps (may need to restrict this to just ccm/gc/qm/rm?)
18+
* Added examples/validate.py as an example of using the validate API - for most options refer to oslcquery readme
19+
20+
16-Aug-2023
1721
* 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.
1822

19-
0.24.0 4-May-2023
23+
4-May-2023
2024
* Deprecated RM load_folders() - use find_folder() instead.
2125
* 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
2226
* Added example dn_simple_createfolderpath.py - allows exercising the create_folders() function

elmclient/examples/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def do_validate(inputargs=None):
8484
parser_list = subparsers.add_parser('list', help='List feeds on this app' )
8585
parser_validate = subparsers.add_parser('validate', help='Validate a feed on this app' )
8686

87-
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')
87+
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')
8888
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.")
8989
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.")
9090
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")

elmclient/tests/results/ccm301.html

Lines changed: 1059 additions & 1053 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)