We have a new Maven plugin (v1.0.0-beta) to register APIs, Specs, artifacts to Apigee API Hub. You can configure your pom file with the following plugin and Maven goals
<plugin>
<groupId>com.apigee.registry.config</groupId>
<artifactId>apigee-registry-maven-plugin</artifactId>
<version>1.0.0-beta</version>
<executions>
<execution>
<id>apigee-registry-api</id>
<phase>install</phase>
<goals>
<goal>api</goal>
</goals>
</execution>
<execution>
<id>apigee-registry-apiversion</id>
<phase>install</phase>
<goals>
<goal>apiversion</goal>
</goals>
</execution>
<execution>
<id>apigee-registry-apiversionspec</id>
<phase>install</phase>
<goals>
<goal>apiversionspec</goal>
</goals>
</execution>
<execution>
<id>apigee-registry-apideployment</id>
<phase>install</phase>
<goals>
<goal>apideployment</goal>
</goals>
</execution>
<execution>
<id>apigee-registry-apiartifact</id>
<phase>install</phase>
<goals>
<goal>apiartifact</goal>
</goals>
</execution>
</executions>
</plugin>
For more info, refer to this link. Try out the samples .
As mentioned, this is an open-sourced project, looking for all your contributions as well. For contributing, please refer to this contributing guide. If there are any issues or want to submit a feature request, please feel free to crate a GitHub issue here. While creating, please provide as many details as possible.
For more details and discussions, please use the Apigee community. Hope this is a useful plugin that can be used in your CI/CD pipelines to automate the registering of your APIs into Apigee API Hub
Find here Apigee-ApiHub-Github a GitHub Action pipeline using this new Apigee Registry Maven Plugin "in action".
Use case is: