This is an example repository that demonstrates how to use the CA API Gateway Developer Plugin.
In order to package the solution into something that can be applied to the CA API Gateway run the following Gradle command:
./gradlew build
In order to run the solution you need to do the following:
- Put a valid gateway license in the
docker
folder. The license file should be calledlicense.xml
. For information on getting a license see the License Section from the Gateway Container readme. - Make sure you have already built the solution by running
./gradlew build
- Start the Gateway Container by running:
docker-compose up
After the container is up and running you can connect the CA API Gateway Policy Manager to it.
If you connect to the running gateway with the CA API Gateway Policy Manager and make changes to the services and policies you can export those changes by running:
./gradlew export
This will export the changes to the various project folders. Note that your local edits will be overridden by changes from the gateway
Contributions are welcome and much appreciated. To learn more, see the Contribution Guidelines.
Copyright (c) 2018 CA. All rights reserved.
This software may be modified and distributed under the terms of the MIT license. See the LICENSE file for details.