mvn clean package
docker build -t bitrix24-consume_api:1.0.0 .
docker run --name bitrix24 -p 8080:8080 -d bitrix24-consume_api:1.0.0
Returns departaments of the Bitrix24 account.
{
"result": [
{
"ID": "1",
"NAME": "Bitrix"
},
{
"ID": "3",
"NAME": "Accounts Department"
},
{
"ID": "5",
"NAME": "Sales Department"
},
{
"ID": "7",
"NAME": "T.I"
}
]
}
Returns users of department and his tasks of Bitrix24.
{
"result": [
{
"task": [
],
"ID": "5",
"NAME": "User_name",
"LAST_NAME": "2",
"EMAIL": "email@gmail.com"
}
]
}
mvn clean package
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
<finalName>application</finalName> *Name of JAR file*
</build>
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring Boot DevTools
- Spring HATEOAS
The following guides illustrate how to use some features concretely: