Including an adapter in Traffic Manager
6.3.0 and later
Use the deploy-adapter script to deploy the adapter into the TrafficManager assemblies.
Procedure
-
Grant execute permission to the script. This is required only the first time you run the script.
$ chmod +x deploy-adapter.sh -
Run the script, specifying the policies directory and the adapter name.
$ ./deploy-adapter.sh --policies-dir '<path-to-assemblies>/cam-le-policies' --adapter-name '<YourAdapterName>'For example:
$ ./deploy-adapter.sh --policies-dir '../assemblies/cam-le-policies' --adapter-name 'MasheryAdapters'This deploys the adapter to
assemblies/cam-le-policies/adapters/<YourAdapterName>, including the adapter JAR and any third-party library JARs from thelibdirectory.
6.2.0 and earlier
Copy the customer-extension.zip to the assemblies folder.
$ cp MasheryLocalSDK/dist/customer-extension.zip assemblies/