-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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(compute): migrate region 'example' to 'compute_sendgrid' #9942
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,13 +37,15 @@ | |
</properties> | ||
|
||
<dependencies> | ||
<!-- [START compute_sendgrid_dependencies_java] --> | ||
<!-- [START dependencies] --> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to the Sample Format Guide, the comment |
||
<dependency> | ||
<groupId>com.sendgrid</groupId> | ||
<artifactId>sendgrid-java</artifactId> | ||
<version>4.10.1</version> | ||
</dependency> | ||
<!-- [END dependencies] --> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to the Sample Format Guide, the comment |
||
<!-- [END compute_sendgrid_dependencies_java] --> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -25,6 +25,7 @@ | |||||||||
import com.sendgrid.helpers.mail.objects.Email; | ||||||||||
import java.io.IOException; | ||||||||||
|
||||||||||
// [START compute_sendgrid] | ||||||||||
// [START example] | ||||||||||
grayside marked this conversation as resolved.
Show resolved
Hide resolved
Comment on lines
+28
to
29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since the
Suggested change
Comment on lines
+28
to
29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For better clarity and adherence to the Google Java Style Guide, consider placing documentation tags like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to the Sample Format Guide, the comment |
||||||||||
public class SendEmailServlet { | ||||||||||
static final String SENDGRID_API_KEY = "YOUR-SENDGRID-API-KEY"; | ||||||||||
grayside marked this conversation as resolved.
Show resolved
Hide resolved
grayside marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Storing the
Suggested change
|
||||||||||
|
@@ -65,3 +66,4 @@ public static void main(String[] args) throws IOException { | |||||||||
|
||||||||||
} | ||||||||||
// [END example] | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to the Sample Format Guide, the comment |
||||||||||
// [END compute_sendgrid] | ||||||||||
Comment on lines
68
to
+69
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since the
Suggested change
Comment on lines
68
to
+69
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the checklist item, please ensure the
pom.xml
parent is set to the latestshared-configuration
version. This helps maintain consistency and provides the latest updates and bug fixes. Could you please confirm the latest version and update the dependency accordingly?