Skip to content

Feature remove submodule #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Apr 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.15.3
current_version = 3.0.0
commit = True
message = [skip ci] docs: Update version numbers from {current_version} -> {new_version}

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

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ Docs/publishing-release.md.meta
/Scripts/Editor/Help.meta
*/MRefBuilder.config.meta
node_modules
package-lock.json
package-lock.json
package-lock.json.meta
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ cache:
git:
submodules: false
before_install:
# Use sed to replace the SSH URL with the public URL, then initialize submodules
# - sed -i -e 's/[email protected]:/https:\/\/github.com\//' .gitmodules
# - git submodule update --init --recursive
- chmod a+x ./Travis/installUnity.sh
- npm install -g [email protected]
install:
Expand Down
2 changes: 1 addition & 1 deletion Common/Common.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Common : MonoBehaviour
/// <summary>
/// The SDK version.
/// </summary>
public const string Version = "watson-apis-unity-sdk-2.15.3";
public const string Version = "watson-apis-unity-sdk-3.0.0";
/// <summary>
/// Tracking for onboarding.
/// </summary>
Expand Down
1 change: 0 additions & 1 deletion Core
Submodule Core deleted from 492127
8 changes: 0 additions & 8 deletions Core.meta

This file was deleted.

2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "IBM Watson SDK for Unity"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.15.3
PROJECT_NUMBER = 3.0.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
18 changes: 9 additions & 9 deletions Examples/ExampleAssistantV1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private IEnumerator Examples()
while (!createExampleTested)
yield return null;
// Get Example
service.GetExample(callback: OnGetExample, workspaceId: createdWorkspaceId, intent: updatedIntent, createdExample);
service.GetExample(callback: OnGetExample, workspaceId: createdWorkspaceId, intent: updatedIntent, text: createdExample);
while (!getExampleTested)
yield return null;
// Update Examples
Expand All @@ -229,7 +229,7 @@ private IEnumerator Examples()
while (!createEntityTested)
yield return null;
// Get Entity
service.GetEntity(callback: OnGetEntity, workspaceId: createdWorkspaceId, createdEntity);
service.GetEntity(callback: OnGetEntity, workspaceId: createdWorkspaceId, entity: createdEntity);
while (!getEntityTested)
yield return null;
// Update Entities
Expand Down Expand Up @@ -305,7 +305,7 @@ private IEnumerator Examples()
yield return null;
// List All Logs
var filter = "(language::en,request.context.metadata.deployment::deployment_1)";
service.ListAllLogs(callback: OnListAllLogs, filter);
service.ListAllLogs(callback: OnListAllLogs, filter: filter);
while (!listAllLogsTested)
yield return null;

Expand All @@ -318,7 +318,7 @@ private IEnumerator Examples()
while (!createCounterexampleTested)
yield return null;
// Get Counterexample
service.GetCounterexample(callback: OnGetCounterexample, workspaceId: createdWorkspaceId, createdCounterExampleText);
service.GetCounterexample(callback: OnGetCounterexample, workspaceId: createdWorkspaceId, text: createdCounterExampleText);
while (!getCounterexampleTested)
yield return null;
// Update Counterexamples
Expand All @@ -328,15 +328,15 @@ private IEnumerator Examples()
yield return null;

// Delete Counterexample
service.DeleteCounterexample(callback: OnDeleteCounterexample, workspaceId: createdWorkspaceId, updatedCounterExampleText);
service.DeleteCounterexample(callback: OnDeleteCounterexample, workspaceId: createdWorkspaceId, text: updatedCounterExampleText);
while (!deleteCounterexampleTested)
yield return null;
// Delete Dialog Node
service.DeleteDialogNode(callback: OnDeleteDialogNode, workspaceId: createdWorkspaceId, updatedDialogNodeName);
service.DeleteDialogNode(callback: OnDeleteDialogNode, workspaceId: createdWorkspaceId, dialogNode: updatedDialogNodeName);
while (!deleteDialogNodeTested)
yield return null;
// Delete Synonym
service.DeleteSynonym(callback: OnDeleteSynonym, workspaceId: createdWorkspaceId, entity: updatedEntity, value: updatedValue, updatedSynonym);
service.DeleteSynonym(callback: OnDeleteSynonym, workspaceId: createdWorkspaceId, entity: updatedEntity, value: updatedValue, synonym: updatedSynonym);
while (!deleteSynonymTested)
yield return null;
// Delete Value
Expand All @@ -348,7 +348,7 @@ private IEnumerator Examples()
while (!deleteEntityTested)
yield return null;
// Delete Example
service.DeleteExample(callback: OnDeleteExample, workspaceId: createdWorkspaceId, intent: updatedIntent, updatedExample);
service.DeleteExample(callback: OnDeleteExample, workspaceId: createdWorkspaceId, intent: updatedIntent, text: updatedExample);
while (!deleteExampleTested)
yield return null;
// Delete Intent
Expand Down Expand Up @@ -665,7 +665,7 @@ private void OnListWorkspaces(DetailedResponse<WorkspaceCollection> response, IB
foreach (Workspace workspace in response.Result.Workspaces)
{
if (workspace.Name.Contains("unity"))
service.DeleteWorkspace(callback: OnDeleteWorkspace, workspace.WorkspaceId);
service.DeleteWorkspace(callback: OnDeleteWorkspace, workspaceId: workspace.WorkspaceId);
}

listWorkspacesTested = true;
Expand Down
Loading