Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B compiler:compile
- name: Run Unit Tests
run: mvn -B test
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**
!**/src/test/**
.DS_Store

### STS ###
Expand Down Expand Up @@ -34,6 +33,6 @@ build/
.vscode/

### application.properties ###
**/src/main/recources/application-dev.properties
systemContext.json
/.apt_generated_tests/
src/test/resources/application-dev.properties
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,18 @@ creates context map, bounded contexts and communication diagrams.
```bash
mvn clean install
mvn package
```
```

## ProphetUtilsTest Setup
* Running Unit tests requires that you clone this repo to get the microservices (https://github.com/cloudhubs/tms)
* create a file called **application-dev.properties** in src/test/resources/
* In src/test/resources/application-dev.properties change the `user.rootPath` property to the path to **tms** repo
* Example:
* user.rootPath=/Users/austinblanchard/Documents/CSI_43C9/microservices/tms/
* Then add the `user.umsPath`, `user.qmsPath`, `user.cmsPath`, `user.emsPath` properties to each microservice
* Example:
* user.umsPath=ums/
* user.qmsPath=qms/
* user.cmsPath=cms/
* user.emsPath=ems/
* This will properly point the JUnit tests with the proper microservices
28 changes: 1 addition & 27 deletions bounded-context.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,7 @@
</head>
<body>
<div class="mermaid" id="graphDiv">
classDiagram
class Exam
Exam : +String examinee
Exam : +Date description
Exam : +Integer correct
Exam : +Integer sum
Exam : +Integer correct
Exam : +Integer id
Exam : +ExamStatus status
Exam : +Integer configurationId
Exam : +String issuer
Exam : +String configurationId
Exam : +String examDate
class Choice
Choice : +boolean correct
Choice : +Question question
Choice : +Integer id
Choice : +boolean chosen
Choice : +boolean correct
Choice : +String body
class Question
Question : +Choice description
Question : +String code
Question : +Integer id
Question : +Exam exam
Question : +String body
Question "1" --> "*" Choice
classDiagram
</div>
<script>
mermaidAPI.initialize({
Expand Down
1 change: 0 additions & 1 deletion json/systemContext.json

This file was deleted.

Loading