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 Azure Function Java support binding library #48

Merged
merged 13 commits into from
Feb 26, 2019

Conversation

JialinXin
Copy link
Contributor

  1. Add Azure Function Java support binding library
  2. Update travis to enable mvn build and package
  3. Update gitignore for Java related files

With limitation from KoreBuild, the folder structure is not able to change. Add a binding-library folder under root to manage other language supports.

Sample update will be in another PR.

Copy link
Member

@anthonychu anthonychu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Just a few minor changes. Thanks!


<groupId>com.microsoft.azure.functions</groupId>
<artifactId>azure-functions-java-library-signalr</artifactId>
<version>1.0-SNAPSHOT</version>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.0-SNAPSHOT [](start = 4, length = 31)

Will use 1.0.0 as release version.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to 1.0.0-SNAPSHOT

<modelVersion>4.0.0</modelVersion>

<groupId>com.microsoft.azure.functions</groupId>
<artifactId>azure-functions-java-library-signalr</artifactId>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pragnagopa Would you help check if the groupId is good?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍


<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<azure.functions.java.library.version>1.3.0-SNAPSHOT</azure.functions.java.library.version>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.3.0-SNAPSHOT [](start = 46, length = 14)

Will update to release version(should be 1.3.0) after library published and before checked-in.

Copy link
Member

@pragnagopa pragnagopa Feb 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to release a SNAPSHOT version first to enable E2E testing before releasing the official version. This is the same release process we follow of the library #Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the advise. Will do.


In reply to: 259939957 [](ancestors = 259939957)

/**
* User to add to or remove from group
*/
public String userId = "";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this used? Can you please add test/sample code?

Copy link
Contributor Author

@JialinXin JialinXin Feb 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check sample here: https://github.com/Azure/azure-functions-signalrservice-extension/pull/49/files. Do you suggest to add sample as comments in this file?


In reply to: 259940432 [](ancestors = 259940432)

* @since 1.0.0
*/
public class SignalRMessage {
/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. How is this used? Can you please add test/sample code?

public @interface SignalROutput {
/**
* The variable name used in function.json.
* @return The variable name used in function.json.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anthonychu - Have you tested this? I would like to make sure there are no changes needed for this work on the worker.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With help from Anthony, I've tested this. By replacing worker(build from dev branch) in the function core tools and latest maven plugin, it could work. Sample code can be found in this PR: https://github.com/Azure/azure-functions-signalrservice-extension/pull/49/files


In reply to: 259940994 [](ancestors = 259940994)

Copy link
Member

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added few comments. Mostly questions. Thanks!

Copy link
Member

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for E2E testing using dev bits!


# Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a
Copy link

@jdneo jdneo Feb 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two spaces before Most #Resolved

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

Successfully merging this pull request may close these issues.

None yet

4 participants