HPCC-22882 Document Std.System.Store module#21063
HPCC-22882 Document Std.System.Store module#21063ghalliday merged 1 commit intohpcc-systems:candidate-10.2.xfrom
Conversation
|
Jira Issue: https://hpccsystems.atlassian.net//browse/HPCC-22882 Jirabot Action Result: |
There was a problem hiding this comment.
Pull request overview
Adds Standard Library Reference documentation for the STD.System.Store module (key/value store support) so users can discover and use the SOAP-backed store APIs from ECL.
Changes:
- Introduces a new DocBook chapter describing key/value store concepts (stores, namespaces, keys/values).
- Documents
STD.System.Store(...)and its operations (CreateStore/ListStores/ListNamespaces/WithNamespace and key CRUD APIs). - Adds a “Record Definitions” section describing response record structures.
Comments suppressed due to low confidence (3)
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/Store.xml:6
- This new Store module chapter doesn't appear to be included anywhere in the Standard Library Reference build (e.g., there's no xi:include for
ECLStandardLibraryReference/SLR-Mods/Store.xmlindocs/EN_US/ECLStandardLibraryReference/SLR-includer.xml), so it likely won't show up in the rendered documentation. Add an appropriate<xi:include ...Store.xml...>entry under the relevant chapter inSLR-includer.xml(or wherever Store docs are aggregated).
<chapter id="Store">
<title><emphasis>Key/Value Store Support</emphasis></title>
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/Store.xml:101
- The
espURLparameter description referencesStd.File.GetEspURL(), but the Std library reference documents this function asSTD.File.GetEspUrl()(and the docs generally use theSTD.prefix). For consistency and easier cross-referencing, update this mention to match the documented function name/casing and module prefix used elsewhere in the SLR.
<entry>The full URL for accessing the esp process running on the
HPCC Systems cluster (this is typically the same URL as used to
access ECL Watch); set to an empty string to use the URL of the
current esp process as found via Std.File.GetEspURL(); OPTIONAL,
defaults to an empty string</entry>
docs/EN_US/ECLStandardLibraryReference/SLR-Mods/Store.xml:1358
GetAllKeysResponseRec(and other response records below) references nested dataset record types likeKeySetRec/KeyValueRec/NamespaceLayout, but those layouts are not documented anywhere in the “Record Definitions” section. Since these define the fields users actually read (e.g.,keys.key,key_values.key/value,namespaces.namespace), please add documentation for these record layouts (as additional sect2 entries or by expanding the field descriptions).
<programlisting format="linespecific">EXPORT GetAllKeysResponseRec := RECORD
STRING namespace;
DATASET(KeySetRec) keys;
BOOLEAN has_exceptions;
65cd598 to
7c11883
Compare
g-pan
left a comment
There was a problem hiding this comment.
one minor comment about the DTD
| @@ -0,0 +1,1540 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" | |||
There was a problem hiding this comment.
change the doctype declaration to chapter from sect1
dcamper
left a comment
There was a problem hiding this comment.
This looks accurate and complete. As such, I'll approve the PR.
One thing to consider: I find it useful to have relevant record structures explicitly listed with the functions that use/return them. To pick a random example. Std.File.LogicalFileList() returns a dataset and its record structure is listed in that same section. A similar layout could be applied here, especially since every function (that returns a dataset or record) has its own record definition.
Where my recommendation falls down concerns the ExceptionListLayout. That is a child dataset that is optionally included in all of the other datasets. It may be odd to duplicate that layout for every function. Maybe that could be placed at the end?
Anyway, it is your call on whether or not to rearrange anything. I think it would be more consistent with the rest of the document, and IMO more useful.
Signed-off-by: Jim DeFabia <jamesdefabia@lexisnexis.com>
7c11883 to
53451dd
Compare
As we discussed, this is resolved |
|
Jirabot Action Result: |
Type of change:
Checklist:
Smoketest:
Testing: