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

How Can I activate Auctioneer Componet from a third party Http Client #212

Open
athukuria opened this issue Aug 3, 2016 · 2 comments
Open

Comments

@athukuria
Copy link

athukuria commented Aug 3, 2016

Currently Auctioneer Component is activated from url http://localhost:8080/system/console/configMgr
If I want to activate Auctioneer using a http POST request How can I do that?
I have captured the possible http post request but when I tried it is not working
http post url :
http://localhost:8080/system/console/configMgr/[Temporary%20PID%20replaced%20by%20real%20PID%20upon%20save]

payload:
apply=true&factoryPid=net.powermatcher.core.auctioneer.Auctioneer&action=ajaxConfigManager&agentId=auctioneer&clusterId=DefaultCluster&commodity=electricity&currency=EUR&priceSteps=100&minimumPrice=0&maximumPrice=1&minTimeBetweenPriceUpdates=1000&propertylist=agentId%2CclusterId%2Ccommodity%2Ccurrency%2CpriceSteps%2CminimumPrice%2CmaximumPrice%2CminTimeBetweenPriceUpdates

@wilcowijbrandi
Copy link
Member

Maybe it's not working because your HTTP client did not authenticate (you always need to login before you can use the Apache Felix WebConsole). What is the response you get?

Better question: What is it you are trying to achieve? Maybe there is a better solution, like using the EF-Pi scenario manager.

@athukuria
Copy link
Author

Thanks wilcowijbrandi for the response.
I have used Advanced Rest Client extension in chrome, that did asked for authentication and I did aunthenticated. authorization: Basic YWRtaW46YWRtaW4=

I wanted to work with powermatcher only, currently not using EF-Pi

I am suspect may be the URL is the problem here. Response I am getting is Abort / timeout

Thanks

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

No branches or pull requests

2 participants