Skip to content

Commit e9af884

Browse files
committed
add deprecated message to DocumentConversion readme and constructor
1 parent ef758f2 commit e9af884

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Scripts/Services/DocumentConversion/v1/DocumentConversion.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ public Credentials Credentials
7171
#region Constructor
7272
public DocumentConversion(Credentials credentials)
7373
{
74+
Log.Warning("DocumentConversion", "The Document Conversion service has been deprecated. Please use the Discovery service.");
75+
7476
if (credentials.HasCredentials() || credentials.HasAuthorizationToken())
7577
{
7678
Credentials = credentials;

Scripts/Services/DocumentConversion/v1/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Document Conversion
22

3+
Important: Starting on 11-03-2017, it will no longer be possible to create a new instance of Document Conversion on Bluemix. Existing service instances will be supported until 10-03-2018. To continue using features, you will need to [migrate](https://console.bluemix.net/docs/services/discovery/migrate-dcs-rr.html#migrating-from-watson-document-conversion-and-retrieve-and-rank). Note: May not apply in select Dedicated environments.
4+
35
The IBM Watson™ [Document conversion][document_conversion] service converts a single HTML, PDF, or Microsoft Word™ document into a normalized HTML, plain text, or a set of JSON-formatted Answer units that can be used with other Watson services. Carefully inspect output to make sure that it contains all elements and metadata required by the security standards of you or your organization.
46

57
## Usage

0 commit comments

Comments
 (0)