Stories:
- details of a single clock
- list of all clocks
- add/update a single clock
- search clocks by description
| for f in apple banana cherry date fig grape lemon melon | |
| do | |
| /usr/bin/amqp-publish --url=$BROKER_URL -r job1 -p -b $f | |
| done |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: job-wq-1 | |
| spec: | |
| completions: 8 | |
| parallelism: 2 | |
| template: | |
| metadata: | |
| name: job-wq-1 |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| labels: | |
| component: rabbitmq | |
| name: rabbitmq-service | |
| spec: | |
| ports: | |
| - port: 5672 | |
| selector: |
| @Entity | |
| @Table | |
| public class Role { | |
| @Id | |
| @GeneratedValue | |
| private Long id; | |
| @ManyToMany | |
| private Collection<User> users; | |
| } |
| public interface MyServiceInterface { | |
| void myMethod(); | |
| } | |
| @Service | |
| public class MyServiceA implements MyServiceInterface { | |
| @Override | |
| public void myMethod() { | |
| System.out.print("Do A"); | |
| } |
| @Service | |
| public class UserManagementService { | |
| @Autowired | |
| private UserService userService; | |
| public void processUser(User user) { | |
| userService.processAndSave(user); | |
| } | |
| } |
| public class Account { | |
| private String accountNumber; | |
| public Account(String accountNumber) { // Constructor | |
| this.accountNumber = accountNumber; | |
| } | |
| public String getAccountNumber() { | |
| return accountNumber; // return the account number | |
| } |
| #!/bin/bash | |
| MAIN=${1:-master} | |
| BRANCHES=$(git branch --merged $MAIN | grep -v -e 'master\|staging\|development\|\*') | |
| git pull | |
| clear | |
| echo Branches merged into $MAIN: |