Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dcat_us option to writer dropdown list #74

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ COPY --from=base /usr/local/bundle /usr/local/bundle
EXPOSE 8080

# Start the Rails server
CMD ["rails", "server", "-b", "0.0.0.0", "-e", "production", "-p", "8080"]
CMD ["rails", "server", "-b", "0.0.0.0", "-e", "production", "-p", "8080"]
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -234,4 +234,4 @@ RUBY VERSION
ruby 2.7.7p221

BUNDLED WITH
2.4.21
2.4.21
2 changes: 1 addition & 1 deletion app/models/option.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Option
def self.getOptionList
{
reader: %w[mdJson sbJson fgdc],
writer: %w[iso19115_3 iso19115_2 iso19110 html mdJson sbJson fgdc simple_html],
writer: %w[iso19115_3 iso19115_2 iso19110 html mdJson sbJson fgdc simple_html dcat_us],
format: %w[auto plain json xml],
validate: %w[none normal strict],
showAllTags: %w[true false],
Expand Down
1 change: 1 addition & 0 deletions app/views/api/v3/demos/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
<option value="simple_html">Simple HTML</option>
<option value="html" selected="selected">html</option>
<option value="fgdc">fgdc</option>
<option value="dcat_us">dcat_us</option>
<option value="iso19110">iso19110</option>
<option value="iso19115_3">iso19115_1 (alias of iso19115_3)</option>
<option value="iso19115_2">iso19115_2/19139 (deprecated)</option>
Expand Down