Skip to content

Commit e4523a3

Browse files
authored
Merge pull request #1 from jf-tech/master
README.md (jf-tech#181)
2 parents 0f61d34 + 37370fa commit e4523a3

File tree

10 files changed

+66
-16
lines changed

10 files changed

+66
-16
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ op
2020

2121
# Coverage
2222
coverage.txt
23+
24+
# Misc
25+
.DS_Store

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ Omniparser is a native Golang ETL parser that ingests input data of various form
99
XML, EDI/X12/EDIFACT, JSON**, and custom formats) in streaming fashion and transforms data into desired JSON output
1010
based on a schema written in JSON.
1111

12-
**Please kindly consider sponsoring the project to fund future development and issue resolutions**: https://github.com/sponsors/jf-tech
13-
1412
Min Golang Version: 1.14
1513

14+
## Licenses and Sponsorship
15+
Omniparser is publicly available under [MIT License](./LICENSE).
16+
[Individual and corporate sponsorships](https://github.com/sponsors/jf-tech/) are welcome and gratefully
17+
appreciated, and will be listed in the [SPONSORS](./sponsors/SPONSORS.md) page.
18+
[Company-level sponsors](https://github.com/sponsors/jf-tech/) get additional benefits and supports
19+
granted in the [COMPANY LICENSE](./sponsors/COMPANY_LICENSE.md).
20+
1621
## Documentation
1722

1823
Docs:
@@ -46,12 +51,12 @@ Examples:
4651
In the example folders above you will find pairs of input files and their schema files. Then in the
4752
`.snapshots` sub directory, you'll find their corresponding output files.
4853

49-
## Online Playground
54+
## Online Playground (not functioning)
5055

51-
Use https://omniparser.herokuapp.com/ (may need to wait for a few seconds for heroku instance to wake up)
52-
for trying out schemas and inputs, yours or existing samples, to see how ingestion and transform work.
56+
~~Use [The Playground](https://omniparser-prod-omniparser-qd0sj4.mo2.mogenius.io/) (may need to wait for a few seconds for instance to wake up)
57+
for trying out schemas and inputs, yours or existing samples, to see how ingestion and transform work.~~
5358

54-
![](./cli/cmd/web/playground-demo.gif)
59+
As for now (2023/03/14), all of our previous free docker hosting solutions went away and we haven't found another one yet. For now please clone the repo and use `./cli.sh` as described in the [Getting Started](./doc/gettingstarted.md) page.
5560

5661
## Why
5762
- No good ETL transform/parser library exists in Golang.
@@ -83,8 +88,8 @@ back-compatibility, it is just removed from all public docs and samples).
8388
- `'keep_leading_trailing_space'` -> `'no_trim'`
8489
- Changed how we handle custom functions: previously we always use strings as in param type as well as result param
8590
type. Not anymore, all types are supported for custom function in and out params.
86-
- Changed the way how we package custom functions for extensions: previously we collect custom functions from all
87-
extensions and then pass all of them to the extension that is used; This feels weird, now changed to only the custom
91+
- Changed the way we package custom functions for extensions: previously we collected custom functions from all
92+
extensions and then passed all of them to the extension that is used; this feels weird, now only the custom
8893
functions included in a particular extension are used in that extension.
8994
- Deprecated/removed most of the custom functions in favor of using 'javascript'.
9095
- A number of package renaming.

extensions/omniv21/samples/edi/1_canadapost_edi_214.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"child_segments": [
1313
{
1414
"name": "GS",
15+
"_comment": "functional group",
1516
"child_segments": [
1617
{
1718
"name": "scanInfo", "type": "segment_group", "min": 0, "max": -1, "is_target": true,
@@ -26,7 +27,7 @@
2627
{
2728
"name": "N4",
2829
"elements": [
29-
{ "name": "cityName", "index": 1 },
30+
{ "name": "cityName", "index": 1, "_comment": "E19" },
3031
{ "name": "provinceCode", "index": 2 },
3132
{ "name": "postalCode", "index": 3 },
3233
{ "name": "countryCode", "index": 4 }

extensions/omniv21/samples/edi/2_ups_edi_210.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"child_segments": [
1515
{
1616
"name": "GS",
17+
"_comment": "functional group",
1718
"child_segments": [
1819
{
1920
"name": "invoiceInfo", "type": "segment_group", "min": 0, "max": -1, "is_target": true,
@@ -74,7 +75,7 @@
7475
"elements": [
7576
{ "name": "refIdQualifier_N901", "index": 1 },
7677
{ "name": "refId_N902", "index": 2, "default": "" },
77-
{ "name": "date", "index": 4, "default": "" },
78+
{ "name": "date", "index": 4, "default": "", "_comment": "YYYYMMDD"},
7879
{ "name": "product_code_C04004", "index": 7, "component_index": 4, "default": "" }
7980
]
8081
},

extensions/omniv21/validation/ediFileDeclaration.go

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/omniv21/validation/ediFileDeclaration.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"index": { "type": "integer", "minimum": 1 },
4343
"component_index": { "type": "integer", "minimum": 1 },
4444
"empty_if_missing": { "type": "boolean","$comment": "deprecated, use 'default'" },
45-
"default": { "type": "string" }
45+
"default": { "type": "string" },
46+
"_comment": { "$ref": "#/definitions/value_comment" }
4647
},
4748
"required": [ "name", "index" ],
4849
"additionalProperties": false
@@ -53,10 +54,12 @@
5354
"items": {
5455
"$ref": "#/definitions/segment_declaration_type"
5556
}
56-
}
57+
},
58+
"_comment": { "$ref": "#/definitions/value_comment" }
5759
},
5860
"required": [ "name" ],
5961
"additionalProperties": false
60-
}
62+
},
63+
"value_comment": { "type": "string" }
6164
}
6265
}

sponsors/COMPANY_LICENSE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Company License
2+
3+
Copyright (c) 2023 - present [JF Technology](https://github.com/jf-tech)
4+
5+
## Licensing Information
6+
7+
In addition to the terms and conditions mentioned in the [main license](../LICENSE), your
8+
company is entitled to the following when company level sponsorship is active:
9+
10+
| Item | - |
11+
| ---------------------------------- | --- |
12+
| Team Size | **Unlimited** |
13+
| Number of Apps/Services Using This Code | **Unlimited** |
14+
| Feature Updates and Bug Fixes: | **Yes** |
15+
| Prioritized Feature Request Discussion and Response | **Yes** |
16+
| Prioritized [Support](mailto:[email protected]) or [Issues](https://github.com/jf-tech/omniparser/issues) Response | **Yes** |
17+
| Included in [Sponsors Page](./SPONSORS.md) | **Yes** |
18+
| --- | --- |
19+
| Remove copyright mentions/license from source code | NO |
20+
| Production deployment and troubleshooting assistance | NO |
21+
22+
---
23+
For more information regarding licensing, please contact [support](mailto:[email protected]).

sponsors/SPONSORS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Sponsors & Backers
2+
3+
> Omniparser is an MIT-licensed open source project with its ongoing development made possible entirely by the support of the awesome sponsors and backers listed in this file. If you'd like to join them, please consider [ sponsor its development](https://github.com/sponsors/jf-tech).
4+
5+
### Corporate Sponsors
6+
7+
- Entos LLC
8+
9+
- ![HealthSherpa](resources/HealthSherpa.png)
10+
11+
### Generous Individual Backers

sponsors/resources/HealthSherpa.png

923 Bytes
Loading

sponsors/resources/template.jpg

24.2 KB
Loading

0 commit comments

Comments
 (0)