Skip to content

Commit

Permalink
Merge pull request #42 from UFGInsurance/bill/remove-dataweave-parsing
Browse files Browse the repository at this point in the history
Remove DataWeave validation
  • Loading branch information
TrueWill authored Nov 16, 2018
2 parents 20f6af1 + f245388 commit d25f1c4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 68 deletions.
4 changes: 1 addition & 3 deletions folderParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const folderParser = apiBasePath => {
"api.Development.properties"
);
const log4jFile = path.join(resourcesFolder, "log4j2.xml");
const dataWeaveFiles = glob.sync(path.join(resourcesFolder, "**", "*.dwl"));

if (!fs.existsSync(projectFolder)) {
error.fatal(`Project folder "${projectFolder}" not found`);
Expand Down Expand Up @@ -118,8 +117,7 @@ const folderParser = apiBasePath => {
resourcesFolder,
localPropertiesFile,
serverPropertiesFile,
log4jFile,
dataWeaveFiles
log4jFile
};
};

Expand Down
4 changes: 1 addition & 3 deletions mulint.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ const validateImplementation = require("./validateImplementation");
const validateGitignore = require("./validateGitignore");
const validateProperties = require("./validateProperties");
const validateLog4j = require("./validateLog4j");
const validateDataWeaveFiles = require("./validateDataWeaveFiles");
const assert = require("./assert");

program
.version("1.4.0")
.version("1.5.0")
.description("Mule project linter")
.arguments("<apiBasePath>")
.on("--help", () => {
Expand All @@ -39,7 +38,6 @@ program
validateGitignore(folderInfo);
validateProperties(folderInfo, pomInfo);
validateLog4j(folderInfo);
validateDataWeaveFiles(folderInfo);

reporter.printSummary(assert.failures);
})
Expand Down
62 changes: 0 additions & 62 deletions validateDataWeaveFiles.js

This file was deleted.

0 comments on commit d25f1c4

Please # to comment.