Child pages
  • _Methods to Deploy Projects to Servers

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

TopBraid projects are workspace directories that contain multiple resources, such as asset collections, teamwork settings and working copies, and various configurations, etc. This section describes three methods for deploying projects to a TopBraid Suite server (i.e., EDG, EVN, or TBL) from three different project sources: (1) a TopBraid Composer IDE - Maestro Edition (TBC-ME), (2) a .zip file of a project (directory), or (3) another TopBraid server. The appendix also describes web services calls to create a new collection such as taxonomy or ontology and import a .ttl file into it. 

...

Developers can design and test semantic content and web applications using TBC-ME, and then deploy those projects to a TopBraid (Live) server (i. e., EDG, EVN, TBL). TBC-ME has a custom Export wizard that deploys projects from its workspace into an existing TopBraid server. In TBC-ME, select a project (in a Project Explorer or Navigator view), and then either right-click the project or use File and select Export... > TopBraid Composer > Deploy Project to TopBraid Live Server. 

 

Click next in this wizard:

Check

the NOTEThis should only be used with projects that contain TTL files. If used with a repositories project checking the Overwrite existing project with the same name box will clear the database of triples before uploading. Please zip the project and use the Project Upload feature inside $ProductAbbrevName instead. 

If necessary to send RDBMS files you will need to check the Send necessary connection credentials checkbox  checkbox (to include the database credentials of the RDBMS connection in secured storage). Clicking Finish will Checking Overwrite existing project with the same credentials will replace the destination files and database content with the source files/data and is meant to be used mainly for .ttl files.  Clicking Finish will zip up the entire selected project with all the RDBMS connection files, and other project files, and send it to the server specified in the ‘Server URL’. And it will unzip it at the destination server in the workspace directory.NOTE: This should only be used with projects that contain TTL files. If used with a repositories project checking the Overwrite existing project with the same name box will clear the database of triples before uploading. Please zip the project and use the Project

Upload

...

Upload Project to Server

Users can click the ‘Project Upload’ link from the admin page.

...

  • To create a new $ProductAbbrevName Asset Collection, use the createProjectService by specifying a new asset collection name and new asset collection name space. 

Send this http request to the destination server

...

  • To deploy a project Use unzipProject service to deploy a an entire project (in .zip file) to a destination server. This is the behavior in EDG UI "Send Projects to another server".

create a zip file of the directory of the project first, and send this http request to the destination server

...

  • To delete a project Use deleteProject service to delete a an entire project in the server.

Http requestPOST request
Path$ProductAbbrevLowercase/tbl/deleteProject
Parameters: 
appName${project name}
delNameproject
  • To send triples for a baseURI Use sendTriples service to send triples for a baseURI from the source server to the destination server

send this http request to the source server, this will send triples from the source graph store to the destination server

...