Skip to content

Added more complete parsing functionality to REST services#1355

Merged
rfecher merged 6 commits intolocationtech:masterfrom
cjw5db:rest-features
Jul 18, 2018
Merged

Added more complete parsing functionality to REST services#1355
rfecher merged 6 commits intolocationtech:masterfrom
cjw5db:rest-features

Conversation

@cjw5db
Copy link
Copy Markdown
Contributor

@cjw5db cjw5db commented Jul 11, 2018

No description provided.

@coveralls
Copy link
Copy Markdown

coveralls commented Jul 11, 2018

Coverage Status

Coverage increased (+0.9%) to 48.266% when pulling 6b653d8 on cjw5db:rest-features into 281ea19 on locationtech:master.



// The following case should probably return a 404 based on the
// situation described in the test description
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just a copy paste issue?


// The following case should probably return a 404 based on the
// situation described in the test description
TestUtils
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just a copy paste issue?

"nonexistent-adapter"));


// The following case should probably return a 404 based on the
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

"COUNT_DATA"));


// The following case should probably return a 404 based on the
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment seems to be everywhere

strValue);
strValue.toUpperCase());
}
else if (CQLFilterOptionProvider.FilterParameter.class.isAssignableFrom(type)) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of adding geowave-adapter-vector and special casing this one parameter that requires a converter, it'd be better to use reflection to find the annotations with a converter and convert them (so it would hypothetically work for any parameter with a converter)

@rfecher rfecher merged commit 19b0d3f into locationtech:master Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants