Skip to content

MSSQL2BVD - a wrong on sqlbvdConnector.py #20

@lesteryin

Description

@lesteryin

https://github.com/MicroFocus/ColorYourData/tree/master/connectors/MSSQL2BVD

This line has a wrong.
raw_data = postRequest(bvdUrl + '/api/submit/' + bvdApiKey + '/dims/querytype', [{'key':'Content-Type', 'value':'application/json'}], json.dumps(jsonDataForBVD).encode('ascii'))

Please change "json.dumps(jsonDataForBVD" to json.dumps(list_obj)
raw_data = postRequest(bvdUrl + '/api/submit/' + bvdApiKey + '/dims/querytype', [{'key':'Content-Type', 'value':'application/json'}], json.dumps(list_obj).encode('ascii'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions