Skip to content

Commit

Permalink
fix: fixed policy naming & gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
anaik91 committed Aug 30, 2023
1 parent 4590268 commit a56f446
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
.vscode
.DS_Store
*.jar
!edge-custom-policy-java-hello.jar
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<AssignMessage name="set-json-response">
<AssignMessage name="AM-Set-Json-Response">
<Set>
<Payload contentType="application/json">{
"host":"{request.header.host_name}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<JavaCallout continueOnError="false" enabled="true" name="JC1">
<DisplayName>JC1</DisplayName>
<JavaCallout continueOnError="false" enabled="true" name="JC-Port-Open-Check">
<DisplayName>JC-Port-Open-Check</DisplayName>
<Properties/>
<ClassName>com.apigeesample.PortOpenCheck</ClassName>
<ResourceURL>java://edge-custom-policy-java-hello.jar</ResourceURL>
Expand Down
4 changes: 2 additions & 2 deletions tools/target-server-validator/apiproxy/proxies/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<PreFlow name="PreFlow">
<Request>
<Step>
<Name>JC1</Name>
<Name>JC-Port-Open-Check</Name>
</Step>
</Request>
<Response>
<Step>
<Name>set-json-response</Name>
<Name>AM-Set-Json-Response</Name>
</Step>
</Response>
</PreFlow>
Expand Down

0 comments on commit a56f446

Please sign in to comment.