Skip to content

URI used by sdk cannot be configured for http for use in testing #11

Description

@pjroth

I have created integration style tests in my application that uses mg-api-js. I am mocking the actual geotab API servers by running a local http server that has mocks setup to respond as the geotab API servers would. However, I had to run my local mock http server using https. This complicates my integration test setup significantly since now certificates are required and all the complexities required when using https vs http. Since I'm running locally entirely on a developer machine running http is preferred.

It seems that this sdk is hard coded to use http. Would it be possible to allow the choice of http vs https to be chosen by clients of this SDK so that I can remove this additional complexity from my tests?

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions