How to create a web service for porting perl scripts or shell scripts

Our development is mainly on Windows, VCS - ClearCase. We also use quite a few scripts (perl, bash) on Linux to check the quality of the code, regression tests, etc. For example, a script takes a stream name, creates a dynamic view, generates a CPD report for newly added files, Another sends specific tests to the solar grid engine (SGE)

Currently, the user must log into Linux with a specific account, and then edit some configuration files and run scripts. The user sometimes makes unwanted changes and creates problems.

Perhaps we can improve the flow using rsh.

I think exposing all of this through a web service might be better. Then the user can use the java program (web service client) to call taks.

   java com.check.MyQualityChecks -stream blah -generate-cpd

Is there anything that could help me wrap existing scripts through a web service?

+3
source share
1 answer

There is no direct encapsulation cleartoolthrough a web service.
The nearest existing service is CCRC(ClearCase Remote client) with its Java CM API , which can be used if the Linux machine was a server CCRC.

-, script, , script -: ( Vob) umask ( ).

+2

Source: https://habr.com/ru/post/1796520/


All Articles