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

added 2 new rules and other changes in db, ingress and deployments #231

Open
wants to merge 11 commits into
base: v0.22.0-old
Choose a base branch
from

Conversation

shubham4443
Copy link
Contributor

No description provided.

@YourTechBud YourTechBud changed the base branch from v0.21.0 to v0.22.0 January 25, 2021 11:49
Copy link
Contributor

@YourTechBud YourTechBud left a comment

Choose a reason for hiding this comment

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

@shubham4443 lets get on a video call where you can demo me what you've done

<Form.Item name='f2' rules={[{ required: true }, { validator: createValueAndTypeValidator(type, true) }]}>
<ObjectAutoComplete placeholder="Second operand" options={autoCompleteOptions} />
</Form.Item>
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this?

@@ -152,7 +152,7 @@ function GraphEditor({ rule, setRule, ruleName, ruleMetaData, isCachingEnabled }
}
return
}
if (selectedRuleObj.rule === "query" || selectedRuleObj.rule === "force" || selectedRuleObj.rule === "remove" || selectedRuleObj.rule === "encrypt" || selectedRuleObj.rule === "decrypt" || selectedRuleObj.rule === "hash") {
if (selectedRuleObj.rule === "query" || selectedRuleObj.rule === "force" || selectedRuleObj.rule === "remove" || selectedRuleObj.rule === "encrypt" || selectedRuleObj.rule === "decrypt" || selectedRuleObj.rule === "hash" || selectedRuleObj.rule === "graphql") {
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont think we need a clause for the graphql rule

@@ -33,7 +33,7 @@ const convertRuleToGraph = (rule, id, parentId) => {
graph.nodes.push({ id: `${id}.clauses.${len}`, label: "+ Add clause", group: "add_rule" })
graph.edges.push({ from: id, to: `${id}.clauses.${len}` })
}
if (rule.rule === "query" || rule.rule === "force" || rule.rule === "remove" || rule.rule === "encrypt" || rule.rule === "decrypt" || rule.rule === "hash") {
if (rule.rule === "query" || rule.rule === "force" || rule.rule === "remove" || rule.rule === "encrypt" || rule.rule === "decrypt" || rule.rule === "hash" || rule.rule === "graphql") {
Copy link
Contributor

Choose a reason for hiding this comment

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

no clause in graphql rule

sharadregoti
sharadregoti previously approved these changes Jan 28, 2021
@sharadregoti
Copy link
Contributor

sharadregoti commented Jan 28, 2021

Following changes were made in this PR

  • Trim spaces at the end and start of the ingress router URL
  • Added 2 new security rules Graphql & Transform
  • Added a clipboard for copying deployed service URL
  • In & Not In operator will multiple values & send them as an array

sharadregoti
sharadregoti previously approved these changes Jan 29, 2021
YourTechBud
YourTechBud previously approved these changes Jan 29, 2021
@shubham4443 shubham4443 dismissed stale reviews from YourTechBud and sharadregoti via 1d482b2 January 30, 2021 17:48
@sharadregoti
Copy link
Contributor

Why there is no autocomplete when I load fields from a variable?
image

@sharadregoti
Copy link
Contributor

2:
JWT claims is a string not object, refer webhook security rule
image

3:
Graphql variables are not mandatory.
image

@sharadregoti
Copy link
Contributor

4:
Request template is not optional in transform security rule
image

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