Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Perform final migration of DAS python server to DAS go server #4288

Closed
vkuznet opened this issue May 18, 2018 · 3 comments
Closed

Perform final migration of DAS python server to DAS go server #4288

vkuznet opened this issue May 18, 2018 · 3 comments

Comments

@vkuznet
Copy link
Contributor

vkuznet commented May 18, 2018

To finalize DAS migration from python to Go server a few tools should be taken care of:

  • das_js_fetch to fetch das maps from given URL (bash script)
  • das_js_validate to validate DAS Maps (bash scrip which calls $DASROOT/tools/schema_validators/validate_inputvals.py and validate_dasmaps.py)
  • pymongostat to see Mongo statistics (python script pymongostat.py)
  • das_js_import to import DAS maps into MongoDB (shell script call mongoimport which is Go tool)
  • das_cleanup to remove old records from DAS cache (python script das_cleanup.py)
  • das_dbs_update to update DBS records in DAS cache (possibly obsolete with dasgo server since we don't do autocompletion anymore); it is python script das_dbs_update.py
  • das_create_json_maps python script to create DAS maps from DAS yaml files

Next, I'll need to clean-up das.spec to remove python dependencies and DAS python server.

@vkuznet
Copy link
Contributor Author

vkuznet commented May 18, 2018

New code is in: https://github.com/vkuznet/DASTools

@vkuznet
Copy link
Contributor Author

vkuznet commented May 18, 2018

  • das_js_fetch [DONE]
  • das_js_import [DONE]
  • mongostatus.go replaced pymongostat [DONE]
  • das_cleanup.go [DONE]

@vkuznet
Copy link
Contributor Author

vkuznet commented Jun 13, 2018

All scripts are implemented.

@vkuznet vkuznet closed this as completed Jun 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant