-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Informatica crawler * Add readme * Bump version * Update lock file * tests * Add missing __init__.py * Add more tests * Add more tests * Address comments
- Loading branch information
Showing
30 changed files
with
1,192 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Informatica Connector | ||
|
||
This connector extracts technical metadata from Informatica using [Informatica Intelligent Cloud Services REST API](https://docs.informatica.com/integration-cloud/b2b-gateway/current-version/rest-api-reference/preface.html). | ||
|
||
## Config File | ||
|
||
Create a YAML config file based on the following template. | ||
|
||
### Required Configurations | ||
|
||
```yaml | ||
base_url: <base_url> | ||
user: <username> | ||
password: <password> | ||
``` | ||
### Optional Configurations | ||
#### Output Destination | ||
See [Output Config](../common/docs/output.md) for more information. | ||
## Testing | ||
Follow the [Installation](../../README.md) instructions to install `metaphor-connectors` in your environment (or virtualenv). | ||
|
||
Run the following command to test the connector locally: | ||
|
||
```shell | ||
metaphor informatica <config_file> | ||
``` | ||
|
||
Manually verify the output after the command finishes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from metaphor.common.cli import cli_main | ||
from metaphor.informatica.extractor import InformaticaExtractor | ||
|
||
|
||
def main(config_file: str): | ||
cli_main(InformaticaExtractor, config_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from pydantic.dataclasses import dataclass | ||
|
||
from metaphor.common.base_config import BaseConfig | ||
from metaphor.common.dataclass import ConnectorConfig | ||
|
||
|
||
@dataclass(config=ConnectorConfig) | ||
class InformaticaRunConfig(BaseConfig): | ||
user: str | ||
|
||
password: str | ||
|
||
base_url: str |
Oops, something went wrong.