Page History
...
For more information about the 2.4 updates, refer to the caNanoLab 2.4 Release Note - 2021-06-24.
Open Source Technologies
...
Downloads for caNanoLab are available at the caNanoLab GitHub Repository:(TBD: Need 2.4 info.)
https://github.com/CBIIT/cananolab/tree/cananolab-2.2-it-11releases
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
Download the following file:
(TBD: Need 2.4 info.)
https://github.com/CBIIT/cananolab/archive/cananolab-refs/tags/2.34.10-it-07qa6.zip
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
Installation and Deployment
(TBD: Need 2.4 info.)
Step 1.
...
To migrate from caNanoLab 2.3
...
to caNanoLab 2.
...
4
a Execute the following script:
https://github.com/CBIIT/cananolab/blob/cananolab-2.3-it-114.0-qa6/software/cananolab-webapp/db-scripts/2.3/caNanoLab224.0/db_update_2.4.0.sql
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
# | Action | |||||
---|---|---|---|---|---|---|
1 | Set up an environment variable JBOSS_HOME to point to the Wildfly installation directory.
| |||||
2 | Execute the Ant build script build.xml located at <CANANOLAB_SOURCE>/software/cananolab-webapp/build.xml with the target dist. Example: Issue the following commands to execute the Ant script:
Successful execution of the Ant script generates the following artifacts that include two deployable web archive war files, configuration files and libraries for running the web application in the Wildfly environment, and also places these artifacts in the appropriate directories under <JBOSS_HOME>. Artifacts generated are also available in the following folder under <CANANOLAB_SOURCE>:
| |||||
3 | We recommend increasing the JBoss JVM heap size to 2G bytes and permanent generation (permgen) memory space to 256M bytes by updating the file <JBOSS_HOME>/bin/standalone.conf with the following JAVA_OPTS:
This configuration file is read when Wildfly server starts. For a standalone server, pass in the JVM settings either as command line arguments when executing the | |||||
4 | Create a new directory structure
Create a new directory structure
| |||||
5 | Start JBoss application server in Standalone mode. From
The cli scripts assumes the CLI port is running at 19990. If it is different, update the port number at the second line in the script. For Windows environment:
For Linux environment:
Run the remaining After successful completion, the following output appears in the window.
|
...
The migration of access control data has been implemented as a series of REST services. These services must be invoked in the following order for all access data to be migrated from CSM to Spring Security.
# | Action | ||||||||
---|---|---|---|---|---|---|---|---|---|
1 | Migrates all user accounts and grants them all the default Public role and Curator role to curators in CSM. http://localhost:8080/caNanoLab/rest/datamigration/migrateuseraccounts
| ||||||||
2 | Migrates all access for samples - RWD access for owner and curator, R access for researcher, RWD and R access for specific users. http://localhost:8080/caNanoLab/rest/datamigration/migratesampleaccess
| ||||||||
3 | Migrates all access for protocols - RWD access for owner and curator, R access for researcher, RWD and R access for specific users. http://localhost:8080/caNanoLab/rest/datamigration/migrateprotocolaccess
| ||||||||
4 | Migrates all access for publications - RWD access for owner and curator, R access for researcher, RWD and R access for specific users. http://localhost:8080/caNanoLab/rest/datamigration/migratepublicationaccess
| ||||||||
5 | Adds all charaterizations to the ACL tables and sets them up with the corresponding sample as parent objects. This sets up the characterizations to inherit the access of their sample. http://localhost:8080/caNanoLab/rest/datamigration/migratecharaccess
| ||||||||
6 | Migrates all organizations to ACL tables and grant public access. Also, sets up inheritance of access for POCs of organizations. http://localhost:8080/caNanoLab/rest/datamigration/migratesamplesourceaccess Multiexcerpt include | | |||||||
MultiExcerptName | ExitDisclaimer | ||||||||
nopanel | true | PageWithExcerpt | wikicontent:Exit Disclaimer to Include
c Restart the application server after the above step to migrate data is completed.
...