Skip to content

Commit

Permalink
Merge pull request #3 from icreated/develop
Browse files Browse the repository at this point in the history
Changing Swagger Image
  • Loading branch information
icreated committed Aug 1, 2021
2 parents e10c7b7 + 396a9ec commit ffc34ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ This plugin is fully dependent on Spring Framework and integrates its features:

* Spring configuration with @Configuration annotation
* Idempiere context injected by application.properties
* Simple architecture with @Autowire annotation
* Simple architecture with @Autowired annotation
* JdbcTemplate used over native DB Idempiere static database connection
* Possibility to map Idempiere Model with BeanPropertyRowMapper
* Spring Security integrated


From a functional point of view this plugin provides following features:
Expand All @@ -32,21 +34,13 @@ To build this plugin you need to get sources in your project directory:
```shell
git clone https://github.com/icreated/portal-api.git
```
**Important!**
Edit pom.xml to link native Idempiere libraries with parent project.
If you put sources directly in Idempiere sources folder, it will be

```xml
<relativePath>../org.idempiere.parent/pom.xml</relativePath>
```
like others Idempiere plugins, otherwise modify it.

Be sure to satisfy all required dependencies. All needed jars are added directly to lib folder.


### Deploying / Publishing / Testing
Check if it works by accessing to Swagger Home Page:
[http://localhost:8080/portal/api/swagger-ui.html](http://localhost:8080/portal/api/swagger-ui.html)
[http://localhost:8888/portal/api](http://localhost:8888/portal/api)
To connect to API you have to provide AD_User Value and Password. For example: gardenusr / GardenUser

!["Swagger UI"](Swagger_UI.png "Swagger UI")
Expand Down
Binary file modified Swagger_UI.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ffc34ae

Please sign in to comment.