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

[SDL-0234] Proxy Library RPC Generation #1273

Merged
merged 77 commits into from Apr 23, 2020
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
5c53a23
[SDL-0234] Proxy Library RPC Generation
BorisTm Nov 28, 2019
7622ce3
fixing android tests
Feb 13, 2020
f008ba5
fixing android tests
Feb 14, 2020
b1d4c4e
fixed android tests
Feb 14, 2020
27c7066
Removed customization for new enum elemets
Feb 14, 2020
53998b0
Apply suggestions from code review
vladmu Feb 17, 2020
ffb3474
More wide rule for responses
Feb 17, 2020
a5a86d1
Added notice regarding Response functions ended with the 'Response' w…
vladmu Feb 17, 2020
8ebf010
renaming groovy files to java
Feb 18, 2020
d81628f
renaming groovy files to java
Feb 18, 2020
a15ae81
replacing sync in names
Feb 20, 2020
95275d6
removing corner cases and mapping
Feb 20, 2020
72f1aa5
replacing sync in names
Feb 20, 2020
7e1e227
replacing sync in names fix
Feb 20, 2020
70ad26c
replacing sync in names fix
Feb 20, 2020
03700ac
fixes per review comments
Feb 20, 2020
52b1d3b
fixes per review comments
Feb 20, 2020
4038f64
parameter description moved to getter/setter/constructor javadoc per …
Feb 21, 2020
451a513
parameter description moved to getter/setter/constructor javadoc per …
Feb 21, 2020
3052b67
fixed as per review comments
Feb 25, 2020
f212753
fixed as per review comments
Feb 25, 2020
53c5b49
fixed as per review comments
Feb 25, 2020
4c6c99a
fixed as per review comments
Feb 25, 2020
ed37a95
Merge branch 'SDL-0234-no-corner-cases' into SDL-0234-Proxy-Library-R…
Feb 26, 2020
3a0182a
removed customization code
Feb 26, 2020
ca852ea
removed customization in templates
Feb 27, 2020
dbcf447
fixes per review comments
Feb 28, 2020
9bc7102
replacing pylint with flake8 because of license issues
Feb 28, 2020
bef2c8c
Fixes per review comments
Mar 1, 2020
378f1e7
fixed enum tests for mapinngless implementation
Mar 2, 2020
133fda2
fixed struct/function tests for mapinngless implementation
Mar 2, 2020
3b73dd6
added RPC generator tests to github actions
Mar 2, 2020
018c89e
update README for generator and fixed templates
Mar 3, 2020
ea7a631
added python modules installation to github workflow
Mar 3, 2020
11d9f79
Merge branch 'develop' into SDL-0234-Proxy-Library-RPC-Generation
Mar 4, 2020
59c229a
Explicitly removing file before overriding content
Mar 4, 2020
ef29730
removed extra line in struct/function template
Mar 4, 2020
3e68111
change requested in review
o-mishch Mar 6, 2020
6d70c17
rename to VALUE
o-mishch Mar 6, 2020
3243f40
rename to VALUE
o-mishch Mar 6, 2020
57524ac
change requested in review
o-mishch Mar 9, 2020
c2007ce
change requested in review
o-mishch Mar 10, 2020
4e7eb49
fix test to be compartible with 3.5
o-mishch Mar 10, 2020
be2c1be
Ignore test function names case
Mar 10, 2020
7599c41
Update utils/generator/README.md
vladmu Mar 10, 2020
60bc014
upper case enum element names and missing response parameters
Mar 10, 2020
acf387b
readme changes for simplified enums and removed mappings
Mar 10, 2020
2779af7
removed non-existing case and added dash replacement in generator readme
Mar 11, 2020
07ad3ee
fixed syntax in readme
Mar 11, 2020
ddce532
removed generator tests from run
Mar 11, 2020
b7a4d94
Merge branch 'develop' into SDL-0234-Proxy-Library-RPC-Generation
Mar 11, 2020
744d2bf
trying with checkout@master as per last comments in https://github.co…
Mar 11, 2020
3ad1270
updating to latest rpc_spec
Mar 26, 2020
7da2be7
removed numeric enums and simplified README
Mar 26, 2020
34e7dea
Updated readme with simplified examples
Mar 27, 2020
28eb6fb
Replacing keywords
Mar 30, 2020
b804421
Replacing additional cases
Mar 31, 2020
5b32aa4
README corrections per review
Apr 2, 2020
e19949b
README corrections per review
Apr 2, 2020
eef9ba2
Return to stable version of github action checkout
Apr 2, 2020
a03cf3d
moving generators to repository root
Apr 8, 2020
3b55ed8
fixed enum tests after previous changes
Apr 8, 2020
590fc81
fixed path in github action file
Apr 8, 2020
18b4c49
Return to stable version of github action checkout
Apr 2, 2020
e3c4b4f
moving generators to repository root
Apr 8, 2020
f509c13
fixed enum tests after previous changes
Apr 8, 2020
56408fc
fixed path in github action file
Apr 8, 2020
7a4ff35
fixed tests
Apr 9, 2020
0e7012d
Merge branch 'SDL-0234-keywords' into SDL-0234-Proxy-Library-RPC-Gene…
Apr 15, 2020
be7f985
Merge branch 'develop' into SDL-0234-Proxy-Library-RPC-Generation
Apr 15, 2020
445d30b
fixed default path
Apr 21, 2020
b7b175f
fixed struct element naming
Apr 21, 2020
a9a3d51
removed caseless keyword matching
Apr 21, 2020
ac1591d
updated rpc_spec to latest
Apr 22, 2020
ab1c57a
readme update
Apr 22, 2020
48ef926
Revert "removed caseless keyword matching"
Apr 23, 2020
350709d
correct key name processing
Apr 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/android.yml
Expand Up @@ -9,6 +9,8 @@ jobs:

