-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed HelloWorldHealthCheckResource.java,
added RotationManagementConfig and removed binding of RotationManagementResource
- Loading branch information
1 parent
282db60
commit c8ce346
Showing
5 changed files
with
30 additions
and
41 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
core/src/main/java/com/flipkart/gjex/core/config/RotationManagementConfig.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,22 @@ | ||
package com.flipkart.gjex.core.config; | ||
|
||
import com.flipkart.gjex.core.web.RotationManagementResource; | ||
import org.glassfish.jersey.server.ResourceConfig; | ||
|
||
import javax.inject.Inject; | ||
import javax.inject.Named; | ||
import javax.inject.Singleton; | ||
|
||
/** | ||
* RotationManagementConfig for registering RotationManagementResource. | ||
* @author ajay.jalgaonkar | ||
* | ||
*/ | ||
@Singleton | ||
@Named("RotationManagementConfig") | ||
public class RotationManagementConfig extends ResourceConfig { | ||
@Inject | ||
public RotationManagementConfig (RotationManagementResource rotationManagementResource) { | ||
register(rotationManagementResource); | ||
} | ||
} |
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
35 changes: 0 additions & 35 deletions
35
...rc/main/java/com/flipkart/gjex/examples/helloworld/web/HelloWorldHealthCheckResource.java
This file was deleted.
Oops, something went wrong.
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