Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Callout with Apigee Emulator #860

Closed
varuntit101 opened this issue Nov 3, 2023 · 3 comments
Closed

Java Callout with Apigee Emulator #860

varuntit101 opened this issue Nov 3, 2023 · 3 comments
Assignees

Comments

@varuntit101
Copy link

I am trying to get the sample java callout with properties (from the github apigee-platform-samples/doc-samples/java-properties) working in the vscode Apigee emulator.

However when I try to run a sample proxy using the above within an Emulator within VSCode, I experience the following "No appropriate constructor found in JavaCallout class com.apigeesample.JavaProperties" error when deploying the API proxy to a sample environment:

11/03/2023 1:36 AM EMULATOR INFO Deploying environment eval, to Container apigee (1.10.3)
11/03/2023 1:36 AM EMULATOR ERROR Code : steps.javacallout.NoAppropriateConstructor
11/03/2023 1:36 AM EMULATOR ERROR Message: No appropriate constructor found in JavaCallout class

Version information

Cloud Code Extension version: 2.1.0

VSCode version: 1.83.1

OS: Windows 11

Cloud SDK:

Skaffold:

Kubectl:

Description:

Repro step:

@shirishtrivikr
Copy link
Collaborator

@varuntit101 Thanks for reporting the issue.

I was able to reproduce the issue and analyzing further

@shirishtrivikr
Copy link
Collaborator

I have narrowed down the problem in the emulator and will proceed towards a fix.

@shirishtrivikr
Copy link
Collaborator

The fix is now available in the latest emulator releases 1.11.0 and above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants