Scout24 / afp-web

Web frontend for afp (aws federation proxy)
Apache License 2.0
6 stars 6 forks source link

Fix Doc for API_ENDPOINT Configuration #1

Closed oliver-schoenherr closed 8 years ago

oliver-schoenherr commented 8 years ago

Fix outdated Documentation.

tvollmer-at-is24 commented 8 years ago

Maybe it would be good to have a "configuration" file, to enable the Admin to easily configure the system. Instead of looking for the Variable in the source code.

schlomo commented 8 years ago

+1 for incremental improvement :-)

esc commented 8 years ago

I vote for merge, who will click the button?

schlomo commented 8 years ago

Usually the first co-author who looked at the change retains the right/duty to merge it. Or he asks somebody else to take over.

esc commented 8 years ago

@schlomo I don't think there is a "usually" in this case, but what you say sounds reasonable. We could also look at something like:

http://rfc.zeromq.org/spec:16

For now, perhaps we should agree on the following simple rules:

esc commented 8 years ago

Having said that, here goes!

SebastianStiehl commented 8 years ago

I didn't noticed that there was a documentation for the variable as i moved it. The Documentation is still not valid. There is not longer a global called AFP_API_ENDPOINT. It's now part of a angular constant service appVars with the key afpApiEndpoint. I can fix this on Monday.

For me the app.js is the configuration of the angular app. It defines the main module, the constants and the config. But we could move the constant service definition in a separate file if this helps to administrate it.