Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The primary task when creating a genOSLC integration is to provide an implementation for the IToolAdapter java interface. An example implementation is provided see genOSLC Example Application for more details.

The implementation of the IToolAdapter must be a Spring Boot Bean.

For example:

Code Block
languagejava
@Service // a Spring Boot Service is one type of Bean
public class ExampleToolAdapter implements IToolAdapter {
   
    @Autowired
    public ExampleToolAdapter(final Environment environment) {
    }

// ... 
}

Implementing IToolAdapter interface requires the creation of various kinds of Tool Adapter Objects (or TAOs). These TAOs represent various kinds of OSLC objects: service providers, components, local configurations.