`cfn init` shows warning: Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Tái hiện cảnh báo với cfn 0.2.1 bằng cách chạy cfn init cho một tài nguyên Java và chọn codegen model 1. Bắt đầu với đường dẫn ResourceModel.java đã được tạo và các mục nhật ký RPDK được hiển thị trong báo cáo, sau đó theo dõi bước tạo nào xử lý định dạng ngày-giờ. Hoàn thành khi cfn init kết thúc mà không có cảnh báo được báo cáo và mô hình đã tạo được sinh ra như mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
MacBook@ ~/workspace/test-r-p $ cfn --version
cfn 0.2.1
MacBook@ ~/workspace/test-r-p $ cfn init
Initializing new project
Do you want to develop a new resource(r) or a module(m)?.
>> r
What's the name of your resource type?
(Organization::Service::Resource)
>> mparnisa::test::rp
Select a language for code generation:
[1] go
[2] java
[3] python36
[4] python37
(enter an integer):
>> 2
Enter a package name (empty for default 'com.mparnisa.test.rp'):
>>
Choose codegen model - 1 (default) or 2 (guided-aws):
>> 1
Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
Initialized a new project in /Users/mparnisa/workspace/test-r-p
In the RPDK log:
[2021-01-11T22:30:50Z] DEBUG - ResourceModel POJO: /Users/mparnisa/workspace-sync/test-r-p/target/generated-sources/rpdk/com/mparnisa/test/rp/ResourceModel.java
[2021-01-11T22:30:50Z] ERROR - Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
[2021-01-11T22:30:50Z] ERROR - Could not find specified format 'date-time' for type 'string'. Defaulting to 'String'
[2021-01-11T22:30:50Z] DEBUG - Overwriting '/Users/mparnisa/workspace-sync/test-r-p/target/generated-sources/rpdk/com/mparnisa/test/rp/ResourceModel.java'
- Ngôn ngữ chính
- Java
- Star
- 30
- Fork
- 48
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 aws-cloudformation/cloudformation-cli-java-plugin
-
Runtime compatibility issue Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
aws-cloudformation/cloudformation-cli-java-plugin#415 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
-
injectCredentialsAndInvokeV2 method in proxy class doesn't support API's like PutObject from S3. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của aws-cloudformation/cloudformation-cli-java-plugin
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Đang mởbug frontend maui-pilot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
objectionary/eo-graphs#74 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100