This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lm; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.annotation.Import; | |
| import org.springframework.data.jpa.repository.config.EnableJpaRepositories; | |
| import org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration; | |
| @Configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lm.repository; | |
| import com.lm.model.Task; | |
| import org.springframework.data.repository.PagingAndSortingRepository; | |
| import org.springframework.data.rest.core.annotation.RepositoryRestResource; | |
| import java.util.UUID; | |
| @RepositoryRestResource( collectionResourceRel = "task", path = "task") | |
| public interface Tasks extends PagingAndSortingRepository<Task, UUID> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lm; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.annotation.Import; | |
| import org.springframework.data.jpa.repository.config.EnableJpaRepositories; | |
| import org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration; | |
| @Configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lm; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.EnableAutoConfiguration; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.annotation.Import; | |
| import org.springframework.data.jpa.repository.config.EnableJpaRepositories; | |
| import org.springframework.data.rest.webmvc.config.RepositoryRestMvcConfiguration; | |
| @Configuration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lm.repository; | |
| import com.lm.model.Task; | |
| import org.springframework.data.repository.PagingAndSortingRepository; | |
| import org.springframework.data.rest.core.annotation.RepositoryRestResource; | |
| import java.util.UUID; | |
| @RepositoryRestResource( collectionResourceRel = "task", path = "task") | |
| public interface Tasks extends PagingAndSortingRepository<Task, UUID> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lm.model; | |
| import org.hibernate.annotations.GenericGenerator; | |
| import org.hibernate.annotations.Type; | |
| import javax.persistence.*; | |
| import javax.validation.constraints.NotNull; | |
| import javax.validation.constraints.Size; | |
| import java.util.UUID; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cloc . slave-vi | |
| 5 text files. | |
| 5 unique files. | |
| 2 files ignored. | |
| http://cloc.sourceforge.net v 1.62 T=0.04 s (104.8 files/s, 3930.8 lines/s) | |
| ------------------------------------------------------------------------------- | |
| Language files blank comment code | |
| ------------------------------------------------------------------------------- | |
| Maven 1 6 7 65 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.lm.model; | |
| import org.hibernate.annotations.GenericGenerator; | |
| import org.hibernate.validator.constraints.NotEmpty; | |
| import javax.persistence.*; | |
| import javax.validation.constraints.NotNull; | |
| import javax.validation.constraints.Size; | |
| import java.util.UUID; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package DeperecatedMethod; | |
| use Moose; | |
| our @CARP_NOT = ( 'Class::MOP::Method::Wrapped', __PACKAGE__ ); | |
| has value => ( | |
| isa => 'Int', | |
| is => 'ro', | |
| lazy => 1, | |
| default => &random_generator, | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use 5.014; | |
| use warnings; | |
| package MyContainer { | |
| use Moose; | |
| use Bread::Board::Declare; | |
| use Bread::Board; | |
| use Bread::Board::Dumper; | |
| use DBIx::Connector; |