Apigee Registry Maven Plugin - v1.0.0-beta

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

@gitesh @Marsh @timburks 

Contributors
Comments
lalevee
Staff

Find here Apigee-ApiHub-Github a GitHub Action pipeline using  this new Apigee Registry Maven Plugin "in action".

Use case is:

  • One repo with both Apigee Proxy and Specification file, managed by the same pipeline
  • When commit:
    • Detect what has changed (proxy or specification)
    • Deploy proxy to Apigee if it has changed
    • Publish the specification on API Hub if it has changed

 

Version history
Last update:
‎07-07-2022 11:41 PM
Updated by: