-
Notifications
You must be signed in to change notification settings - Fork 7
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 #15 from scm-spain/feature/add-multiple-package-sc…
…anning Feature/add multiple package scanning
- Loading branch information
Showing
4 changed files
with
56 additions
and
4 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
21 changes: 21 additions & 0 deletions
21
src/test/java/scmspain/karyon/restrouter/dummy/DummyController.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,21 @@ | ||
package scmspain.karyon.restrouter.dummy; | ||
|
||
import rx.Observable; | ||
import scmspain.karyon.restrouter.annotation.Endpoint; | ||
import scmspain.karyon.restrouter.annotation.Path; | ||
|
||
import javax.ws.rs.HttpMethod; | ||
|
||
/** | ||
* Created by ruben.perez on 16/11/15. | ||
*/ | ||
@Endpoint | ||
public class DummyController { | ||
|
||
@Path(value = "/dummy/{id}", method = HttpMethod.GET) | ||
public Observable<Void> method() { | ||
|
||
return Observable.empty(); | ||
} | ||
|
||
} |
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 +1,2 @@ | ||
com.scmspain.karyon.rest.property.packages = scmspain.karyon.restrouter.endpoint | ||
# Multi value (comma-separated) property | ||
com.scmspain.karyon.rest.property.packages = scmspain.karyon.restrouter.endpoint,scmspain.karyon.restrouter.dummy |