Skip to content

add debug statements for oauth#5

Merged
mdobson merged 4 commits intoapigee:masterfrom
srinandan:master
Jan 12, 2017
Merged

add debug statements for oauth#5
mdobson merged 4 commits intoapigee:masterfrom
srinandan:master

Conversation

@srinandan
Copy link
Contributor

No description provided.

@srinandan
Copy link
Contributor Author

basic plugin for healthcheck

"url": "git+https://github.com/apigee/microgateway-plugins.git"
},
"author": "srinandan",
"license": "ISC",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to Apache 2?

@srinandan
Copy link
Contributor Author

done

var disable = false;

//method to accumulate responses
function accumulateResponse(res, data) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be here? Or should this plugin be used in conjunction with the accumulate plugins?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The accumulate plugin does not store the content anywhere so it can be accessed by a subsequent plugin. I'm ok if we were to change the accumulate plugin's behaviour and remove this code from here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't pass the full body as the data argument?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, accumulate passes a chunk (when the size is small, it could be the full body).

}

//method to accumulate requests
function accumulateRequest(req, data) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be here? Or should this plugin be used in conjunction with the accumulate plugins?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@mdobson mdobson merged commit b9751ef into apigee:master Jan 12, 2017
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

Successfully merging this pull request may close these issues.

3 participants