Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUSI] Add new object type SUSI #526

Merged
merged 49 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
07c3c46
React to abaplint
WDFYvonne Jan 5, 2023
8c0cd56
Merge branch 'SAP:main' into main
WDFYvonne Apr 25, 2023
7f18e67
Add files for SUSI
WDFYvonne Apr 25, 2023
d85ca27
remove SUSH files
WDFYvonne Apr 25, 2023
5868dbb
Add example SUSI
WDFYvonne Apr 25, 2023
f4ac142
Correct SUSI
WDFYvonne Apr 25, 2023
3267b48
Correct exaple
WDFYvonne Apr 26, 2023
be2d246
correct example
WDFYvonne Apr 26, 2023
9bdf296
Change line ending
wurzka Apr 26, 2023
7b99588
Merge branch 'main' into feature/susi
albertmink Apr 26, 2023
a8f5cb8
Merge branch 'main' into feature/susi
albertmink Apr 26, 2023
5d442d6
Update file-formats/susi/type/zif_aff_susi_v1.intf.abap
WDFYvonne Apr 26, 2023
4576220
Update file-formats/susi/type/zif_aff_susi_v1.intf.abap
WDFYvonne Apr 26, 2023
9b9abd1
Update file-formats/susi/type/zif_aff_susi_v1.intf.abap
WDFYvonne Apr 26, 2023
01db331
Update file-formats/susi/type/zif_aff_susi_v1.intf.abap
WDFYvonne Apr 26, 2023
9036dfe
Update file-formats/susi/type/zif_aff_susi_v1.intf.abap
WDFYvonne Apr 26, 2023
57b3247
Update file-formats/susi/examples/zaff_example_susi.susi.json
WDFYvonne Apr 27, 2023
5388f37
Update file-formats/susi/examples/zaff_example_susi.susi.json
WDFYvonne Apr 27, 2023
46da6bf
set maintenance Status for example
WDFYvonne May 8, 2023
6d00ed8
AFF and example correction
WDFYvonne May 9, 2023
e621dbc
Merge branch 'main' into feature/susi
schneidermic0 May 9, 2023
1c94e41
Merge branch 'main' into feature/susi
wurzka May 9, 2023
9ce675d
React to abaplint
WDFYvonne May 9, 2023
91e5f47
React to review
WDFYvonne May 9, 2023
56eef5d
Validate JSON examples
WDFYvonne May 9, 2023
c632b2e
Validate JSON examples
WDFYvonne May 9, 2023
33cb902
React of review
WDFYvonne May 11, 2023
b460996
React of validate JSON examples check
WDFYvonne May 11, 2023
0a3cd66
React to review
WDFYvonne May 11, 2023
5e19476
Merge branch 'main' into feature/susi
schneidermic0 May 15, 2023
ae3068e
Rename example file
schneidermic0 May 15, 2023
eaeb32f
Update indentation
schneidermic0 May 15, 2023
4e04848
Fix link in readme
schneidermic0 May 15, 2023
1b83043
Merge branch 'main' into feature/susi
wurzka Jun 12, 2023
9dde176
new SUSI example
WDFYvonne Jul 6, 2023
e7c039a
Trailing whitespace
WDFYvonne Jul 6, 2023
fc4ce1d
update README with new example
WDFYvonne Jul 6, 2023
65c7370
Example content
WDFYvonne Jul 6, 2023
53be6df
Merge branch 'main' into feature/susi
schneidermic0 Jul 7, 2023
f0bf77c
Correction of example
WDFYvonne Jul 26, 2023
91b2df9
New AFF model for SUSI
WDFYvonne Jul 26, 2023
a45d43c
Trailing whitespace in example
WDFYvonne Jul 26, 2023
7a22a59
AFF for SUSI
WDFYvonne Jul 26, 2023
d8205df
Trailing whitespace in example
WDFYvonne Jul 26, 2023
277b44d
Readme example file
WDFYvonne Jul 27, 2023
a989007
formatVersion: read-only
WDFYvonne Jul 28, 2023
5b381aa
Merge branch 'main' into feature/susi
schneidermic0 Jul 28, 2023
a6b1c1a
Fix showAlways value in example
schneidermic0 Jul 28, 2023
f62df1e
Fix editor config issue
schneidermic0 Jul 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions file-formats/susi/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# SUSI File Format

