Web services can be deployed to the K2view Fabric server either using the Fabric Studio or the Fabric Console (offline deployment).
In the Project Tree pane, right click either Web Services, Selected Web Services or Categories of the Web Services to open the Context menu.
Click Deploy to Server to display the K2View Fabric Servers list.
Define that the deployed Fabric server opens the following deployment options:
a. Deploy all Web Services.
b. Deploy select list of categories.
c. Deploy selected list of Web Services, whereby all Web Services related to the selected categories are deployed.
d. Deploy standalone Web Service.
Click for more information about Deploy from Fabric Studio.
Run the DEPLOY command using the following syntax:
DEPLOY ‘k2_ws’ WITH JAR <'jar_path'> ZIP_FILE <'zip path'> WS_METHODS ‘ws1’, ‘ws2’;
Notes:
Click for more information about Offline Deploy.
Each deployment of a Web Service creates a new record in k2_lut_info (k2system keyspace).
Each record maps the deployed Web Service and has its own version.
Fabric gets the latest version of each Web Service.
The deployment of all Web Services creates one k2_ws instance of all methods and deletes previous k2_ws instances in the k2_lut_info table.
Notes:
Run the following query on k2system.k2_lut_info table:
select lut_name, lut_version, properties from k2system.k2_lut_info where lut_name = 'k2_ws’;
See below the results for different scenarios:
| lut_name | lut_version | properties | | -------- | ------------- | --------------- | | k2_ws | 1591772670495 | {'methods': ''} |
| lut_name | lut_version | properties | | -------- | ------------- | ------------------------- | | k2_ws | 1591772947986 | {methods=wsCustomerInfo2} | | k2_ws | 1591772937531 | {methods=wsCustomerInfo} | | k2_ws | 1591772670495 | {'methods': ''} |
| lut_name | lut_version | properties | | -------- | ------------- | --------------- | | k2_ws | 1591773207364 | {'methods': ''} |
Web services can be deployed to the K2view Fabric server either using the Fabric Studio or the Fabric Console (offline deployment).
In the Project Tree pane, right click either Web Services, Selected Web Services or Categories of the Web Services to open the Context menu.
Click Deploy to Server to display the K2View Fabric Servers list.
Define that the deployed Fabric server opens the following deployment options:
a. Deploy all Web Services.
b. Deploy select list of categories.
c. Deploy selected list of Web Services, whereby all Web Services related to the selected categories are deployed.
d. Deploy standalone Web Service.
Click for more information about Deploy from Fabric Studio.
Run the DEPLOY command using the following syntax:
DEPLOY ‘k2_ws’ WITH JAR <'jar_path'> ZIP_FILE <'zip path'> WS_METHODS ‘ws1’, ‘ws2’;
Notes:
Click for more information about Offline Deploy.
Each deployment of a Web Service creates a new record in k2_lut_info (k2system keyspace).
Each record maps the deployed Web Service and has its own version.
Fabric gets the latest version of each Web Service.
The deployment of all Web Services creates one k2_ws instance of all methods and deletes previous k2_ws instances in the k2_lut_info table.
Notes:
Run the following query on k2system.k2_lut_info table:
select lut_name, lut_version, properties from k2system.k2_lut_info where lut_name = 'k2_ws’;
See below the results for different scenarios:
| lut_name | lut_version | properties | | -------- | ------------- | --------------- | | k2_ws | 1591772670495 | {'methods': ''} |
| lut_name | lut_version | properties | | -------- | ------------- | ------------------------- | | k2_ws | 1591772947986 | {methods=wsCustomerInfo2} | | k2_ws | 1591772937531 | {methods=wsCustomerInfo} | | k2_ws | 1591772670495 | {'methods': ''} |
| lut_name | lut_version | properties | | -------- | ------------- | --------------- | | k2_ws | 1591773207364 | {'methods': ''} |