-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: ryannikolaidis <[email protected]>
- Loading branch information
1 parent
024bd98
commit b36520c
Showing
48 changed files
with
90 additions
and
74 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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
```python Python | ||
import os | ||
|
||
from unstructured.ingest.connector.confluence import ConfluenceAccessConfig, SimpleConfluenceConfig | ||
from unstructured.ingest.interfaces import PartitionConfig, ProcessorConfig, ReadConfig | ||
from unstructured.ingest.runner import ConfluenceRunner | ||
|
@@ -16,9 +18,9 @@ if __name__ == "__main__": | |
), | ||
connector_config=SimpleConfluenceConfig( | ||
access_config=ConfluenceAccessConfig( | ||
api_token="ABCDE1234ABDE1234ABCDE1234", | ||
api_token=os.getenv("CONFLUENCE_API_TOKEN"), | ||
), | ||
user_email="[email protected]", | ||
user_email=os.getenv("CONFLUENCE_USER_EMAIL"), | ||
url="https://unstructured-ingest-test.atlassian.net", | ||
), | ||
) | ||
|
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 |
---|---|---|
|
@@ -5,8 +5,8 @@ unstructured-ingest \ | |
confluence \ | ||
--metadata-exclude filename,file_directory,metadata.data_source.date_processed \ | ||
--url https://unstructured-ingest-test.atlassian.net \ | ||
--user-email [email protected] \ | ||
--api-token ABCDE1234ABDE1234ABCDE1234 \ | ||
--user-email "$CONFLUENCE_USER_EMAIL" \ | ||
--api-token "$CONFLUENCE_API_TOKEN" \ | ||
--output-dir confluence-ingest-output \ | ||
--num-processes 2 | ||
``` |
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 |
---|---|---|
|
@@ -20,9 +20,9 @@ if __name__ == "__main__": | |
), | ||
connector_config=SimpleConfluenceConfig( | ||
access_config=ConfluenceAccessConfig( | ||
api_token="ABCDE1234ABDE1234ABCDE1234", | ||
api_token=os.getenv("CONFLUENCE_API_TOKEN"), | ||
), | ||
user_email="[email protected]", | ||
user_email=os.getenv("CONFLUENCE_USER_EMAIL"), | ||
url="https://unstructured-ingest-test.atlassian.net", | ||
), | ||
) | ||
|
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 |
---|---|---|
|
@@ -5,10 +5,10 @@ unstructured-ingest \ | |
confluence \ | ||
--metadata-exclude filename,file_directory,metadata.data_source.date_processed \ | ||
--url https://unstructured-ingest-test.atlassian.net \ | ||
--user-email [email protected] \ | ||
--api-token ABCDE1234ABDE1234ABCDE1234 \ | ||
--user-email "$CONFLUENCE_USER_EMAIL" \ | ||
--api-token "$CONFLUENCE_API_TOKEN" \ | ||
--output-dir confluence-ingest-output \ | ||
--num-processes 2 \ | ||
--partition-by-api \ | ||
--api-key "<UNSTRUCTURED-API-KEY>" | ||
--api-key "$UNSTRUCTURED_API_KEY" | ||
``` |
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
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
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
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
```python Python | ||
import os | ||
|
||
from unstructured.ingest.connector.jira import JiraAccessConfig, SimpleJiraConfig | ||
from unstructured.ingest.interfaces import PartitionConfig, ProcessorConfig, ReadConfig | ||
from unstructured.ingest.runner import JiraRunner | ||
|
@@ -15,9 +17,9 @@ if __name__ == "__main__": | |
metadata_exclude=["filename", "file_directory", "metadata.data_source.date_processed"], | ||
), | ||
connector_config=SimpleJiraConfig( | ||
access_config=JiraAccessConfig(api_token="ABCDE1234ABDE1234ABCDE1234"), | ||
url="https://unstructured-jira-connector-test.atlassian.net", | ||
user_email="[email protected]", | ||
access_config=JiraAccessConfig(api_token=os.getenv("JIRA_API_TOKEN")), | ||
url=os.getenv("JIRA_URL"), | ||
user_email=os.getenv("JIRA_EMAIL"), | ||
), | ||
) | ||
runner.run() | ||
|
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 |
---|---|---|
|
@@ -19,9 +19,9 @@ if __name__ == "__main__": | |
api_key=os.getenv("UNSTRUCTURED_API_KEY"), | ||
), | ||
connector_config=SimpleJiraConfig( | ||
access_config=JiraAccessConfig(api_token="ABCDE1234ABDE1234ABCDE1234"), | ||
url="https://unstructured-jira-connector-test.atlassian.net", | ||
user_email="[email protected]", | ||
access_config=JiraAccessConfig(api_token=os.getenv("JIRA_API_TOKEN")), | ||
url=os.getenv("JIRA_URL"), | ||
user_email=os.getenv("JIRA_EMAIL"), | ||
), | ||
) | ||
runner.run() | ||
|
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
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
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
Oops, something went wrong.