Consider supporting JEP 445
@janell-chen đang làm issue này rồi.
Từ ngày 6/6/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
JEP 445 (Preview in JDK 21) introduces unnamed classes and instance main methods. This could be a boon to writing functions if done right changing our result from this:
package com.example;
import com.google.cloud.functions.HttpFunction;
import com.google.cloud.functions.HttpRequest;
import com.google.cloud.functions.HttpResponse;
public class HelloWorld implements HttpFunction {
@Override
public void service(HttpRequest request, HttpResponse response)
throws Exception {
response.getWriter().write("Hello, World\n");
}
}
To something like this:
import com.google.cloud.functions.FuncFramework;
void main() {
FuncFramework.http((req, res) -> response.getWriter().write("Hello, World\n"));
}
- Ngôn ngữ chính
- Java
- Star
- 155
- Fork
- 64
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của GoogleCloudPlatform/functions-framework-java
-
enhancement P2
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
-
Incompatible conversion from Pub/Sub emulator to CloudEvent for `CloudEventsFunction`Có thể làm lại được @taeold đã nhận 214 ngày trước và không có pull request nào đang mở. Đang mởenhancement
GoogleCloudPlatform/functions-framework-java#375 · 1 bình luận · 1 reaction · 1 người được giao ·
-
enhancement P2
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
GoogleCloudPlatform/functions-framework-java#372 · 1 bình luận ·
-
Add support for auto-reload in run goal of function-maven-pluginCó thể làm lại được @janell-chen đã nhận 1002 ngày trước và không có pull request nào đang mở. Đang mởenhancement P3
GoogleCloudPlatform/functions-framework-java#261 · 1 người được giao ·
-
How to run `google/fhir-data-pipes/pipelines/batch` uber JAR in Google Cloud Functions locally?Đang mởP3 question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
GoogleCloudPlatform/functions-framework-java#254 · 1 bình luận ·
Tất cả issue của GoogleCloudPlatform/functions-framework-java
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
aoqia194/leaf-loader#19 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
apache/streampark#4521 ·
-
Update license yearĐang mở0 - Backlog 1 - Ready documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
cbor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
FasterXML/jackson-dataformats-binary#844 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Issue: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
OpenAPITools/openapi-generator#25107 ·
Maintainer thường phản hồi trong vòng 1 ngày