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

Fix package name and add static String for Content-Type #148

Closed
wants to merge 11 commits into from
Closed

Fix package name and add static String for Content-Type #148

wants to merge 11 commits into from

Conversation

marcosbarbero
Copy link

This PR fix #141

@thinkingserious
Copy link
Contributor

Thanks for the pull request @marcosbarbero!

Could you please take a moment to sign our CLA so we can merge it? https://github.com/sendgrid/sendgrid-java/blob/master/CONTRIBUTING.md#cla

The tests will not pass on Travis for you because the environment variable the tests depends on is not available to those outside of SendGrid. I'll test locally to make sure all is good. Thanks!

@thinkingserious thinkingserious added type: community enhancement feature request not on Twilio's roadmap status: cla needed labels Oct 5, 2016
@marcosbarbero
Copy link
Author

@thinkingserious Thanks, I'll sign to CLA in few!

@marcosbarbero
Copy link
Author

Just sent my CLA agreement

@marcosbarbero
Copy link
Author

@thinkingserious this second commit should be a second PR, just messed things up! hehehe
This second commit will fix this issue sendgrid/java-http-client#8

@thinkingserious
Copy link
Contributor

Hello @marcosbarbero,

This issue finally bubbled up to the top of our queue. Could you please resolve the conflicts so we can review for merge?

Thank you!

@marcosbarbero
Copy link
Author

@thinkingserious thanks for taking a look on it, tomorrow morning I'll fix it and re-delivery!

@marcosbarbero
Copy link
Author

@thinkingserious it took longer than I thought but here is the review.

Copy link
Collaborator

@SendGridDX SendGridDX left a comment

Choose a reason for hiding this comment

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

Hi @marcosbarbero!

This PR finally reached the top of our backlog :)

Please take a look at my feedback and let me know what you think.

* @param apiKey is your SendGrid API Key: https://app.sendgrid.com/settings/api_keys
* @param client the Client to use (allows to customize its configuration)
*/
public SendGrid(String apiKey, Client client) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

So that we don't have to make a breaking change, could you please keep this constructor?

initializeSendGrid(apiKey);
}

public void initializeSendGrid(String apiKey) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please keep this function also, so that we don't have a breaking change. Generally, please ensure all public functions remain and just add a comment that notes that we will deprecate for now.

@thinkingserious
Copy link
Contributor

@marcosbarbero,

It looks like we have a conflict that needs resolving as well. Please let me know if there is anything I can do to help move this forward.

Thanks!

@SendGridDX
Copy link
Collaborator

SendGridDX commented Apr 18, 2017

CLA assistant check
All committers have signed the CLA.

@marcosbarbero
Copy link
Author

@thinkingserious I just updated the PR

@thinkingserious
Copy link
Contributor

Thanks for fixing the conflicts!

Could you please also take a look at my change requests? Thanks!

@marcosbarbero
Copy link
Author

@thinkingserious can you check them? As far as I can see I rollbacked all the breaking changes

@thinkingserious
Copy link
Contributor

Hi @marcosbarbero,

It looks like this function was removed:

public void initializeSendGrid(String apiKey) 

@marcosbarbero
Copy link
Author

@thinkingserious I'm so sorry.. Just rollbacked this one

@thinkingserious
Copy link
Contributor

No problem @marcosbarbero, thanks for the quick fix.

@thinkingserious
Copy link
Contributor

Hi @marcosbarbero,

Could you please remove the edits from the following files? We will update these after the merge:

CHANGELOG.md
CONTRIBUTING.md
README.md
build.gradle
pom.xml
src/main/java/com/sendgrid/helpers/README.md

Thanks!

@thinkingserious thinkingserious added the status: work in progress Twilio or the community is in the process of implementing label Apr 29, 2017
@thinkingserious
Copy link
Contributor

Hello @marcosbarbero,

Just checking in. Is there anything I can do to help?

@hc1jcarter
Copy link

Would it be fine for me to fork the changes & update it so it can be merged in? It'd make contributing to other bugs (#181) much easier for me

@marcosbarbero
Copy link
Author

Sorry for this long delay. Unfortunately I don't have much time to work on this issue.
@hc1jcarter if it helps I can transfer my fork to you.

@hc1jcarter
Copy link

@marcosbarbero Sure, if you don't mind

@marcosbarbero
Copy link
Author

Just transfered @hc1jcarter

@hc1jcarter
Copy link

Am I doing something wrong on the tests? They all pass for me locally but TravisCI seems to be having problems...

@thinkingserious
Copy link
Contributor

Hi @hc1jcarter,

You are good. We have to update TravisCI. Right now, it only can read the environment variables when the tests originate from a SendGrid team account. Here is the relevant ticket for the fix.

With Best Regards,

Elmer

@hc1jcarter
Copy link

fixed #159 for oracle java 8... still trying to work on the java 7 issues. They seem unrelated to the code itself and more on the travis-ci environment

@thinkingserious
Copy link
Contributor

Implementation will be tracked in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: work in progress Twilio or the community is in the process of implementing type: community enhancement feature request not on Twilio's roadmap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use static strings or enumerations where possible
4 participants