npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dubhe-sdk-apply

v1.0.16

Published

javascript sdk for dubhe_apply_service, generate at 2023-11-07 15:18:24

Downloads

4

Readme

dubhe-sdk-apply

dubhe-sdk-apply - JavaScript client for dubhe apply service

  • Package version: 1.0.16
  • Build date: 2023-11-07 15:18:24

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-apply --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-apply 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 { FooControllerApi } from 'dubhe-sdk-apply';

const api = new FooControllerApi(ApiContext.getInstance());
const fooCode = "fooCode_example"; // {String} 测试编码
try {
  const {data} = await api.disableFoo(fooCode);
} catch(error) {
  console.error(error);
}

API Endpoints

All URIs are relative to http://91.2.3.65:28790/APPLY

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- FooControllerApi | disableFoo | PUT /rest/apply/foo/disable/{fooCode} | 禁用foo测试 FooControllerApi | enableFoo | PUT /rest/apply/foo/enable/{fooCode} | 启用foo测试 FooControllerApi | fetchFooDetail | GET /rest/apply/foo/detail/{fooCode} | 获取foo测试详细 FooControllerApi | fetchFooList | GET /rest/apply/foo/list | 获取foo测试列表 FooControllerApi | fetchFooListByBks | GET /rest/apply/foo/fetchByBks | fetchFooListByBks FooControllerApi | removeFoo | DELETE /rest/apply/foo/remove/{fooCode} | 删除foo测试 FooControllerApi | removeFooListByBks | DELETE /rest/apply/foo/removeByBks | removeFooListByBks FooControllerApi | saveFoo | POST /rest/apply/foo/save | 保存foo测试 FooControllerApi | updateFoo | PATCH /rest/apply/foo/update | 更新foo测试 FooControllerApi | updateFooSeq | PATCH /rest/apply/foo/updateSeq | 更新foo测试排序 FooControllerApi | updateForceFoo | PUT /rest/apply/foo/updateForce | 刷新foo测试 TlAppRegControllerApi | auditApply | POST /rest/apply/tlAppReg/audit/{regCode} | 申请单审批 TlAppRegControllerApi | fetchTlAppRegDetail | GET /rest/apply/tlAppReg/detail/{regCode} | 申请单详情查询 TlAppRegControllerApi | getAppHostLogSumList | GET /rest/apply/tlAppReg/getAppHostLogSumList/{appCode} | 通过应用code获取应用日志汇总表信息 TlAppRegControllerApi | getSelectedTlAppReg | GET /rest/apply/tlAppReg/getSelected | 下拉框获取申请日志列表信息 TlAppRegControllerApi | listPageTlAppReg | GET /rest/apply/tlAppReg/list | 申请单列表查询 TlAppRegControllerApi | removeTlAppReg | DELETE /rest/apply/tlAppReg/remove/{regCode} | 删除申请接入应用日志表信息 TlAppRegControllerApi | startAppReg | POST /rest/apply/tlAppReg/startAppReg | 应用日志发布 TlAppRegControllerApi | tlAppRegCommit | POST /rest/apply/tlAppReg/tlAppRegCommit | 申请单提交 TlAppRegControllerApi | tlAppRegCommitAndStartProcess | POST /rest/apply/tlAppReg/tlAppRegCommitAndStartProcess | 申请单提交并发起流程 TlAppRegControllerApi | tlAppRegUpdate | POST /rest/apply/tlAppReg/tlAppRegUpdate | 申请单修改 TlAppRegControllerApi | tmpSaveAppInfo | POST /rest/apply/tlAppReg/tmpSave | 申请单暂存 TlAppRegControllerApi | updateAppRegStatus | POST /rest/apply/tlAppReg/updateAppRegStatus | flowable回调更新AppReg状态 TlDeployConfControllerApi | fetchTlDeployConfDetail | GET /rest/apply/tlDeployConf/detail/{appCode} | 获取日志应用接入_最终配置宽表详细信息 TlDeployConfControllerApi | fetchTlDeployConfList | GET /rest/apply/tlDeployConf/list | 获取日志应用接入_最终配置宽表列表信息 TlDeployConfControllerApi | getDeployAppLogConfAndInfoByAppCode | GET /rest/apply/tlDeployConf/getDeployAppLogConfAndInfoByAppCode | 通过应用编码_获取DeployAppLogConfAndInfo信息 TlDeployConfControllerApi | getFileBeatConfig | GET /rest/apply/tlDeployConf/getFileBeatConfig | 获取FileBeat配置信息 TlDeployConfControllerApi | removeTlDeployConf | DELETE /rest/apply/tlDeployConf/remove/{appCode} | 删除日志应用接入_最终配置宽表信息 TlDeployConfControllerApi | saveDeployAppLogConfAndInfoByAdmin | POST /rest/apply/tlDeployConf/saveDeployAppLogConfAndInfoByAdmin | 通过Admin传入信息,保存日志应用接入_最终配置宽表信息 TlDeployConfControllerApi | saveTlDeployConf | POST /rest/apply/tlDeployConf/save | 保存日志应用接入_最终配置宽表信息 TlDeployConfControllerApi | updateForceTlDeployConf | PUT /rest/apply/tlDeployConf/updateForce | 刷新日志应用接入_最终配置宽表信息 TlDeployConfControllerApi | updateTlDeployConf | PATCH /rest/apply/tlDeployConf/update | 更新日志应用接入_最终配置宽表信息 TlHostControllerApi | getAppListByHostId | GET /rest/apply/tlHost/getTlHostDeployAppListByHostCode/{hostCode} | 通过主机编码查询App列表 TlHostControllerApi | getDepLogInfoByHostCode | GET /rest/apply/tlHost/getTlHostDepLogInfoByHostCode/{hostCode} | 通过主机编码获取日志申请信息 TlProjectControllerApi | getDeployAppLogInfoListByProjectCode | GET /rest/apply/tlProject/getDeployAppLogInfoListByProjectCode/{projectCode} | 通过projectCode查询详细app信息 TlRegConfLogControllerApi | disableTlRegConfLog | PUT /rest/apply/tlRegConfLog/disable/{id} | 禁用申请接入日志类型 TlRegConfLogControllerApi | enableTlRegConfLog | PUT /rest/apply/tlRegConfLog/enable/{id} | 启用申请接入日志类型 TlRegConfLogControllerApi | fetchTlRegConfLogDetail | GET /rest/apply/tlRegConfLog/detail/{id} | 获取申请接入日志类型详细信息 TlRegConfLogControllerApi | fetchTlRegConfLogList | GET /rest/apply/tlRegConfLog/list | 获取申请接入日志类型列表信息 TlRegConfLogControllerApi | removeTlRegConfLog | DELETE /rest/apply/tlRegConfLog/remove/{id} | 删除申请接入日志类型信息 TlRegConfLogControllerApi | saveTlRegConfLog | POST /rest/apply/tlRegConfLog/save | 保存申请接入日志类型信息 TlRegConfLogControllerApi | updateForceTlRegConfLog | PUT /rest/apply/tlRegConfLog/updateForce | 刷新申请接入日志类型信息 TlRegConfLogControllerApi | updateTlRegConfLog | PATCH /rest/apply/tlRegConfLog/update | 更新申请接入日志类型信息

Models