Skip to content

Commit

Permalink
Remove the deprecated Machine Learning component (#1192)
Browse files Browse the repository at this point in the history
* Remove the Machine Learning component

* Remove machine learning functional tests
  • Loading branch information
carterworks authored Oct 2, 2024
1 parent f11a4cd commit 22ebb10
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 134 deletions.
1 change: 0 additions & 1 deletion scripts/helpers/runFunctionalTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ fs.readFile("dist/alloy.js", "utf8", (readFileErr, alloyData) => {
privacy: "Privacy",
eventMerge: "EventMerge",
libraryInfo: "LibraryInfo",
machineLearning: "MachineLearning",
decisioningEngine: "DecisioningEngine",
};

Expand Down
26 changes: 0 additions & 26 deletions src/components/MachineLearning/index.js

This file was deleted.

16 changes: 0 additions & 16 deletions src/components/MachineLearning/processResponse.js

This file was deleted.

1 change: 0 additions & 1 deletion src/core/componentCreators.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export { default as context } from "../components/Context/index.js";
export { default as decisioningEngine } from "../components/DecisioningEngine/index.js";
export { default as eventMerge } from "../components/EventMerge/index.js";
export { default as legacyMediaAnalytics } from "../components/LegacyMediaAnalytics/index.js";
export { default as machineLearning } from "../components/MachineLearning/index.js";
export { default as personalization } from "../components/Personalization/index.js";
export { default as privacy } from "../components/Privacy/index.js";
export { default as streamingMedia } from "../components/StreamingMedia/index.js";
33 changes: 0 additions & 33 deletions test/functional/specs/Machine Learning/C4266607.js

This file was deleted.

1 change: 0 additions & 1 deletion test/integration/customBuildSize.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const components = [
"personalization",
"eventmerge",
"decisioningengine",
"machinelearning",
];

// Run tests for all components
Expand Down
52 changes: 0 additions & 52 deletions test/unit/specs/components/MachineLearning/processResponse.spec.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ describe("mergeLifecycleResponses", () => {
destinations: [],
},
null,
{
inferences: [],
},
],
[
{
Expand Down Expand Up @@ -76,7 +73,6 @@ describe("mergeLifecycleResponses", () => {
]),
).toEqual({
destinations: [],
inferences: [],
propositions: [
{
renderAttempted: true,
Expand Down

0 comments on commit 22ebb10

Please sign in to comment.