Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cezbatistao/archref
https://github.com/cezbatistao/archref
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cezbatistao/archref
- Owner: cezbatistao
- Created: 2018-10-18T01:13:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-11T21:03:27.000Z (over 2 years ago)
- Last Synced: 2023-02-28T20:45:41.017Z (over 1 year ago)
- Language: Java
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Architecture Reference
__NEW VERSION__: *[archref-checkout](https://github.com/cezbatistao/archref-checkout)*
### Code template
We are using [Google Java Style](https://google.github.io/styleguide/javaguide.html)
- [*IntelliJ plugin*](https://plugins.jetbrains.com/plugin/8527-google-java-format)
- [Source code](https://github.com/google/google-java-format)### IntelliJ plugin
- [*IntelliJ plugin*](https://plugins.jetbrains.com/plugin/8527-google-java-format)
- [Lombok](https://plugins.jetbrains.com/plugin/6317-lombok-plugin)
- [Spock Framework](https://plugins.jetbrains.com/plugin/7114-spock-framework-enhancements)
- [Gherkin](https://plugins.jetbrains.com/plugin/7211-gherkin)
- [Cucumber](https://plugins.jetbrains.com/plugin/7212-cucumber-for-java)### Start application with spring cloud config
```
mvn spring-boot:run \
-Dspring.profiles.active=dev
```### Run Gatling test
```
mvn clean package -DskipTests gatling:execute
```### Import data for DynamoDB
- Setup and configure [AWS CLI](http://docs.aws.amazon.com/cli/latest/userguide/installing.html)
```
- Use the following command in the corresponding directory of the JSON files
$ aws dynamodb list-tables --endpoint-url http://localhost:8000 --region us-east-1
$ aws dynamodb batch-write-item --request-items file://sample-app-product.json --endpoint-url http://localhost:8000 --region us-east-1
$ aws dynamodb batch-write-item --request-items file://sample-app-stock.json --endpoint-url http://localhost:8000 --region us-east-1
- JSONs directory //dependencies/DynamoDB/
- How to write more than 25 items/rows into DynamoDB table?
AWS has a limitation for data import, accepting only 25 put Requests per file. So you will need to create a script to split the data for writing.
```