-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request for newly created object type SPRV (#369)
* Add files via upload It seems that no example was created by report SAFF_GENERATE_REPO * Update regarding the feedback * Update file-formats/sprv/type/zif_aff_sprv_v1.intf.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * abaplint formatting fix * Update file-formats/sprv/type/zif_aff_sprv_v1.intf.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update file-formats/sprv/type/zif_aff_sprv_v1.intf.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update file-formats/sprv/type/zif_aff_sprv_v1.intf.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update file-formats/sprv/README.md Sure, thank you for checking Co-authored-by: Nicolas Huber <[email protected]> * Update file-formats/sprv/type/zif_aff_sprv_v1.intf.abap Thanks for checking, I will go with 'Header data' - without 'data' I feel like something is missing Co-authored-by: Katharina Wurz <[email protected]> * Change of description cases * rm trailing whitespace Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> Co-authored-by: Michael Schneider <[email protected]> Co-authored-by: Nicolas Huber <[email protected]> Co-authored-by: Katharina Wurz <[email protected]> Co-authored-by: Albert Mink <[email protected]>
- Loading branch information
1 parent
37dea49
commit 6ef6aeb
Showing
4 changed files
with
134 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# SPRV File Format | ||
|
||
File | Cardinality | Definition | Schema | Example | ||
:--- | :--- | :--- | :--- | :--- | ||
`<name>.sprv.json` | 1 | [`zif_aff_sprv_v1.intf.abap`](./type/zif_aff_sprv_v1.intf.abap) | [`sprv-v1.json`](./sprv-v1.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,89 @@ | ||
{ | ||
"$comment": "This file is autogenerated, do not edit manually, see https://github.com/SAP/abap-file-formats for more information.", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/SAP/abap-file-formats/blob/main/file-formats/sprv/sprv-v1.json", | ||
"title": "SOAP Web Service Provider Model", | ||
"description": "SOAP web service provider model", | ||
"type": "object", | ||
"properties": { | ||
"formatVersion": { | ||
"title": "ABAP File Format Version", | ||
"description": "The ABAP file format version", | ||
"type": "string", | ||
"const": "1" | ||
}, | ||
"header": { | ||
"title": "Header", | ||
"description": "Header data", | ||
"type": "object", | ||
"properties": { | ||
"description": { | ||
"title": "Description", | ||
"description": "Description of the ABAP object", | ||
"type": "string", | ||
"maxLength": 60 | ||
}, | ||
"originalLanguage": { | ||
"title": "Original Language", | ||
"description": "Original language of the ABAP object", | ||
"type": "string", | ||
"minLength": 2, | ||
"maxLength": 2, | ||
"pattern": "^[a-z]+$" | ||
}, | ||
"abapLanguageVersion": { | ||
"title": "ABAP Language Version", | ||
"description": "ABAP language version", | ||
"type": "string", | ||
"enum": [ | ||
"standard", | ||
"cloudDevelopment" | ||
], | ||
"enumTitles": [ | ||
"Standard", | ||
"ABAP Cloud Development" | ||
], | ||
"enumDescriptions": [ | ||
"Standard", | ||
"ABAP cloud development" | ||
], | ||
"default": "standard" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"description", | ||
"originalLanguage" | ||
] | ||
}, | ||
"serviceProvider": { | ||
"title": "Service Provider", | ||
"description": "Service provider details", | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"title": "Name", | ||
"description": "Name of the service provider", | ||
"type": "string", | ||
"maxLength": 30 | ||
}, | ||
"prefix": { | ||
"title": "Prefix", | ||
"description": "Prefix for all generated objects", | ||
"type": "string", | ||
"maxLength": 10 | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"name" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"formatVersion", | ||
"header", | ||
"serviceProvider" | ||
] | ||
} |
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 @@ | ||
INTERFACE zif_aff_sprv_v1 | ||
PUBLIC. | ||
|
||
|
||
TYPES: | ||
"! <p class="shorttext">Service Provider</p> | ||
"! Service provider details | ||
BEGIN OF ty_servprovider, | ||
"! <p class="shorttext">Name</p> | ||
"! Name of the service provider | ||
"! $required | ||
name TYPE c LENGTH 30, | ||
"! <p class="shorttext">Prefix</p> | ||
"! Prefix for all generated objects | ||
"! $showAlways | ||
prefix TYPE c LENGTH 10, | ||
END OF ty_servprovider. | ||
TYPES: | ||
"! <p class="shorttext">SOAP Web Service Provider Model</p> | ||
"! SOAP web service provider model | ||
BEGIN OF ty_main, | ||
"! $required | ||
format_version TYPE zif_aff_types_v1=>ty_format_version, | ||
"! <p class="shorttext">Header</p> | ||
"! Header data | ||
"! $required | ||
header TYPE zif_aff_types_v1=>ty_header_60_cloud, | ||
"! <p class="shorttext">Service Provider</p> | ||
"! Service provider details | ||
"! $required | ||
service_provider TYPE ty_servprovider, | ||
END OF ty_main. | ||
ENDINTERFACE. |
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,7 @@ | ||
{ | ||
"formatVersion": "1", | ||
"header": { | ||
"description": "Interface with the SPRV AFF Type", | ||
"originalLanguage": "en" | ||
} | ||
} |