-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added functionality to list endpoint versions (#43)
* update version of semantics and small dependency conflicts for integration tests * some updates * update gradle and semantic version * Unit test cli Change-Id: I38c1122b5914522a87250eeac4a637796e19d8bf * automatically fetch semantics version and indentation fix Change-Id: Icba3859a3c6c60cfb1ec0d62dd3f1e8eb6be7e65 * Unit test cli Change-Id: I38c1122b5914522a87250eeac4a637796e19d8bf * new tests and help flag error fix Change-Id: I0c76b77a92a39629a672d1c1b59b0c1556b32c09 * update integration tests Change-Id: I534ffda3d68f6e66270a7486ae58b643208401e8 * update version and changelog Change-Id: If01cc1cecd05fa0489e518edffcf36ac141c734d * add service for listing versions of used message protocols Change-Id: I61a6d3d081e6ba9c81960c6fc23a764cf4a7a30e * Added --list-versions CLI option to list the endpoint versions * Using underscore for --list_versions CLI optoion format, and renamed the endpoint request to /versions * Added eiffel-remrem-protocol-interface * Added functiolaity to list endpoint versions
- Loading branch information
1 parent
ba1d5a1
commit 0ce0702
Showing
11 changed files
with
67 additions
and
15 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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
## 0.7.0 | ||
- Added functiolaity to list endpoint versions | ||
|
||
## 0.6.3 | ||
- Removed unused dependency. | ||
|
||
|
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
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
3 changes: 1 addition & 2 deletions
3
src/main/java/com/ericsson/eiffel/remrem/generate/controller/Eiffel3Controller.java
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
2 changes: 1 addition & 1 deletion
2
src/main/java/com/ericsson/eiffel/remrem/generate/controller/EiffelSemanticsController.java
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
23 changes: 23 additions & 0 deletions
23
src/main/java/com/ericsson/eiffel/remrem/generate/controller/VersionsController.java
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,23 @@ | ||
package com.ericsson.eiffel.remrem.generate.controller; | ||
|
||
import java.util.Map; | ||
|
||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RequestMethod; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
import com.ericsson.eiffel.remrem.shared.VersionService; | ||
import com.google.gson.JsonElement; | ||
import com.google.gson.JsonParser; | ||
|
||
@RestController @RequestMapping("/versions") | ||
public class VersionsController { | ||
|
||
JsonParser parser = new JsonParser(); | ||
|
||
@RequestMapping(value = "", method = RequestMethod.POST) | ||
public JsonElement getVersions() { | ||
Map versions = VersionService.getMessagingVersions(); | ||
return parser.parse(versions.toString()); | ||
} | ||
} |
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