Skip to content

Commit d53e078

Browse files
authored
Merge pull request #552 from watson-developer-cloud/feature-remove-submodule
Feature remove submodule
2 parents 08a996e + 70c66f5 commit d53e078

File tree

11 files changed

+173
-76
lines changed

11 files changed

+173
-76
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.15.3
2+
current_version = 3.0.0
33
commit = True
44
message = [skip ci] docs: Update version numbers from {current_version} -> {new_version}
55

@@ -8,3 +8,4 @@ message = [skip ci] docs: Update version numbers from {current_version} -> {new_
88
[bumpversion:file:Common/Common.cs]
99
search = {current_version}
1010
replace = {new_version}
11+

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,5 @@ Docs/publishing-release.md.meta
7979
/Scripts/Editor/Help.meta
8080
*/MRefBuilder.config.meta
8181
node_modules
82-
package-lock.json
82+
package-lock.json
83+
package-lock.json.meta

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ cache:
1212
git:
1313
submodules: false
1414
before_install:
15-
# Use sed to replace the SSH URL with the public URL, then initialize submodules
16-
# - sed -i -e 's/[email protected]:/https:\/\/github.com\//' .gitmodules
17-
# - git submodule update --init --recursive
1815
- chmod a+x ./Travis/installUnity.sh
1916
- npm install -g [email protected]
2017
install:

Common/Common.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Common : MonoBehaviour
2626
/// <summary>
2727
/// The SDK version.
2828
/// </summary>
29-
public const string Version = "watson-apis-unity-sdk-2.15.3";
29+
public const string Version = "watson-apis-unity-sdk-3.0.0";
3030
/// <summary>
3131
/// Tracking for onboarding.
3232
/// </summary>

Core

Lines changed: 0 additions & 1 deletion
This file was deleted.

Core.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "IBM Watson SDK for Unity"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.15.3
41+
PROJECT_NUMBER = 3.0.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

Examples/ExampleAssistantV1.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private IEnumerator Examples()
211211
while (!createExampleTested)
212212
yield return null;
213213
// Get Example
214-
service.GetExample(callback: OnGetExample, workspaceId: createdWorkspaceId, intent: updatedIntent, createdExample);
214+
service.GetExample(callback: OnGetExample, workspaceId: createdWorkspaceId, intent: updatedIntent, text: createdExample);
215215
while (!getExampleTested)
216216
yield return null;
217217
// Update Examples
@@ -229,7 +229,7 @@ private IEnumerator Examples()
229229
while (!createEntityTested)
230230
yield return null;
231231
// Get Entity
232-
service.GetEntity(callback: OnGetEntity, workspaceId: createdWorkspaceId, createdEntity);
232+
service.GetEntity(callback: OnGetEntity, workspaceId: createdWorkspaceId, entity: createdEntity);
233233
while (!getEntityTested)
234234
yield return null;
235235
// Update Entities
@@ -305,7 +305,7 @@ private IEnumerator Examples()
305305
yield return null;
306306
// List All Logs
307307
var filter = "(language::en,request.context.metadata.deployment::deployment_1)";
308-
service.ListAllLogs(callback: OnListAllLogs, filter);
308+
service.ListAllLogs(callback: OnListAllLogs, filter: filter);
309309
while (!listAllLogsTested)
310310
yield return null;
311311

@@ -318,7 +318,7 @@ private IEnumerator Examples()
318318
while (!createCounterexampleTested)
319319
yield return null;
320320
// Get Counterexample
321-
service.GetCounterexample(callback: OnGetCounterexample, workspaceId: createdWorkspaceId, createdCounterExampleText);
321+
service.GetCounterexample(callback: OnGetCounterexample, workspaceId: createdWorkspaceId, text: createdCounterExampleText);
322322
while (!getCounterexampleTested)
323323
yield return null;
324324
// Update Counterexamples
@@ -328,15 +328,15 @@ private IEnumerator Examples()
328328
yield return null;
329329

330330
// Delete Counterexample
331-
service.DeleteCounterexample(callback: OnDeleteCounterexample, workspaceId: createdWorkspaceId, updatedCounterExampleText);
331+
service.DeleteCounterexample(callback: OnDeleteCounterexample, workspaceId: createdWorkspaceId, text: updatedCounterExampleText);
332332
while (!deleteCounterexampleTested)
333333
yield return null;
334334
// Delete Dialog Node
335-
service.DeleteDialogNode(callback: OnDeleteDialogNode, workspaceId: createdWorkspaceId, updatedDialogNodeName);
335+
service.DeleteDialogNode(callback: OnDeleteDialogNode, workspaceId: createdWorkspaceId, dialogNode: updatedDialogNodeName);
336336
while (!deleteDialogNodeTested)
337337
yield return null;
338338
// Delete Synonym
339-
service.DeleteSynonym(callback: OnDeleteSynonym, workspaceId: createdWorkspaceId, entity: updatedEntity, value: updatedValue, updatedSynonym);
339+
service.DeleteSynonym(callback: OnDeleteSynonym, workspaceId: createdWorkspaceId, entity: updatedEntity, value: updatedValue, synonym: updatedSynonym);
340340
while (!deleteSynonymTested)
341341
yield return null;
342342
// Delete Value
@@ -348,7 +348,7 @@ private IEnumerator Examples()
348348
while (!deleteEntityTested)
349349
yield return null;
350350
// Delete Example
351-
service.DeleteExample(callback: OnDeleteExample, workspaceId: createdWorkspaceId, intent: updatedIntent, updatedExample);
351+
service.DeleteExample(callback: OnDeleteExample, workspaceId: createdWorkspaceId, intent: updatedIntent, text: updatedExample);
352352
while (!deleteExampleTested)
353353
yield return null;
354354
// Delete Intent
@@ -665,7 +665,7 @@ private void OnListWorkspaces(DetailedResponse<WorkspaceCollection> response, IB
665665
foreach (Workspace workspace in response.Result.Workspaces)
666666
{
667667
if (workspace.Name.Contains("unity"))
668-
service.DeleteWorkspace(callback: OnDeleteWorkspace, workspace.WorkspaceId);
668+
service.DeleteWorkspace(callback: OnDeleteWorkspace, workspaceId: workspace.WorkspaceId);
669669
}
670670

671671
listWorkspacesTested = true;

0 commit comments

Comments
 (0)