We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the Multi Agency wiki setup guide, I follow Step 4 to create
abc123
primary
def456
halifax
WebAgency data for both are stored in the primary agency database only.
Then, I start tomcat for API and WEB, using
JAVA_OPTS="-Dtransitclock.apikey=abc123 -Dtransitclock.configFiles=/home/ubuntu/transitime/primary.properties"
as I understand it only requires 1 instance of API and WEB.
My question is, why do I need 2 api keys if only the primary key is passed to Tomcat?
I can curl
api/v1/key/abc123/agency/primary/command/routes?format=json api/v1/key/abc123/agency/halifax/command/routes?format=json
and get the correct results.
I expect halifax agency should require its own apikey, but it does not look like this is the case???
And when I curl
api/v1/key/def456/agency/primary/command/routes?format=json api/v1/key/def456/agency/halifax/command/routes?format=json
it shows key is not valid.
Does this mean all agencies essentially share the same apiKey?
PS: obviously the apiKey is obfuscated.
The text was updated successfully, but these errors were encountered:
What's the end goal that you try to archive here? Running one transitclock but having specialized view for each agency that you have there?
Sorry, something went wrong.
Yes @vesavlad , and one apiKey should only see the corresponding agency data
No branches or pull requests
In the Multi Agency wiki setup guide, I follow Step 4 to create
abc123
) for myprimary
agencydef456
) for myhalifax
secondary agencyWebAgency data for both are stored in the primary agency database only.
Then, I start tomcat for API and WEB, using
as I understand it only requires 1 instance of API and WEB.
My question is, why do I need 2 api keys if only the primary key is passed to Tomcat?
I can curl
and get the correct results.
I expect halifax agency should require its own apikey, but it does not look like this is the case???
And when I curl
it shows key is not valid.
Does this mean all agencies essentially share the same apiKey?
PS: obviously the apiKey is obfuscated.
The text was updated successfully, but these errors were encountered: