You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the commands that use curl have corresponding functions in the d1_client package. The onboarding script should be able to create a session then use it to create and validate subjects, and register nodes.
The text was updated successfully, but these errors were encountered:
In addition to tools available in d1_python, we can make use of the following functions in DataONE_Operations:
once schema.org is found to comply to standards, node approval can be handled using approveNode rather than the current method which requires manual manipulation of a Java binary LDAP interface:
setting the four CN_ properties listed under the Preferred Custom Properties heading on this page (CN_node_name, CN_operational_status, CN_info_url, and CN_logo_url) can presumably be done using setNodesProperties:
# assuming same imports and definitions as abovenode_prop_dict= {
'urn:node:mnTestCANWIN': {'CN_node_name': 'Canadian Watershed Information Network',
'CN_operational_status': 'operational',
'CN_info_url': 'https://canwin-datahub.ad.umanitoba.ca/',
'CN_logo_url': 'https://raw.githubusercontent.com/DataONEorg/member-node-info/master/production/graphics/web/CANWIN.png',}
}
con=d1_node.getLDAPConnection(password=ldappass)
d1_node.setNodesProperties(con=con, nodes_properties=node_prop_dict)
An example configuration for mnTestHAKAI_IYS that uses these four newer CN_ properties is available by doing curl -k "https://cn-stage.test.dataone.org/cn/v2/node/urn:node:mnTestHAKAI_IYS" | xml fo
All of the commands that use
curl
have corresponding functions in the d1_client package. The onboarding script should be able to create a session then use it to create and validate subjects, and register nodes.The text was updated successfully, but these errors were encountered: