-
Type:
New Feature
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 9.3
-
Fix Version/s: 10.3
-
Component/s: Connect, nuxeoctl start/stop/admin
-
Sprint:NOS 10.3.8 - end oct, NOS 10.3.9 - mid nov
-
Story Points:3
Now that JSF UI is deprecated in Nuxeo Server 9.3+, we need to offer a way to register an instance offline using Web UI, but also when using a headless server.
TODO
In nuxeoctl
- Add a [to be determined - command - parameter to nuxeoctl register?] to register your instance offline
- Without parameters command should:
- Show the following text:
To register your instance:
1. Visit [org.nuxeo.connect.url taken from nuxeo.conf]/connect/registerInstance
2. Select the project on which you want the instance to be registered and copy the technical identifier found below (CTID):
[CTID]
3. Press return when you are ready to continue. - When pressing return, script prompts for the CLID
Enter the identifier to register your instance:
- If CLID is invalid, error message:
This identifier is invalid.
- prompt again for CLID
- If CLID is valid
- store the CLID
- Display a confirmation message:
Thank you for registering your instance.
Your Nuxeo Online Services is valid until [date].
- If CLID is invalid, error message:
- Command should accept a --clidpath parameter so that people can provide a file as input for the clid
- when using this parameter, instead of prompting for the CLID nuxeoctl should directly store it, check and
- display the final message
- or show
if clid is invalid.Invalid clid provided, please try again.
- when using this parameter, instead of prompting for the CLID nuxeoctl should directly store it, check and
Example:
>nuxeoctl register --offline