-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/gsmg
- Loading branch information
Showing
33 changed files
with
484 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Don't delete examples | ||
|
||
on: | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
# Name the Job | ||
name: Don't delete examples | ||
|
||
runs-on: ubuntu-latest | ||
|
||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Get deleted files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v44 | ||
with: | ||
files: "file-formats/*/examples/*" | ||
|
||
- name: List all deleted files | ||
env: | ||
ALL_DELETED_FILES: ${{ steps.changed-files.outputs.deleted_files }} | ||
run: | | ||
for file in ${ALL_DELETED_FILES}; do | ||
echo "::error $file has been deleted" | ||
exit 1 | ||
done |
2 changes: 1 addition & 1 deletion
2
.github/workflows/json-compability.yml → .github/workflows/json-compatibility.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Compatability Check | ||
name: Compatibility Check | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# DSFI File Format | ||
|
||
|
||
File | Cardinality | Definition | Schema | Example | ||
:--- | :--- | :--- | :--- | :--- | ||
`<name>.dsfi.json` | 1 | [`zif_aff_dsfi_v1.intf.abap`](./type/zif_aff_dsfi_v1.intf.abap) | [`dsfi-v1.json`](./dsfi-v1.json) | [`z_aff_example_dsfi_ana.dsfi.json`](./examples/z_aff_example_dsfi_ana.dsfi.json) | ||
File | Cardinality | Definition | Schema | Examples | ||
:--- | :--- | :--- | :--- | :--- | ||
`<name>.dsfi.json` | 1 | [`zif_aff_dsfi_v1.intf.abap`](./type/zif_aff_dsfi_v1.intf.abap) | [`dsfi-v1.json`](./dsfi-v1.json) | [`z_aff_example_dsfi_ana.dsfi.json`](./examples/z_aff_example_dsfi_ana.dsfi.json) (Analytical engine) <br/>[`z_aff_example_dsfi_sql.dsfi.json`](./examples/z_aff_example_dsfi_sql.dsfi.json) (SQL engine) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
file-formats/dsfi/examples/z_aff_example_dsfi_sql.dsfi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"formatVersion": "1", | ||
"header": { | ||
"description": "Example CDS scalar function", | ||
"originalLanguage": "en" | ||
}, | ||
"scalarFunctionName": "Z_AFF_EXAMPLE_DSFI", | ||
"engine": "sqlEngine", | ||
"sqlProperties": { | ||
"amdpReference": "ZCL_DSFI_EXAMPLE=>EXECUTE", | ||
"autoExposedInSqlServices": true | ||
} | ||
} |
Oops, something went wrong.