Commit 08b484d7 authored by Ryan Berkheimer's avatar Ryan Berkheimer

reduced test passed, uncommenting entire body of endpoint code in C

parent e6be691a
Pipeline #5742 failed with stages
in 0 seconds
......@@ -19,7 +19,7 @@ JNIEXPORT jobject JNICALL Java_gov_noaa_messageapi_endpoints_NativeEndpoint_proc
//struct record_list* collection_record_list = getRecordsByCollection(message, "gold");
//struct record_list* transformation_record_list = getRecordsByTransformation(message, "combine-colors");
printf("Record count: %d\n", default_record_list->count);
/*struct string_list* default_field_name_list = getFieldIds(message, getRecord(message, default_record_list, 0));
struct string_list* default_field_name_list = getFieldIds(message, getRecord(message, default_record_list, 0));
printf("Field name count: %d\n", default_field_name_list->count);
printf("Length of longest field name: %d\n", default_field_name_list->max_length);
for (int i = 0; i < default_field_name_list->count; i++) {
......@@ -64,7 +64,7 @@ JNIEXPORT jobject JNICALL Java_gov_noaa_messageapi_endpoints_NativeEndpoint_proc
printf("Got a null field val for field 4.\n");
} else {
printf("Field val 4 has a value!\n");
}*/
}
fflush(stdout);
struct record *returnRecord = createRecord(message);
struct string_list *fieldIds = getFieldIds(message, returnRecord);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment