Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

setup throws an error #48

Closed
crichey opened this issue Nov 19, 2011 · 7 comments
Closed

setup throws an error #48

crichey opened this issue Nov 19, 2011 · 7 comments
Labels

Comments

@crichey
Copy link

crichey commented Nov 19, 2011

When I hit the setup.xqy at http://localhost:8010/config/setup.xqy I get the following error. The framework otherwise seems to be functioning fine, indicating that I have the correct configuration for the url rewriter.
{"error":{"status":404,"code":"corona:ENDPOINT-NOT-FOUND","message":"Invalid endpoint. Check path and parameters for errors."}}

@ghost ghost assigned ryangrimm Nov 19, 2011
@eedeebee
Copy link
Contributor

I wonder if any of the config should be established using the 5.0 config mechanism.

@crichey
Copy link
Author

crichey commented Nov 19, 2011

Maybe�interesting idea. I think only users are being created though so

probably overkill.

Clark Richey
clark@clarkrichey.com

On 11/19/11 2:31 PM, "Eric Bloch"
<reply+i-2289465-bb7174e9d6e2d85cc1fb431938d7b7af6879125a-214112@reply.gith
ub.com> wrote:

I wonder if any of the config should be established using the 5.0 config
mechanism.


Reply to this email directly or view it on GitHub:
#48 (comment)

@ryangrimm
Copy link
Contributor

Oops, this error was introduced when I put in the new error handler and rewriter last week. I just pushed some changes that should fix things up. As a side note, the setup script now lives at /config/setup (dropping the .xqy).

@ryangrimm
Copy link
Contributor

Regarding the use of the 5.0 config goodies, I'm guessing that you're referring to the REST interface that has been created. I'd be open to using it as the admin function calls are kind of painful. However, that leaves the 4.1 and 4.2 folks out in the insecure cold. So for the time being I think we should stick with using the admin API.

@crichey
Copy link
Author

crichey commented Nov 19, 2011

Actually it would be the package management but I think it is overkill in

this case. I think the existing approach is much better.

Clark Richey
clark@clarkrichey.com

On 11/19/11 3:19 PM, "Ryan Grimm"
<reply+i-2289465-bb7174e9d6e2d85cc1fb431938d7b7af6879125a-214112@reply.gith
ub.com> wrote:

Regarding the use of the 5.0 config goodies, I'm guessing that you're
referring to the REST interface that has been created. I'd be open to
using it as the admin function calls are kind of painful. However, that
leaves the 4.1 and 4.2 folks out in the insecure cold. So for the time
being I think we should stick with using the admin API.


Reply to this email directly or view it on GitHub:
#48 (comment)

@crichey
Copy link
Author

crichey commented Nov 19, 2011

Works now

@ryangrimm
Copy link
Contributor

Excellent. Thanks for finding and reporting. I'll cook up a test for the setup page to catch further issues.

Sent from my iPhone

On Nov 19, 2011, at 12:30 PM, "Clark D. Richey, Jr."reply@reply.github.com wrote:

Works now


Reply to this email directly or view it on GitHub:
#48 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants