8000 Improve supportability by jsteemann · Pull Request #14639 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Improve supportability #14639

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

Merged
merged 16 commits into from
Aug 18, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename startup option
  • Loading branch information
jsteemann committed Aug 17, 2021
commit c0ef480be207b26c5136dba47646a862fe374f7c
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ devel
be accessed from inside the system database. In addition accessing it
requires either the superuser JWT token or that `--server.harden` is not
set. The API can also be turned off entirely using the new startup option
`--server.support-api`.
`--server.support-info-api`.

* Bug-Fix: In more complex queries there was a code-path where a (Disjoint-) Smart
graph access was not properly optimized.
Expand Down
2 changes: 1 addition & 1 deletion arangod/GeneralServer/GeneralServerFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ void GeneralServerFeature::collectOptions(std::shared_ptr<ProgramOptions> option
new UInt64Parameter(&_numIoThreads),
arangodb::options::makeDefaultFlags(arangodb::options::Flags::Dynamic));

options->addOption("--server.support-api",
options->addOption("--server.support-info-api",
"Expose support info API for privileged users",
new BooleanParameter(&_exposeSupportInfoApi))
.setIntroducedIn(30900);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

if (getOptions === true) {
return {
'server.support-api': "false"
'server.support-info-api': "false"
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

if (getOptions === true) {
return {
'server.support-api': "true"
'server.support-info-api': "true"
};
}

Expand Down
0