Skip to content

Commit

Permalink
add important note about unit test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
PestusAtSAG committed Jan 19, 2023
1 parent 5386e8d commit beb3f21
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ package: cumulocity.microservice.hello_devices

Now you have created your microservice project successfully! However, you could configure even more and run the post-generation script. To do so, you have to initialize devC8yBaseURL and devC8yUserCredentialsBASE64.

_IMPORTANT!!!_
If you haven't setup your application-dev.properties to a specific tenant the predefined unit test will not succeed! This unit test start the spring boot application and checks if the application is successfully starting. The microservice can't start if the c8y configuration isn't setup. However you can build with skipping the test by:


```
mvn clean install -Dmaven.test.skip=true
```



### Step 4.2: Confirm your configuration with 'N' with running post-generation script

And repeate step 1 - 3 and insert devC8yBaseURL and devC8yUserCredentialsBASE64
Expand Down

0 comments on commit beb3f21

Please sign in to comment.