RufaidaGUI 0.0.2

RufaidaGUI 0.0.2

Md Shahed Hossain 维护。



rufaida-rupa-iosgui

这是一个由 Medical Systems Company Limited 开发的、基于 Swift 并打包为 ipa 项目的 iOS 项目。这是 rufaida-rupa-parent 的子项目。该模块的开发旨在支持 iOS 应用。它将被打包为 ipa。以下是依赖项目的示例

<dependency>
    <artifactId>rufaida-rupa-iosgui</artifactId>
    <groupId>my.com.rufaida.rupa</groupId>
    <version>1.0.00.GA</version>
</dependency>

所有资源库都属于 Medical Systems Company Limited,可以基于 MIT 许可证使用。使用Git源代码管理器克隆此项目

  1. git clone bit.rufaida.my:rufaida/rufaida-rupa-iosgui.git,来源 bit.rufaida.my
  2. git clone git.rufaida.my:rufaidasdn/rufaida-rupa-iosgui.git,来源 git.rufaida.my

上传 rsa 密钥并将其添加到 ~/.ssh/config

Host bit.rufaida.my
     HostName bitbucket.org
     PreferredAuthentications publickey
     IdentityFile ~/.ssh/bit_rufaida_rsa
     User git
    
Host git.rufaida.my
     HostName github.com
     PreferredAuthentications publickey
     IdentityFile ~/.ssh/git_rufaida_rsa
     User git
     

通过shell构建单个模块

\
a='expire ui.rpa static utlity change entity persis';\
a="$a servis fusion jasper report javars webapp iosapp fatjar";\
printf "\n\033[0;33mDo you wish to:\033[0m\n";\
select o in 'install' 'deploy';do case $o in 'install') break;; 'deploy') \
break;;esac;done;printf "\n\033[0;33mSkip test case:\033[0m\n";select t in \
'false' 'true';do case $t in 'false') break;; 'true') break;;esac;done;\
printf "\n\033[0;33mChoose profile:\033[0m\n";select p in \
'dev' 'pro' 'uat';do case $p in *) break;;esac;done;\
i='\nYour option is: \033[0;32m%s\033[0m \033[0;31m-Dmaven.test.skip';\
i="$i\033[0m=\033[0;32m%s\033[0m\n";printf "$i" "$o" "$t";while :;do \
printf '\n\033[0;33mChoose modules:\033[0m\n';select m in ${a// / };do \
case $m in *) break;;esac;done;if [ "$m" == 'expire' ];\
then break;elif [ "$m" == '' ];then printf \
'\n\033[0;31mInvalid\033[0m menuitem chosen!\n';else g='';n='';c='';\
d="rufaida-rupa-$m";if [ -d $d ]&&[ -f "$d/pom.xml" ];then cd $d;\
printf '\n%sing \033[0;32m%s\033[0m\n' "$o" "$d";\
if [ "$m" == 'parent' ];then n='-N ';fi;f='mvn clean';\
if [ "$o" == 'install' ];then f="$f install";fi;\
if [ "$o" == 'deploy' ];then f="$f deploy";fi;f="$f -P$p %s%s";\
if [ "$t" == 'true' ];then f="$f -Dmaven.test.skip=true";fi;\
if [ "$o" == 'deploy' ];then f="$f -Djava.net.preferIPv4Stack=true";fi;\
printf -v c "$f" "$g" "$n";$c;cd ..;fi;fi;done

通过shell构建多个模块

\
a='ui.rpa static utlity change entity persis';\
a="$a servis fusion jasper report javars webapp iosapp fatjar";\
printf "\n\033[0;33mDo you wish to:\033[0m\n";\
select o in 'install' 'deploy';do case $o in 'install') break;; 'deploy') \
break;;esac;done;printf "\n\033[0;33mSkip test case:\033[0m\n";select t in \
'false' 'true';do case $t in 'false') break;; 'true') break;;esac;done;\
printf "\n\033[0;33mChoose profile:\033[0m\n";select p in \
'dev' 'pro' 'uat';do case $p in *) break;;esac;done;\
i='\nYour option is: \033[0;32m%s\033[0m \033[0;31m-Dmaven.test.skip';\
i="$i\033[0m=\033[0;32m%s\033[0m\n\n";printf "$i" "$o" "$t";for m in $a;\
do g='';n='';c='';d="rufaida-rupa-$m";if [ -d $d ]&&[ -f "$d/pom.xml" ];\
then cd $d;printf '\n%sing \033[0;32m%s\033[0m\n' "$o" "$d";\
if [ "$m" == 'parent' ];then n='-N ';fi;f='mvn clean';\
if [ "$o" == 'install' ];then f="$f install";fi;\
if [ "$o" == 'deploy' ];then f="$f deploy";fi;f="$f -P$p %s%s";\
if [ "$t" == 'true' ];then f="$f -Dmaven.test.skip=true";fi;\
if [ "$o" == 'deploy' ];then f="$f -Djava.net.preferIPv4Stack=true";fi;\
printf -v c "$f" "$g" "$n";$c;cd ..;fi;done

