The implementation of a Fabric project can be divided into two steps:
A deployment includes the definition of Fabric objects like the LU Schema, LU Tables, Interfaces, Globals, Project functions, Web Services, Broadway flows, Graphit and Translations and is required whenever these objects are created or modified.
Deployment is needed for any change operated in any of these objects, excluding the migration of source data into the Fabric server. The deployment of a Fabric project is performed on the following levels:
Deployment can be performed either:
When a Fabric object is deployed to the server, the deployment artifacts are created in the /storage/lu directory of the Fabric server – one ludb.jar for each deployment. A folder is created under /storage/lu for each object’s first deployment. For example, when the CRM LU is deployed for the first time, the CRM folder is created under /storage/lu. The /storage/lu/CRM will include the folder named as the deployment time and will include the ludb.jar.
Note that Shared Objects are not independent objects in a project and therefore cannot be deployed as stand-alone items. You must re-deploy the object using the updated Shared Object to make the change in a shared object available in the Fabric server. For example, when an interface is updated, all LU using this interface should be re-deployed to make this change effective.
Only one project can be deployed to each Fabric cluster. If a project has been deployed and an attempt to deploy a different project to the same cluster is made, an error message is displayed.
To check the project’s deployment in the Fabric server, use the SET command from the Fabric console.
set;
This command displays the currently deployed project name, as well as the values of various project parameters.
Click for more information about Fabric Basic Commands.
You can check which objects are deployed in the Fabric server using the Fabric LIST command.
list lut;
list lu_types;
list lut storage=y;
list ws;
list ENVIRONMENTS;
list ENVS;
list BF;
list BROADWAY_FLOWS;
list IGS;
list INSTANCE_GROUPS;
list DB_SOURCES;
Examples:
fabric>list lut storage=y;
|LU_NAME |STORAGE|
+---------------+-------+
|SummaryExercise|Default|
|Customer |Default|
|ORDERS |Default|
|CRM |Default|
Project deployment is reflected in Cassandra as follows:
After the project is deployed to the server, there might be a need to clarify which code has been deployed in a specific environment. For example, if there are many code changes in the project and you need to verify whether a specific change has already been deployed to the server. Fabric supports the creation of a zip file for a selected LU name, so that the implementer can download the code deployed in the environment and check it.
http://[host]:3213/lut?lutName=[luname]&token=[token]
http://[host]:3213/lut?lutName=k2_ws&token=[token]
http://[host]:3213/lut?lutName=k2_ref&token=[token]
The outcome of this command is that ludbXMLs.zip is downloaded to your local machine and can be opened in the Studio.
The implementation of a Fabric project can be divided into two steps:
A deployment includes the definition of Fabric objects like the LU Schema, LU Tables, Interfaces, Globals, Project functions, Web Services, Broadway flows, Graphit and Translations and is required whenever these objects are created or modified.
Deployment is needed for any change operated in any of these objects, excluding the migration of source data into the Fabric server. The deployment of a Fabric project is performed on the following levels:
Deployment can be performed either:
When a Fabric object is deployed to the server, the deployment artifacts are created in the /storage/lu directory of the Fabric server – one ludb.jar for each deployment. A folder is created under /storage/lu for each object’s first deployment. For example, when the CRM LU is deployed for the first time, the CRM folder is created under /storage/lu. The /storage/lu/CRM will include the folder named as the deployment time and will include the ludb.jar.
Note that Shared Objects are not independent objects in a project and therefore cannot be deployed as stand-alone items. You must re-deploy the object using the updated Shared Object to make the change in a shared object available in the Fabric server. For example, when an interface is updated, all LU using this interface should be re-deployed to make this change effective.
Only one project can be deployed to each Fabric cluster. If a project has been deployed and an attempt to deploy a different project to the same cluster is made, an error message is displayed.
To check the project’s deployment in the Fabric server, use the SET command from the Fabric console.
set;
This command displays the currently deployed project name, as well as the values of various project parameters.
Click for more information about Fabric Basic Commands.
You can check which objects are deployed in the Fabric server using the Fabric LIST command.
list lut;
list lu_types;
list lut storage=y;
list ws;
list ENVIRONMENTS;
list ENVS;
list BF;
list BROADWAY_FLOWS;
list IGS;
list INSTANCE_GROUPS;
list DB_SOURCES;
Examples:
fabric>list lut storage=y;
|LU_NAME |STORAGE|
+---------------+-------+
|SummaryExercise|Default|
|Customer |Default|
|ORDERS |Default|
|CRM |Default|
Project deployment is reflected in Cassandra as follows:
After the project is deployed to the server, there might be a need to clarify which code has been deployed in a specific environment. For example, if there are many code changes in the project and you need to verify whether a specific change has already been deployed to the server. Fabric supports the creation of a zip file for a selected LU name, so that the implementer can download the code deployed in the environment and check it.
http://[host]:3213/lut?lutName=[luname]&token=[token]
http://[host]:3213/lut?lutName=k2_ws&token=[token]
http://[host]:3213/lut?lutName=k2_ref&token=[token]
The outcome of this command is that ludbXMLs.zip is downloaded to your local machine and can be opened in the Studio.