GoogleCloudPlatform / GoogleCloudPlatform/market-data-transcoder

Add full URL support for the `--source_file` and `--schema_file` options

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
47
Forks
11
Avg merge
19d 10h
Merged PRs (30d)
2

Description

The `--source_file` and `--schema_file` options currently imply `file://` if using fully qualified URL syntax. Other protocols, such as `http://`, `ftp://` and `ws://` should be possible to resolve in this way, although `ws://` would only be applicable as a protocol under `--source_file` and not `--schema_file` and would need to be implemented in a manner similar to the recent stdin support addition.

Example:

```
txcode --schema_file https://raw.githubusercontent.com/SunGard-Labs/fix2json/master/dict/FIX50SP2.CME.xml --source_file ftp://ftp.cmegroup.com/SBEFix/Production/TradingSessionList.dat --factory fix --source_file_format_type line_delimited
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.