通过shell推送多个模块

\
a='ui.rpa static utlity change entity persis';\
a="$a servis fusion jasper report javars webapp iosapp fatjar";\
u="$(git config user.name)";for s in $a;do m="rufaida-rupa-$s";d="./$m";\
if [ -d $d ]&&[ -d "$d/.git" ];then f='%s by %s on %s';\
t="$(date +'%d%b%Y %R %p'|tr '[:lower:]' '[:upper:]')";cd $d;\
if [[ "$(git diff --cached --numstat|wc -l|tr -dc '0-9')" -gt '0' ]];then \
cd ..;printf '\npushing  \033[0;32m%s\033[0m\n' "$m";select q in 'Yes' 'No';\
do case $q in 'Yes') break;; 'No') break;;esac;done;\
if [ "$q" == 'Yes' ];then printf '\nNotes for \033[0;32m%s\033[0m: ' "$m";\
read n;printf -v c "$f" "$n" "$u" "$t";cd $d;\
git commit -m "$c";git push -u origin master;cd ..;fi;else cd ..;\
printf '\n\033[0;31mNo index\033[0m \033[0;32m%s\033[0m\n' "$m";fi;fi;done

通过shell拉取多个模块

\
a='ui.rpa static utlity change entity persis';\
a="$a servis fusion jasper report javars webapp iosapp fatjar";\
printf "\n\033[0;33mDo you wish to:\033[0m\n";select o in 'fetch' 'pull';\
do case $o in 'fetch') break;;'pull') break;;esac;done;for s in $a;\
do m="rufaida-rupa-$s";d="./$m";if [ -d $d ]&&[ -d "$d/.git" ];then cd $d;\
if [[ $(git status --porcelain|wc -l|tr -dc '0-9') -eq '0' ]];then cd ..;\
printf '\n%sing \033[0;32m%s\033[0m\n' "$o" "$m";select q in 'Yes' 'No';\
do case $q in 'Yes') break;; 'No') break;;esac;done;cd $d;\
if [ "$q" == 'Yes' ];then if [ "$o" == "fetch" ];then git fetch --all;\
git fetch --tags;else git pull origin master;fi;fi;cd ..;else cd ..;\
printf '\n\033[0;31mcommit/reset\033[0m \033[0;32m%s\033[0m\n' "$m";fi;fi;done

关于git和shell的常识

#good to know for run ssh agent
eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/bit_rufaida_rsa
ssh-add -K ~/.ssh/git_rufaida_rsa

#good to know for delete commit
git reset --hard HEAD^
git push --force

#good to know for delete gittag
git push --delete origin tagname
git tag  --delete tagname

#good to know before git ignore
git rm --cached to/file/path/name.*
git rm --cached to/file/path/name.ext

#good to know git stop tracking
git update-index --assume-unchanged to/file/path/name.*
git update-index --assume-unchanged to/file/path/name.ext

#good to know for find and replace
for f in $(find ./app/ -name '*.java'); do sed "s/boot/rupa/g" \
"$f"> "$f.tmp" && mv "$f.tmp" "$f"; done;

~/.m2/settings.xml配置maven服务器

<servers>
    <server>
        <id>medisys.releases</id>
        <configuration>
            <httpHeaders>
                <property>
                    <name>Authorization</name>
                    <value>Basic c2hhaGVkOm1lZGlzeXM==</value>
                </property>
            </httpHeaders>
        </configuration>
    </server>
</servers>

~/.m2/settings.xmlpom.xml配置maven仓库

<repositories>
    <repository>
        <id>medisys.releases</id>
        <url>http://maven.medisys.com.my/maven2/releases</url>
        <releases><enabled>true</enabled></releases>
        <snapshots><enabled>false</enabled></snapshots>
    </repository>
</repositories>

授权许可

Copyright (c) 1984-2019 Medical Systems Company Limited

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

关于项目

本项目的目标是添加与 HMIS(医院管理信息系统) 的互操作性和集成功能。该项目由 Java EE 开发,采用 Spring FrameworkApache Camel ESBApache CXF。本项目的技术负责人为 Md Shahed Hossain (Shahed)

关于 Medical Systems Company Limited

MedisysMedical Systems Company Limited 的简称,是一家位于利雅得的提供全面服务的公司,通过 HMIS(健康管理系统) 为客户提供从需求分析、开发、应用交付到用户适应的支持。从之前的架构迁移到 Oracle 11g 数据库和 RAC 的发展,提供了 Medisys 的 HMIS(医院管理信息系统) 在信息管理系统方面的位置透明度、冗余性和易变性。

关于创始人

Mohamad Al-Sherbini (Sherbini)Medical Systems Company Limited 的创始人。同时,Azizul Hoque Bhuyan (Milton) 也是 Medical System Company LimitedRufaida Medical Systems Sdn Bhd 的技术经理和创始人。

联系方式