History log of /openbmc/libcper/json-schema.c (Results 1 – 15 of 15)
Revision Date Author Comments
# e42fb487 15-Oct-2024 Thu Nguyen <thu@os.amperecomputing.com>

Change include style to use system includes

The libcper header files in `libcper` are installed to
`usr/include/libcper`. Use that system includes in `libcper` source
instead of using the project in

Change include style to use system includes

The libcper header files in `libcper` are installed to
`usr/include/libcper`. Use that system includes in `libcper` source
instead of using the project includes.

Change-Id: I596edc2c754dae4829844f535a1e34caa246fb43
Signed-off-by: Thu Nguyen <thu@os.amperecomputing.com>

show more ...


# a3b7f8a2 04-Nov-2024 Ed Tanous <etanous@nvidia.com>

Unflatten edk includes

Installing the edk headers into a folder requires us to do odd things
with imports, and either include headers with "..", or otherwise get the
include directories lined up.

M

Unflatten edk includes

Installing the edk headers into a folder requires us to do odd things
with imports, and either include headers with "..", or otherwise get the
include directories lined up.

Move the contents of edk/*.c/h up a level, and just simplify the include
structure. This is done to fix the immediate change of the prior patch
and make this build again. Happy to discuss other options.

Change-Id: I328f20bca6d23100993493445bee0e5e11d2866a
Signed-off-by: Ed Tanous <etanous@nvidia.com>

show more ...


# 12587b29 25-Sep-2024 Karthik Rajagopalan <krajagopalan@nvidia.com>

Fix false-success in schema validation

Was getting the following with validate_schema_debug_enable()
```
json_validator: Validating field 'parent'...
json_validator: oneOf options detected for field

Fix false-success in schema validation

Was getting the following with validate_schema_debug_enable()
```
json_validator: Validating field 'parent'...
json_validator: oneOf options detected for field 'parent'.
json_validator: Validating field 'parent'...
json_validator: $ref schema detected for field 'parent'.
json_validator: loaded schema path './cper-json-full-log.json' for field 'parent'.
json_validator: Desired field type not provided within schema/is not a string for field 'parent' (schema violation).
json_validator: Successfully validated the provided object against schema.
```
($ref was processed incorrectly & ret < 0 was taken as success)

Change-Id: I6b22ecd889170964a2eb61e3f4f8c076684fa884
Signed-off-by: Karthik Rajagopalan <krajagopalan@nvidia.com>

show more ...


# 4482c48b 02-Jul-2024 Andrew Adriance <aadriance@nvidia.com>

Update limits headers for better platform compat

This change enables building libcper based cli tools on mac systems.

Change-Id: If9b0134d3677b84c57603fa83d546b58e8c2d073
Signed-off-by: Andrew Adri

Update limits headers for better platform compat

This change enables building libcper based cli tools on mac systems.

Change-Id: If9b0134d3677b84c57603fa83d546b58e8c2d073
Signed-off-by: Andrew Adriance <aadriance@nvidia.com>

show more ...


# fedd457d 12-Jul-2024 Ed Tanous <ed@tanous.net>

Remove trailing whitespace

clang-format won't remove trailing whitespace if that's the only change.
Fix them all.

Change-Id: Ic6e14af43cdd11905d3b58430d49b9ec1484f812
Signed-off-by: Ed Tanous <ed@t

Remove trailing whitespace

clang-format won't remove trailing whitespace if that's the only change.
Fix them all.

Change-Id: Ic6e14af43cdd11905d3b58430d49b9ec1484f812
Signed-off-by: Ed Tanous <ed@tanous.net>

show more ...


# b35d957e 18-Jun-2024 Ed Tanous <etanous@nvidia.com>

Enforce const correctness

Clang enforces const correctness. Apply its fixes.

Change-Id: I93f6a6dcb11844003a3691292de721e3b72b4a47
Signed-off-by: Ed Tanous <etanous@nvidia.com>


# f8fc7052 03-May-2024 John Chung <john.chung@arm.com>

Formatting .c/.h files and fix memory leakage issues

Signed-off-by: John Chung <john.chung@arm.com>
Change-Id: Id8328f412c2724992d80c0b3f895c8f85bc4ae68


# 5202bbb4 12-Aug-2022 Lawrence Tang <lawrence.tang@arm.com>

Source json.h non-locally.

Change-Id: Ia42c41fde74596b394a1f7ae0021f1a5510991a8


# e407b4c8 21-Jul-2022 Lawrence Tang <lawrence.tang@arm.com>

Partial reformat to kernel code style.


# d34f2b11 19-Jul-2022 Lawrence Tang <lawrence.tang@arm.com>

Add test suite, fix a mountain of small errors.


# 7cd13908 13-Jul-2022 Lawrence Tang <lawrence.tang@arm.com>

Add partial ARM CPER-JSON support.


# c4814594 13-Jul-2022 Lawrence Tang <lawrence.tang@arm.com>

Add "additionalProperties" validation to validator.


# 8f793ac3 13-Jul-2022 Lawrence Tang <lawrence.tang@arm.com>

Finish JSON validator, add debug out.


# 45e04b0a 12-Jul-2022 Lawrence Tang <lawrence.tang@arm.com>

Add array support to JSON validator.


# 8a2d737c 12-Jul-2022 Lawrence Tang <lawrence.tang@arm.com>

Add schema validator, make schemas root relative.