[OPNFLWJAVA-48] Hide API yangs in order to prevent leaking to md-sal Created: 31/Mar/15 Updated: 17/Apr/15 Resolved: 17/Apr/15 |
|
| Status: | Resolved |
| Project: | openflowjava |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Michal Rehak | Assignee: | Juraj Sebin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2926 |
| Priority: | Highest |
| Description |
|
Currently built OFJava-API incorporates yang files into artifact (default behavior of maven-yang-plugin). These yang files are then extracted and used by md-sal even though implementation is never exposed via md-sal. From this point of view this is kind of API leak and should be prevented in order to keep md-sal clean during runtime. Possible solution: stop adding yang files into API-artifact. |
| Comments |
| Comment by Michal Polkorab [ 02/Apr/15 ] |
|
Yang-maven-plugin doesn't provide functionality for hiding source files. This feature is planned to be added in Beryllium. |
| Comment by Michal Rehak [ 10/Apr/15 ] |
|
Before beryllium there will by temporary fix. |
| Comment by Michal Rehak [ 10/Apr/15 ] |
| Comment by Juraj Sebin [ 17/Apr/15 ] |
|
after review with Michal, the leaking models doesn't seems to be exposed anymore |