Skip to content

Commit

Permalink
Fix reference to test_transform.py, update LICENSE, remove unused ser…
Browse files Browse the repository at this point in the history
…ver key
  • Loading branch information
davidmreed committed Apr 20, 2020
1 parent 616474c commit a3f6b26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2018-2019 David Reed
Copyright 2018-2020 David Reed

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Expand Down
Binary file removed assets/server.key.enc
Binary file not shown.
4 changes: 2 additions & 2 deletions assets/test_data_transforms/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This test data suite is a demonstration of using Amaxa to apply both custom and built-in transformations on data during load and extract operations. A set of example data is included in CSV format and can be loaded to a Salesforce DX scratch org. It's used as part of Amaxa's automated tests, and can also be used to experiment.

The `test.yml` file defines an operation that loads only one sObject (`Account`). It applies two transformations: the `Name` field is lowercased, and a custom transformation (defined in `test_transforms.py`) called `multiply` is applied to the `Description` field. `multiply` takes options in the operation definition, here an integer `count` for how many times to repeat the content of the field.
The `test.yml` file defines an operation that loads only one sObject (`Account`). It applies two transformations: the `Name` field is lowercased, and a custom transformation (defined in `example_transforms.py`) called `multiply` is applied to the `Description` field. `multiply` takes options in the operation definition, here an integer `count` for how many times to repeat the content of the field.

`test_transforms.py` is an example of how to implement your own transform logic for data operations. Note that the operation definition loads this file via the `plugin-modules` key.
`example_transforms.py` is an example of how to implement your own transform logic for data operations. Note that the operation definition loads this file via the `plugin-modules` key.

To try out loading the sample data set, spin up a Salesforce DX scratch org, sandbox, or developer org, and place the credentials in a `credentials.yml` file (an empty template is included). If using a Salesforce DX org, give the org the alias `amaxa`, and use the `credentials-sfdx.yml` file to automatically authenticate into it.

Expand Down

0 comments on commit a3f6b26

Please sign in to comment.