UQ-RCC / nimrodg

Nimrod/G
https://rcc.uq.edu.au/nimrod
Apache License 2.0
1 stars 0 forks source link

Portal api get resources output change request #24

Closed hoangnguyen177 closed 5 years ago

hoangnguyen177 commented 5 years ago

Currently, nimrod portalapi getresources returns

name,path,config,tx_uri,tx_cert,tx_no_verify_peer,tx_no_verify_host

Please add type into the output. Or replace path with type.

vs49688 commented 5 years ago

This is done, but just so you're aware this contains the typename, so hpc, local, etc. For the portal, if you mean the hpc type, you'll have to look in the JSON in the config field.

See the hpc_cluster_resource section in https://github.com/UQ-RCC/nimrodg/blob/master/nimrodg-resources/src/main/resources/au/edu/uq/rcc/nimrodg/resource/resource_base.json