Skip to content

Commit 9bdd236

Browse files
authored
Updating to 0.4 (#80)
1 parent 1c81d79 commit 9bdd236

File tree

6 files changed

+95
-12
lines changed

6 files changed

+95
-12
lines changed

.gitattributes

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Handle line endings automatically for files detected as text
2+
# and leave all files detected as binary untouched.
3+
* text=auto
4+
5+
# These files are text and should be normalized (Convert crlf => lf)
6+
*.css text
7+
*.htm text
8+
*.html text
9+
*.java text
10+
*.js text
11+
*.json text
12+
*.jsp text
13+
*.jspf text
14+
*.jspx text
15+
*.properties text
16+
*.sh text
17+
*.txt text
18+
*.xml text
19+
*.yml text
20+
21+
# These files are binary and should be left untouched
22+
# (binary is a macro for -text -diff)
23+
*.class binary
24+
*.dll binary
25+
*.ear binary
26+
*.ico binary
27+
*.jar binary
28+
*.so binary
29+
*.war binary

CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Azure Notification Hubs for Java SDK Contributing Guide
2+
-------------------------------------
3+
4+
Thank you for your interest in contributing to Azure Notification Hubs for Java SDK C.
5+
6+
- For reporting bugs, requesting features, or asking for support, please file an issue in the [issues](https://github.com/Azure/azure-sdk-for-java/issues) section of the project.
7+
8+
- If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://azure.github.com/guidelines.html).
9+
10+
- To make code changes, or contribute something new, please follow the [GitHub Forks / Pull requests model](https://help.github.com/articles/fork-a-repo/): Fork the repo, make the change and propose it back by submitting a pull request.
11+
12+
Pull Requests
13+
-------------
14+
15+
- **DO** submit all code changes via pull requests (PRs) rather than through a direct commit. PRs will be reviewed and potentially merged by the repo maintainers after a peer review that includes at least one maintainer.
16+
- **DO NOT** submit "work in progress" PRs. A PR should only be submitted when it is considered ready for review and subsequent merging by the contributor.
17+
- **DO** give PRs short-but-descriptive names (e.g. "Improve code coverage for Azure.Core by 10%", not "Fix #1234")
18+
- **DO** refer to any relevant issues, and include [keywords](https://help.github.com/articles/closing-issues-via-commit-messages/) that automatically close issues when the PR is merged.
19+
- **DO** tag any users that should know about and/or review the change.
20+
- **DO** ensure each commit successfully builds. The entire PR must pass all tests in the Continuous Integration (CI) system before it'll be merged.
21+
- **DO** address PR feedback in an additional commit(s) rather than amending the existing commits, and only rebase/squash them when necessary. This makes it easier for reviewers to track changes.
22+
- **DO** assume that ["Squash and Merge"](https://github.com/blog/2141-squash-your-commits) will be used to merge your commit unless you request otherwise in the PR.
23+
- **DO NOT** fix merge conflicts using a merge commit. Prefer `git rebase`.
24+
- **DO NOT** mix independent, unrelated changes in one PR. Separate real product/test code changes from larger code formatting/dead code removal changes. Separate unrelated fixes into separate PRs, especially if they are in different assemblies.
25+
26+
Merging Pull Requests (for project contributors with write access)
27+
----------------------------------------------------------
28+
29+
- **DO** use ["Squash and Merge"](https://github.com/blog/2141-squash-your-commits) by default for individual contributions unless requested by the PR author.
30+
Do so, even if the PR contains only one commit. It creates a simpler history than "Create a Merge Commit".
31+
Reasons that PR authors may request "Merge and Commit" may include (but are not limited to):
32+
33+
- The change is easier to understand as a series of focused commits. Each commit in the series must be buildable so as not to break `git bisect`.
34+
- Contributor is using an e-mail address other than the primary GitHub address and wants that preserved in the history. Contributor must be willing to squash
35+
the commits manually before acceptance.

NotificationHubs/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</attributes>
1515
</classpathentry>
1616
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
17-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
17+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
1818
<attributes>
1919
<attribute name="maven.pomderived" value="true"/>
2020
</attributes>

NotificationHubs/.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,15 @@
2020
<nature>org.eclipse.m2e.core.maven2Nature</nature>
2121
<nature>org.eclipse.jdt.core.javanature</nature>
2222
</natures>
23+
<filteredResources>
24+
<filter>
25+
<id>1602612759974</id>
26+
<name></name>
27+
<type>30</type>
28+
<matcher>
29+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
30+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
31+
</matcher>
32+
</filter>
33+
</filteredResources>
2334
</projectDescription>

NotificationHubs/pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.windowsazure</groupId>
55
<artifactId>Notification-Hubs-java-sdk</artifactId>
6-
<version>0.3.0</version>
6+
<version>0.4.0</version>
77
<name>Windows Azure Notification Hubs Java SDK</name>
8+
<properties>
9+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10+
</properties>
811
<build>
912
<sourceDirectory>src</sourceDirectory>
1013
<testSourceDirectory>test</testSourceDirectory>
@@ -35,7 +38,6 @@
3538
</rules>
3639
</configuration>
3740
</execution>
38-
3941
<execution>
4042
<id>enforce</id>
4143
<configuration>
@@ -52,6 +54,7 @@
5254
<plugin>
5355
<groupId>org.apache.maven.plugins</groupId>
5456
<artifactId>maven-dependency-plugin</artifactId>
57+
<version>3.1.2</version>
5558
<executions>
5659
<execution>
5760
<id>analyze-dependencies</id>
@@ -68,6 +71,7 @@
6871
<plugin>
6972
<groupId>org.apache.maven.plugins</groupId>
7073
<artifactId>maven-compiler-plugin</artifactId>
74+
<version>3.8.1</version>
7175
<configuration>
7276
<source>8</source>
7377
<target>8</target>

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -394,14 +394,18 @@ List<NotificationHubJobs> allJobs = hub.getAllNotificationHubJobs()
394394

395395
## Contributing
396396

397-
This project welcomes contributions and suggestions. Most contributions require you to agree to a
398-
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
399-
the rights to use your contribution. For details, visit https://cla.microsoft.com.
397+
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-notificationhubs-java-backend/blob/main/CONTRIBUTING.md).
400398

401-
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
402-
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
403-
provided by the bot. You will only need to do this once across all repos using our CLA.
399+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, view [Microsoft's CLA](https://cla.microsoft.com).
404400

405-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
406-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
407-
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
401+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
402+
403+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
404+
405+
## Reporting security issues and security bugs
406+
407+
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) <secure@microsoft.com>. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue).
408+
409+
## License
410+
411+
Azure SDK for Java is licensed under the [Apache 2.0](https://github.com/Azure/azure-notificationhubs-java-backend/blob/main/LICENSE) license.

0 commit comments

Comments
 (0)