Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REDCap in keyring json #6

Open
kcho opened this issue Mar 19, 2021 · 2 comments
Open

REDCap in keyring json #6

kcho opened this issue Mar 19, 2021 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@kcho
Copy link
Member

kcho commented Mar 19, 2021

Using the REDCap feature in lochness requires two separate fields in the keyring json file as below.

{
    "lochness": {
        "REDCAP": {
            "StudyA": {
                "redcap.hcpep": ["hcpep"]
            }
        }
    },

    "redcap.hcpep": {
        "URL": "https://redcap.partners.org/redcap",
        "API_TOKEN": {
            "hcpep": "377F169CB7E2012DE128FAD52C55B6C7"
        }
    },

    ...
}

This seems a little redundant.

And the documentation for this part doesn't explain it on a single page (one is in datasource and the other is in keyring page), which can be quite confusing for readers. Update the documentation.
https://lochness.readthedocs.io/en/latest/data_sources.html#redcap

@kcho kcho added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 19, 2021
@kcho kcho self-assigned this Mar 19, 2021
@tashrifbillah
Copy link

Hi @kcho , is the "377F169CB7E2012DE128FAD52C55B6C7" correct? Will I be able to use that to reproduce the redundancy?

@kcho
Copy link
Member Author

kcho commented Apr 19, 2021

@tashrifbillah No, the REDCap API token has already been expired and it was added to the issue text above just to show the lochness.json having the redundancy.

You can test with your own API token for the HCPEP project.

@kcho kcho mentioned this issue Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants