apigee-templater-module
Advanced tools
Comparing version 0.4.2 to 0.4.3
@@ -32,3 +32,3 @@ "use strict"; | ||
<RouteRule name="default"> | ||
<TargetEndpoint>default</TargetEndpoint> | ||
<TargetEndpoint>{{targetName}}</TargetEndpoint> | ||
</RouteRule> | ||
@@ -40,3 +40,3 @@ </ProxyEndpoint>`; | ||
return new Promise((resolve, reject) => { | ||
fs_1.default.writeFileSync(outputDir + "/proxies/default" + ".xml", this.template({ basePath: inputConfig.basePath, pf_rq_policies: processingVars["pf_rq_policies"] })); | ||
fs_1.default.writeFileSync(outputDir + "/proxies/default" + ".xml", this.template({ basePath: inputConfig.basePath, targetName: inputConfig.targetName, pf_rq_policies: processingVars["pf_rq_policies"] })); | ||
resolve(true); | ||
@@ -43,0 +43,0 @@ }); |
@@ -8,2 +8,4 @@ "use strict"; | ||
const proxies_plugin_1 = require("./plugins/proxies.plugin"); | ||
const targets_plugin_1 = require("./plugins/targets.plugin"); | ||
const auth_sf_plugin_1 = require("./plugins/auth.sf.plugin"); | ||
const archiver_1 = __importDefault(require("archiver")); | ||
@@ -16,6 +18,6 @@ const fs_1 = __importDefault(require("fs")); | ||
// new AuthApiKeyPlugin(), | ||
// new AuthSfPlugin(), | ||
new auth_sf_plugin_1.AuthSfPlugin(), | ||
// new QuotaPlugin(), | ||
// Then targets, endpoints and manifest | ||
// new TargetsPlugin(), | ||
new targets_plugin_1.TargetsPlugin(), | ||
new proxies_plugin_1.ProxiesPlugin(), | ||
@@ -22,0 +24,0 @@ // new ManifestPlugin() |
{ | ||
"name": "apigee-templater-module", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "This library provides templating services for Apigee X proxies.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21636
27
324
7