Skip to content

Commit

Permalink
Issue OpenRoberta/openroberta-lab#1532: add "rest" to the URL to not …
Browse files Browse the repository at this point in the history
…longer use the deprecated REST API without prefix
  • Loading branch information
bjost2s committed Jul 27, 2023
1 parent 56960c6 commit 1d8e55a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion oraclient-choreographe-app-v5/app/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<package version="1.0.6" uuid="v5_robertalab_connector">
<package version="1.0.8" uuid="v5_robertalab_connector">
<names>
<name lang="en_US">V5 Open Roberta Lab Connector</name>
</names>
Expand Down
2 changes: 1 addition & 1 deletion oraclient-choreographe-app-v5/app/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class RestClient():
DOWNLOAD = 'download'
CONFIGURATION = 'configuration' # not yet used

def __init__(self, token_length=8, lab_address='https://lab.open-roberta.org',
def __init__(self, token_length=8, lab_address='https://lab.open-roberta.org/rest',
firmware_version='v2-1-4-3', robot_name='nao'):
self.working_directory = sys.path[0] + '/'
os.chdir(self.working_directory)
Expand Down
2 changes: 1 addition & 1 deletion oraclient-choreographe-app-v6/app/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<package version="1.0.6" uuid="v6_robertalab_connector">
<package version="1.0.8" uuid="v6_robertalab_connector">
<names>
<name lang="en_US">V6 Open Roberta Lab Connector</name>
</names>
Expand Down
2 changes: 1 addition & 1 deletion oraclient-choreographe-app-v6/app/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class RestClient():
DOWNLOAD = 'download'
CONFIGURATION = 'configuration' # not yet used

def __init__(self, token_length=8, lab_address='https://lab.open-roberta.org',
def __init__(self, token_length=8, lab_address='https://lab.open-roberta.org/rest',
firmware_version='2-8', robot_name='nao'):
self.working_directory = sys.path[0] + '/'
os.chdir(self.working_directory)
Expand Down

0 comments on commit 1d8e55a

Please sign in to comment.