FlexiCore Boot Data REST


License

License

Categories

Categories

Data
GroupId

GroupId

com.wizzdi
ArtifactId

ArtifactId

flexicore-boot-starter-data-rest
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

FlexiCore Boot Data REST
FlexiCore Boot Data REST
Project URL

Project URL

https://wizzdi.com
Source Code Management

Source Code Management

https://github.com/wizzdi/flexicore-boot-starter-data-rest

Download flexicore-boot-starter-data-rest

How to add to project

<!-- https://jarcasting.com/artifacts/com.wizzdi/flexicore-boot-starter-data-rest/ -->
<dependency>
    <groupId>com.wizzdi</groupId>
    <artifactId>flexicore-boot-starter-data-rest</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.wizzdi/flexicore-boot-starter-data-rest/
implementation 'com.wizzdi:flexicore-boot-starter-data-rest:1.0.1'
// https://jarcasting.com/artifacts/com.wizzdi/flexicore-boot-starter-data-rest/
implementation ("com.wizzdi:flexicore-boot-starter-data-rest:1.0.1")
'com.wizzdi:flexicore-boot-starter-data-rest:jar:1.0.1'
<dependency org="com.wizzdi" name="flexicore-boot-starter-data-rest" rev="1.0.1">
  <artifact name="flexicore-boot-starter-data-rest" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.wizzdi', module='flexicore-boot-starter-data-rest', version='1.0.1')
)
libraryDependencies += "com.wizzdi" % "flexicore-boot-starter-data-rest" % "1.0.1"
[com.wizzdi/flexicore-boot-starter-data-rest "1.0.1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-data-rest jar
org.springframework.boot : spring-boot-starter-web jar

provided (1)

Group / Artifact Type Version
com.wizzdi : flexicore-boot jar 1.0.4

test (8)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar
org.junit.jupiter : junit-jupiter-engine jar
org.junit.platform : junit-platform-launcher jar
org.junit.vintage : junit-vintage-engine jar
com.wizzdi : flexicore-boot-test-helper jar 1.0.0
org.springframework.boot : spring-boot-starter-jta-atomikos jar
com.wizzdi : flexicore-boot-starter-data-jpa jar 1.0.2
org.postgresql : postgresql jar 42.2.6

Project Modules

There are no modules declared in this project.

FlexiCore Boot Starter Data REST Build StatusMaven Central

For comprehensive information about FlexiCore Boot Starter Data REST please visit our site.

What it does?

FlexiCore Boot Starter Data REST is a FlexiCore Module that enables Spring's Data REST inside FlexiCore Plugins.

How to use?

Add the flexicore-boot-starter-data-rest dependency using the latest version available from maven central:

        <dependency>
            <groupId>com.wizzdi</groupId>
            <artifactId>flexicore-boot-starter-data-rest</artifactId>
            <version>LATEST</version>
        </dependency>

Simply annotate your application class or your configuration class with

@EnableFlexiCoreDataRESTPlugins

Example

your application class:

@EnableFlexiCorePlugins  
@EnableFlexiCoreDataRESTPlugins
@SpringBootApplication  
public class App {  
  
   public static void main(String[] args) {  
  
      SpringApplication app = new SpringApplication(App.class);  
  app.addListeners(new ApplicationPidFileWriter());  
  ConfigurableApplicationContext context=app.run(args);  
  
  }
}

a Spring Data REST Repository:

@RepositoryRestResource(collectionResourceRel = "books", path = "books")
@Extension
public interface BookRepository extends Plugin,PagingAndSortingRepository<Book, Long> {

    List<Book> findByName( @Param("name") String name);


}

Main Dependencies

FlexiCore Boot

Spring Boot Starter Data REST

com.wizzdi

Wizzdi software Systems

Java back-end wizardry

Versions

Version
1.0.1
1.0.0