- name: Checkout
uses: actions/checkout@v1
with:
submodules: true

- name: Setup JDK
uses: actions/setup-java@v1
Expand All @@ -33,6 +35,11 @@ jobs:

- name: Sdl JavaEE Tests
run: ./javaEE/gradlew -p ./javaEE test

- name: RPC Generator Tests
run: |
python3 -m pip install -r ./utils/generator/requirements.txt
python3 ./utils/generator/test/runner.py

- name: Codecov
uses: codecov/codecov-action@v1.0.5
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Expand Up @@ -74,3 +74,11 @@ build/
/captures
.externalNativeBuild

##############################
# Python
##############################
*.venv*
*__pycache__
*htmlcov
*.coverage
*.pytest_cache
4 changes: 4 additions & 0 deletions .gitmodules
@@ -0,0 +1,4 @@
[submodule "utils/generator/rpc_spec"]
path = utils/generator/rpc_spec
url = https://github.com/smartdevicelink/rpc_spec.git
branch = develop
41 changes: 40 additions & 1 deletion third_party.md
@@ -1,6 +1,6 @@
### Introduction

This file is broken into three Parts: SDL Base, SDL Android, and SDL Java. SDL Android and SDL Java are sub projects of SDL Base. Additionally, SDL Java contains two sub-projects: SDL JavaSE and SDL JavaEE.
This file is broken into four Parts: SDL Base, SDL Android, SDL Java and Utils/Generator. SDL Android and SDL Java are sub projects of SDL Base. Additionally, SDL Java contains two sub-projects: SDL JavaSE and SDL JavaEE. Utils/Generator is Proxy Library RPC Generator for SDL BASE.

## SDL BASE

Expand Down Expand Up @@ -86,4 +86,43 @@ The third party software included and used by this project is:
SDL JavaEE inherits any license defined in SDL JavaSE.


## Utils

### Generator

Proxy Library RPC Generator inherits any license defined in SDL BASE.

#### Third Party Licenses

Both the source and binary distributions of this software contain
some third party software. All the third party software included
or linked is redistributed under the terms and conditions of their
original licenses.

The third party software included and used by this project is:

**xmlschema**

* Licensed under MIT License
* See [https://pypi.org/project/xmlschema/](https://pypi.org/project/xmlschema/)

**Jinja2**

* Licensed under BSD License (BSD-3-Clause)
* See [https://pypi.org/project/Jinja2/](https://pypi.org/project/Jinja2/)

**coverage**

* Licensed under Apache Software License (Apache 2.0)
* See [https://pypi.org/project/coverage/](https://pypi.org/project/coverage/)

**pathlib2**

* Licensed under MIT License
* See [https://pypi.org/project/pathlib2/](https://pypi.org/project/pathlib2/)

**flake8**

* Licensed under MIT License
* See [https://pypi.org/project/flake8/](https://pypi.org/project/flake8/)