-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from tejash-jl/support_view_template_for_get_api
added view template support for get apis
- Loading branch information
Showing
28 changed files
with
525 additions
and
164 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
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
22 changes: 22 additions & 0 deletions
22
java/apitest/src/test/resources/views/student_view_template.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,22 @@ | ||
{ | ||
"id": "studentView", | ||
"subject": "Student", | ||
"fields": [ | ||
{ | ||
"name": "userDetails", | ||
"title": "userDetails", | ||
"display": true | ||
}, | ||
{ | ||
"title": "contactDetails", | ||
"function": "#/functionDefinitions/removePath($contactDetails, $.mobile)", | ||
"$comment": "This is a virtual field not defined in the schema" | ||
} | ||
], | ||
"functionDefinitions": [ | ||
{ | ||
"name": "removePath", | ||
"provider": "dev.sunbirdrc.provider.RemovePathFunctionProvider" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.