Oryx Henrique Prado Sousa [email protected]. Agenda - Ferramenta Oryx - Arquitetura -...
Transcript of Oryx Henrique Prado Sousa [email protected]. Agenda - Ferramenta Oryx - Arquitetura -...
![Page 2: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/2.jpg)
Agenda
- Ferramenta Oryx
- Arquitetura
- Codificação
- Instalação
![Page 3: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/3.jpg)
Características
- Software Livre
- Acesso a partir de servidor
- Execução via browser
- Extensível por plugin
![Page 4: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/4.jpg)
Cross Oryx
![Page 5: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/5.jpg)
Modelos disponíveis
![Page 6: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/6.jpg)
Arquitetura
![Page 7: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/7.jpg)
Plugin
• Stencil set +
• Figuras no formato SVG +
• Ícones
![Page 8: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/8.jpg)
Stencil set
• Arquivo que define de forma descritiva os elementos
que compõem a linguagem de modelagem e suas regras
• Arquivo no formato JSON (JavaScript Object Notation)
• Composto por:•Cabeçalho
•Conjunto de Stencils
•Regras
![Page 9: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/9.jpg)
Stencil set
• Arquivo que define de forma descritiva os elementos
que compõem a linguagem de modelagem e suas regras
• Arquivo no formato JSON (JavaScript Object Notation)
• Composto por:•Cabeçalho
•Conjunto de Stencils
•Regras
![Page 10: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/10.jpg)
Stencil set
![Page 11: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/11.jpg)
Stencil
![Page 12: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/12.jpg)
Stencil - Properties
Atributos
![Page 13: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/13.jpg)
Stencil – View/Icons
![Page 14: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/14.jpg)
Gráfico – View/Icons
![Page 15: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/15.jpg)
Gráfico – View/Icons
PNG SVG
![Page 16: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/16.jpg)
SVG
• Scalable Vetor Graphics
•http://www.w3.org/Graphics/SVG/
![Page 17: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/17.jpg)
SVG
![Page 18: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/18.jpg)
Regras
![Page 19: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/19.jpg)
Regras
![Page 20: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/20.jpg)
Regras
![Page 21: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/21.jpg)
Stencil set – Estrutura de pasta
![Page 22: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/22.jpg)
Stencil set – Estrutura de pasta
PNGSVG
![Page 23: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/23.jpg)
Exemplo de customização
![Page 24: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/24.jpg)
Exemplo de customização
![Page 25: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/25.jpg)
Instalação - Requisitos
• Firefox
• Tomcat
• Eclipse
• Java Development Kit (JDK)
• Python < v2.5
• Postgres < v8.3
![Page 26: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/26.jpg)
Construção do ambiente
• Mozilla Firefox – Instalar addon 1843
• Criar variável de ambiente no SO “Java_Home”
com o path do JDK
• Instalar plugin “Subclipse” no Eclipse
• Instalar plugin “Aptana Studio” no Eclipse
• Obter o código a partir do SVN no Eclipse no
repositório “http://Oryx-editor.googlecode.com/svn/trunk”
![Page 27: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/27.jpg)
Construção do ambiente
• No prompt de comando, digitar:•createuser –U postgres –-echo –-pwprompt –-encrypted poem
•createdb –U postgres –-echo –-encoding utf8 –-owner poem poem
•psql –U postgres –-dbname poem –-file db_schema.sql
• Editar o arquivo tomcat-users.xml•<?xml version='1.0' encoding='utf-8'?>
•<tomcat-users>
•<user username="Oryx" password="Oryx" roles="admin, manager”/>
•</tomcat-users>
![Page 28: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/28.jpg)
Construção do ambiente
• Editar o arquivo build.properties do Oryx, linha
deploymentdir com o Path da pasta apps do tomcat.
Ex: “C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps”
• Ainda nos arquivos do Oryx, vá em “editor/client/scripts/Oryx.js”
e configure a linha PATH como “PATH: "/Oryx/",”.
Em “poem-jvm/etc/hibernate.cfg.xml”, configure as configurações de
acesso ao banco como:
• <!-- Database connection settings -->
• <property name="connection.driver_class">org.postgresql.Driver</property>
• <property name="connection.url">jdbc:postgresql://localhost/poem</property>
• <property name="connection.username">poem</property>
• <property name="connection.password">Oryx</property>
![Page 29: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/29.jpg)
Construção do ambiente
• No arquivo build.xml acesse o “External Tools Configuration”,
selecionar os seguintes Targets: build-with-xhtml-test-files-flag, build-all, deploy-all.
• Executar o build para compilação.
![Page 30: Oryx Henrique Prado Sousa hsousa@inf.puc-rio.br. Agenda - Ferramenta Oryx - Arquitetura - Codificação - Instalação.](https://reader036.fdocumentos.tips/reader036/viewer/2022062512/552fc105497959413d8c014a/html5/thumbnails/30.jpg)
Referências
• [1] Daniel, P., Weske, M., Overdick, H., Decker, G., “Oryx BPMN Stencil Set Implementation”, Bachelor Thesis, Hasso Plattner Institut, 30/06/2007, disponível em “http://Oryx-project.org/research”.
• [2] Decker, G., Overdick, H., Weske, M., “Oryx - An Open Modeling Platform for the BPM Community”, In Marlon Dumas, Manfred Reichert, and Ming-Chien Shan, editors, BPM, volume 5240 of Lecture Notes in Computer Science, pages 382–385. Springer, 2008.
• [3] Kunze, M., Weske, M., “Signavio-Oryx Academic Initiative”, Demo Session of the 8th International Conference on Business Process Management (BPM 2010). Hoboken, NJ, September 2010.
• [4] Oryx, Site oficial Oryx, disponível em “http://Oryx-project.org/research”, acessado em “20/12/2010”.
• [5] Peters, N., Weske, M., Overdick, H., Decker, G., “Oryx Stencil Set Specification”, Final Bachelor’s Page, Hasso Plattner Institut, 30/06/2007, disponível em “http://Oryx-project.org/research”.
• [6] Tscheschner, W., Weske, M., Overdick, H., Decker, G., “Oryx Dokumentation”, Bachelorabeit, Hasso Plattner Institut, 30/06/2007, disponível em “http://Oryx-project.org/research”.