https://github.com/autostructure/boss_api
Test boss_api on Puppet Pipelines
https://github.com/autostructure/boss_api
Last synced: about 1 year ago
JSON representation
Test boss_api on Puppet Pipelines
- Host: GitHub
- URL: https://github.com/autostructure/boss_api
- Owner: autostructure
- Created: 2018-12-12T12:28:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T01:52:18.000Z (over 7 years ago)
- Last Synced: 2025-02-08T12:45:49.974Z (over 1 year ago)
- Language: JavaScript
- Size: 58.2 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FIA BOSS API
Restful services for use with FIA-BOSS
### Prerequisites
java 8 SDK (https://docs.oracle.com/javase/8/docs/technotes/guides/install/windows_jdk_install.html),
maven (https://www.mkyong.com/maven/how-to-install-maven-in-windows/),
git (https://git-scm.com/download/win)
Microsoft SQL Server 2012 or 2017
### Installing
First clone the project into your home directory.
```git clone https://code.fs.usda.gov/EAD/FIA-BOSS```
Make sure an acceptable version of SQL Server is installed and that TCP/IP Connections are enabled.
(https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/enable-or-disable-a-server-network-protocol?view=sql-server-2017)
make a db, user with password with the same values listed in
https://code.fs.usda.gov/EAD/FIA-BOSS/blob/master/BOSSAPI/BossAPI/src/main/resources/application.properties
don't worry about creating or loading tables the app will take care of that.
navigate to the API directory /BOSSAPI/BossAPI and type
```mvn spring-boot:run```
this will compile and run on localhost:8080.
Navigate to http://localhost:8080/swagger-ui.html
to view a list of available endpoints.
### Testing
To manually run unit tests go to the API install directory and run
```mvn test```
or
```mvn clean install```