1.1.12 • Published 9 months ago

dubhe-sdk-delegate v1.1.12

Weekly downloads
-
License
Unlicense
Repository
-
Last release
9 months ago

dubhe-sdk-delegate

dubhe-sdk-delegate - JavaScript client for dubhe delegate service

  • Package version: 1.1.12, generate by kosmos-dubhe-sdk-generator@1.2.17
  • Build date: 2024-03-13 17:40:36

For more information, please visit http://www.billion-byte.com

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install dubhe-sdk-delegate --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your dubhe-sdk-delegate from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

Getting Started

Please follow the installation instruction and execute the following JS code:

import { CacheApiControllerApi } from 'dubhe-sdk-delegate';

const api = new CacheApiControllerApi(ApiContext.getInstance());
const businessType = "businessType_example"; // {String} 系统编码
var opts = {
  'categoryCode': "categoryCode_example" // {String} categoryCode
};
try {
  const {data} = await api.fetchCmCodeItemBusiByBusinessTypeAndCategoryCodeMT(businessType, opts);
} catch(error) {
  console.error(error);
}

API Endpoints

All URIs are relative to http://139.3.24.189:28790/DELEGATE

ClassMethodHTTP requestDescription
CacheApiControllerApifetchCmCodeItemBusiByBusinessTypeAndCategoryCodeMTGET /rest/delegate/cache/fetchCmCodeItemBusiByBusinessTypeAndCategoryCodeMT通过businessType查询业务码值
CacheApiControllerApifetchProdNameByProdCodeListMTPOST /rest/delegate/cache/fetchProdNameByProdCodeListMTprodCode获取产品名称
ClockControllerApicheckClockGET /rest/delegate/clock/check/{clientTime}对表
ClockControllerApicheckClockSm2GET /rest/delegate/clock/checkClockSm2/{clientTime}对表SM2
CmDbParamConfigControllerApidisableCmDbParamConfigPUT /rest/delegate/cmDbParamConfig/disable禁用数据库参数管理
CmDbParamConfigControllerApienableCmDbParamConfigPUT /rest/delegate/cmDbParamConfig/enable启用数据库参数管理
CmDbParamConfigControllerApifetchCmDbParamConfigDetailGET /rest/delegate/cmDbParamConfig/detail获取数据库参数管理详细
CmDbParamConfigControllerApifetchCmDbParamConfigListGET /rest/delegate/cmDbParamConfig/list获取数据库参数管理列表
CmDbParamConfigControllerApifetchCmDbParamConfigListItemsGET /rest/delegate/cmDbParamConfig/listItems获取数据库参数管理列表
CmDbParamConfigControllerApiremoveCmDbParamConfigDELETE /rest/delegate/cmDbParamConfig/remove删除数据库参数管理
CmDbParamConfigControllerApisaveCmDmParamConfigPOST /rest/delegate/cmDbParamConfig/save保存系统参数管理
CmDbParamConfigControllerApiupdateCmDbParamConfigPATCH /rest/delegate/cmDbParamConfig/update更新数据库参数管理
CmDbParamConfigControllerApiupdateForceCmDbParamConfigPUT /rest/delegate/cmDbParamConfig/updateForce刷新数据库参数管理
CmDbParamGroupControllerApidisableCmDbParamGroupPUT /rest/delegate/cmDbParamGroup/disable禁用数据库参数分组
CmDbParamGroupControllerApienableCmDbParamGroupPUT /rest/delegate/cmDbParamGroup/enable启用数据库参数分组
CmDbParamGroupControllerApifetchCmDbParamGroupDetailGET /rest/delegate/cmDbParamGroup/detail获取数据库参数分组详细
CmDbParamGroupControllerApifetchCmDbParamGroupListGET /rest/delegate/cmDbParamGroup/list获取数据库参数分组列表
CmDbParamGroupControllerApiremoveCmDbParamGroupDELETE /rest/delegate/cmDbParamGroup/remove删除数据库参数分组
CmDbParamGroupControllerApisaveCmDbParamGroupPOST /rest/delegate/cmDbParamGroup/save保存数据库参数分组
CmDbParamGroupControllerApiupdateCmDbParamGroupPATCH /rest/delegate/cmDbParamGroup/update更新数据库参数分组
CmDbParamGroupControllerApiupdateForceCmDbParamGroupPUT /rest/delegate/cmDbParamGroup/updateForce刷新数据库参数分组
CmDbParamGroupTlpControllerApibindDbParamGroupPUT /rest/delegate/cmDbParamGroupTlp/bindParamGroup通过groupCode绑定参数分组
CmDbParamGroupTlpControllerApidisableCmDbParamGroupTlpPUT /rest/delegate/cmDbParamGroupTlp/disable/{id}禁用参数分组关系
CmDbParamGroupTlpControllerApienableCmDbParamGroupTlpPUT /rest/delegate/cmDbParamGroupTlp/enable/{id}启用参数分组关系
CmDbParamGroupTlpControllerApifetchCmDbParamGroupTlpDetailGET /rest/delegate/cmDbParamGroupTlp/detail/{id}获取参数分组关系详细
CmDbParamGroupTlpControllerApifetchCmDbParamGroupTlpListGET /rest/delegate/cmDbParamGroupTlp/list获取参数分组关系列表
CmDbParamGroupTlpControllerApiremoveCmDbParamGroupTlpDELETE /rest/delegate/cmDbParamGroupTlp/remove/{id}删除参数分组关系
CmDbParamGroupTlpControllerApisaveCmDbParamGroupTlpPOST /rest/delegate/cmDbParamGroupTlp/save保存参数分组关系
CmDbParamGroupTlpControllerApiunBindDbParamGroupDELETE /rest/delegate/cmDbParamGroupTlp/unBindParamGroup通过groupCode解绑参数分组
CmDbParamGroupTlpControllerApiupdateCmDbParamGroupTlpPATCH /rest/delegate/cmDbParamGroupTlp/update更新参数分组关系
CmDbParamGroupTlpControllerApiupdateForceCmDbParamGroupTlpPUT /rest/delegate/cmDbParamGroupTlp/updateForce刷新参数分组关系
CmGisControllerApifetchGisDetailGET /rest/delegate/gis/fetchGisDetailGIS详情
CmGisControllerApifetchGisListPOST /rest/delegate/gis/fetchGisListGIS列表
DiscoveryControllerApiallApplicationGET /rest/delegate/discovery/allApplicationallApplication
DiscoveryControllerApidiscoveryServiceGET /rest/delegate/discovery/discoveryService/{serviceName}discoveryService
MidletApiControllerApidoExpressOpenPOST /rest/delegate/midlet/doExpress表达式
MidletApiControllerApifetchAreaBySysConfigGET /rest/delegate/midlet/fetchAreaBySysConfig通过配置获取区域
MidletApiControllerApifetchCmAreaInfoByAreaCodeMTGET /rest/delegate/midlet/fetchCmAreaInfoByAreaCodeMT获取区域列表
MidletApiControllerApifetchCmAreaInfoByAreaLevelMTGET /rest/delegate/midlet/fetchCmAreaInfoByAreaLevelMT获取区域列表
MidletApiControllerApifetchCmAreaInfoLikeAreaCodeMTGET /rest/delegate/midlet/fetchCmAreaInfoLikeAreaCodeMT获取区域列表
MidletApiControllerApifetchCmCodeItemByCategoryCodeListMTPOST /rest/delegate/midlet/fetchCmCodeItemByCategoryCodeListMT通过CategoryCodes查询公共码值
MidletApiControllerApifetchFullCmAreaGET /rest/delegate/midlet/fetchFullCmArea获取区域上级
MidletApiControllerApigenCodeMTGET /rest/delegate/midlet/genCodeMT根据编码规则生成唯一code
MidletApiControllerApisaveCmCodeRuleMTPOST /rest/delegate/midlet/saveCmCodeRuleMT新建编码规则
MockCacheControllerApidoMockCacheGET /rest/delegate/mockCache/doMockCachedoMockCache
OriginApiControllerApifetchCmCustomerConfigListGET /rest/delegate/origin/customerConfigList获取cm_customer_config列表
OriginApiControllerApifetchCmPlatformListOrgGET /rest/delegate/origin/fetchCmPlatformListOrg获取平台信息表列表信息
OriginApiControllerApifetchCurrentUserAvatarOrgGET /rest/delegate/origin/fetchCurrentUserAvatarOrg获取系统用户头像
OriginApiControllerApifetchOrgDptCacheListOrgGET /rest/delegate/origin/fetchOrgDptCacheListOrg获取部门机构缓存信息
OriginApiControllerApifetchSysApplicationCacheListOrgGET /rest/delegate/origin/fetchSysApplicationCacheListOrg获取系统信息列表信息
OriginApiControllerApifetchSysApplicationListOrgGET /rest/delegate/origin/fetchSysApplicationListOrg获取系统信息列表信息
OriginApiControllerApifetchSysOrganizationListOrgGET /rest/delegate/origin/fetchSysOrganizationListOrg获取组织机构列表信息
OriginApiControllerApifetchSysPortalListGET /rest/delegate/origin/fetchSysPortalList获取接入系统信息表列表
PingControllerApisystemPingGET /open/delegate/ping/ping/pingsystemPing
ServiceOfflineControllerApifireOfflineDELETE /rest/delegate/serviceOffline/fireOfflinefireOffline
Sm2CryptoControllerApidecryptBySm2POST /rest/delegate/sm2/crypto/decrypt在线解密
Sm2CryptoControllerApiencryptBySm2POST /rest/delegate/sm2/crypto/encrypt在线加密
Sm2CryptoControllerApigetSm2CryptoPublicKeyGET /rest/delegate/sm2/crypto/getPublicKey获取加密公钥
Sm2CryptoMockControllerApitestMixupWithPublicKeyGET /rest/delegate/sm2/cryptoMock/testMixup测试公钥Mixup
SysGlobalConfigDelegateControllerApibindTagByConfigCodePUT /open/delegate/sysGlobalConfigDelegate/bindTagByConfigCode/{tag}绑定配置到tag
SysGlobalConfigDelegateControllerApideleteTagByConfigCodePOST /open/delegate/sysGlobalConfigDelegate/deleteTagByConfigCode删除tag里的配置列表
SysGlobalConfigDelegateControllerApifetchCmCustomerConfigByTagGET /open/delegate/sysGlobalConfigDelegate/fetchCmCustomerConfigByTag通过tag获取cm_customer_config详情
SysGlobalConfigDelegateControllerApifetchSysGlobalConfigDelegateDetailGET /open/delegate/sysGlobalConfigDelegate/detail/{configCode}获取sys_global_config详细
SysGlobalConfigDelegateControllerApifetchSysGlobalConfigDelegateListGET /open/delegate/sysGlobalConfigDelegate/list获取SysGlobalConfigDelegate列表
SysGlobalConfigDelegateControllerApifetchTagListGET /open/delegate/sysGlobalConfigDelegate/fetchTagList获取tag列表
SysResourceWithSecondControllerApifetchSysResourceWithSecondListGET /open/delegate/sysResourceWithSecond/list获取SysResourceWithSecond列表
SysSpringConfigControllerApifetchSysSpringConfigDetailGET /rest/delegate/SysSpringConfig/detail/{actionCode}获取sys_spring_config详细
SysSpringConfigControllerApifetchSysSpringConfigListGET /rest/delegate/SysSpringConfig/list获取sys_spring_config列表
SysSpringConfigControllerApigenerateSysSpringConfigPOST /rest/delegate/SysSpringConfig/generate/{actionCode}生成sys_spring_config配置
SysSpringConfigControllerApipreviewSysSpringConfigPOST /rest/delegate/SysSpringConfig/preview预览配置信息
SystemCacheControllerApisystemCacheClearAllPOST /rest/delegate/systemCache/clearAll清理L2CACHE全部缓存
SystemCacheControllerApisystemCacheClearMultiPOST /rest/delegate/systemCache/clearMulti清理L2CACHE缓存
SystemCacheControllerApisystemCacheListGET /rest/delegate/systemCache/listlist
TfhrmsControllerApifetchTfhrmsDetailGET /open/delegate/tfhrms/fetchDetail获取详细信息

Models

1.1.12

9 months ago

1.0.73

2 years ago

1.0.72

2 years ago

1.0.71

2 years ago