Created
March 30, 2022 19:13
-
-
Save recursivecodes/2518417fd353143b40788326e58334af to your computer and use it in GitHub Desktop.
Function.java
This file contains hidden or 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
@Singleton | |
public class Function extends OciFunction { | |
@Inject | |
TenancyIdProvider tenantIdProvider; | |
@ReflectiveAccess | |
public String handleRequest() { | |
String tenancyId = tenantIdProvider.getTenancyId(); | |
return "Your tenancy is: " + tenancyId; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment