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

Add samples for Cosmos DB #34

Closed
3 tasks
asavaritayal opened this issue Jul 20, 2018 · 4 comments
Closed
3 tasks

Add samples for Cosmos DB #34

asavaritayal opened this issue Jul 20, 2018 · 4 comments

Comments

@asavaritayal
Copy link

asavaritayal commented Jul 20, 2018

Provide Java Function code samples for -

  • Cosmos DB trigger

  • Cosmos DB input

  • Cosmos DB output

For reference, here is the corresponding C# code that needs to be converted to Java -

image

Input examples (all required)- https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2#input---c-examples

Output examples (all required) - https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb-v2#input---c-examples

@JunyiYi
Copy link
Contributor

JunyiYi commented Jul 21, 2018

Runtime Error:

System.Private.CoreLib: One or more errors occurred. Unable to load DLL 'Microsoft.Azure.Documents.ServiceInterop.dll' or one of its dependencies

JunyiYi pushed a commit to JunyiYi/azure-functions-java-library that referenced this issue Jul 21, 2018
JunyiYi pushed a commit to JunyiYi/azure-functions-java-library that referenced this issue Jul 24, 2018
JunyiYi pushed a commit to JunyiYi/azure-functions-java-library that referenced this issue Jul 24, 2018
@asavaritayal
Copy link
Author

Closing as this is now done.

@pragnagopa pragnagopa reopened this Oct 12, 2018
@pragnagopa pragnagopa self-assigned this Oct 12, 2018
@pragnagopa
Copy link
Member

PR is still not merged #40

pragnagopa pushed a commit that referenced this issue Oct 13, 2018
* Add CosmosDB binding samples (#34).

* Add EventGrid binding samples (#36).

* Adjust CosmosDB sample according to the feedback

* Fix syntax error in the sample code of CosmosDBInput.

* Modify the samples to match the latest CosmosDB runtime.
@pragnagopa
Copy link
Member

Checked in

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