File | Cardinality | Definition | Schema | Example
:--- | :--- | :--- | :--- | :---
`<name>.susi.json` | 1 | [`zif_aff_susi_v1.intf.abap`](./type/zif_aff_susi_v1.intf.abap) | [`susi-v1.json`](./susi-v1.json) | [`zaff_example_susi.susi.json`](./examples/zaff_example_susi.susi.json)
43 changes: 43 additions & 0 deletions file-formats/susi/examples/zaff_example_susi.susi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"formatVersion": "1",
"header": {
"description": "SUSI Testobject",
"originalLanguage": "en"
},
"generalInformation": {
"applicationName": "Z_FEM3/Z_FEM3_GET_INFO",
"applicationType": "WebService",
"hashCode": "D2FF3796C3963799AE24F0224FCD96HS",
"maintenanceMode": "manual"
},
"authorizationObjects": [
{
"object": "S_USER_AGR",
"maintenanceStatus": "defaultWithValues",
"fields": [
{
"field": "ACTVT",
"low": "02"
},
{
"field": "ACTVT",
"low": "03"
}
]
},
{
"object": "S_USER_GRP",
"maintenanceStatus": "noDefault",
"fields": [
{
"field": "ACTVT",
"low": "03"
},
{
"field": "CLASS",
"low": "TEST"
}
]
}
]
}
216 changes: 216 additions & 0 deletions file-formats/susi/susi-v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
{
"$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/susi/susi-v1.json",
"title": "SUSI Object Type",
"description": "Object type SUSI",
"type": "object",
"properties": {
"formatVersion": {
"title": "ABAP File Format Version",
"description": "The ABAP file format version",
"type": "string",
"const": "1"
},
"header": {
"title": "Header",
"description": "Header",
"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",
"keyUser",
"cloudDevelopment"
],
"enumTitles": [
"Standard",
"ABAP for Key Users",
"ABAP Cloud Development"
],
"enumDescriptions": [
"Standard",
"ABAP for key user extensibility",
"ABAP cloud development"
],
"default": "standard"
}
},
"additionalProperties": false,
"required": [
"description",
"originalLanguage"
]
},
"generalInformation": {
"title": "General Information",
"description": "General information",
"type": "object",
"properties": {
"applicationName": {
"title": "Application Name",
"description": "Application Name of Authorization Default Value.",
"type": "string",
"maxLength": 132
},
"applicationType": {
"title": "Application Type",
"description": "Type of Authorization Default Value.",
"type": "string",
"maxLength": 80
},
"hashCode": {
"title": "Technical Name (Hash Code)",
"description": "Technical Name (Hash Code).",
"type": "string",
"maxLength": 32
},
"maintenanceMode": {
"title": "Maintenance Mode",
"description": "Maintenance Mode.",
"type": "string",
"enum": [
"manual",
"allObject",
"basicObject",
"noDefaultValues",
"deprecated",
"obsolete"
],
"enumTitles": [
"Manual Maintenance",
"Autom. Maintenance (All Objects)",
"Automatic Maintenance (Basis Authorization Objects Only)",
"Application Does Not Require Default Values",
"Application is Deprecated",
"Application Is Obsolete"
],
"enumDescriptions": [
"Manual Maintenance",
"Autom. Maintenance (All Objects)",
"Automatic Maintenance (Basis Authorization Objects Only)",
"Application Does Not Require Default Values",
"Application is Deprecated",
"Application Is Obsolete"
]
}
},
"additionalProperties": false,
"required": [
"applicationName",
"applicationType",
"hashCode",
"maintenanceMode"
]
},
"authorizationObjects": {
"title": "Authorization objects",
"description": "Authorization objects",
"type": "array",
"items": {
"title": "Authorization Objects Details",
"description": "Authorization Objects Details",
"type": "object",
"properties": {
"object": {
"title": "Object",
"description": "Name of Authorization Object",
"type": "string",
"maxLength": 10
},
"maintenanceStatus": {
"title": "Maintenance Status",
"description": "Maintenance Status",
"type": "string",
"enum": [
"noDefault",
"defaultWithValues",
"defaultWithoutValues",
"inactiveValues",
"unmaintainedValues",
"authorizationCheckInactive"
],
"enumTitles": [
"No Default",
"Default With Field Values",
"Default Without Field Values",
"Default Inactive",
"Unmaintained Object Status",
"Authorization Check Inactive"
],
"enumDescriptions": [
"No Default",
"Default With Field Values",
"Default Without Field Values",
"Default Inactive",
"Unmaintained Object Status",
"Authorization Check Inactive"
],
"default": "defaultWithValues"
},
"fields": {
"title": "Fields",
"description": "Authorization Fields.",
"type": "array",
"items": {
"title": "Authorization Field Details",
"description": "Authorization Field Details",
"type": "object",
"properties": {
"field": {
"title": "Field",
"description": "Name of Authorization Field",
"type": "string",
"maxLength": 10
},
"low": {
"title": "From",
"description": "From Value",
"type": "string",
"maxLength": 40
},
"high": {
"title": "To",
"description": "To Values",
"type": "string",
"maxLength": 40
}
},
"additionalProperties": false,
"required": [
"field"
]
}
}
},
"additionalProperties": false,
"required": [
"object"
]
}
}
},
"additionalProperties": false,
"required": [
"formatVersion",
"header",
"generalInformation"
]
}
Loading