Skip to content

Commit

Permalink
chore: add copyright headers on README files
Browse files Browse the repository at this point in the history
  • Loading branch information
micovery committed Apr 17, 2024
1 parent f4c1ef0 commit 20579ff
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:#www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

/*.json
/*.yaml
/*.iml
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
<!--
Copyright 2024 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
# Apigee Go Gen

[![Go Report Card](https://goreportcard.com/badge/github.com/micovery/apigee-yaml-toolkit)](https://goreportcard.com/report/github.com/micovery/apigee-yaml-toolkit)
Expand Down
18 changes: 17 additions & 1 deletion docs/policies.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
<!--
Copyright 2024 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

## Apigee Policies

All Apigee policies are supported, but there is no schema validation on the policies.

You can copy policy XML from the Apigee docs, or from the Apigee UI, and then use
the `xml2yaml` tool to generate the equivalent YAML.
the `xml-to-yaml` command to generate the equivalent YAML.


## Apigee policies sample YAMLs
Expand Down
16 changes: 16 additions & 0 deletions docs/rules.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<!--
Copyright 2024 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

## Transform rules

When generating YAML from XML (or XML from YAML) the following basic rules are used:
Expand Down

0 comments on commit 20579ff

Please sign in to comment.