@@ -99,7 +99,8 @@ icon:folder[] server-archive.axsar <1>
9999 icon:folder[] staticFiles <3>
100100 icon:file[] gateway.pol <4>
101101 icon:file[] gateway.env <5>
102- icon:file[] readme-server-archive.txt <6>
102+ icon:file[] gateway.info.json <6>
103+ icon:file[] readme-server-archive.txt <7>
103104----
104105<1> Generated server archive.
105106<2> Folder containing dependent JARs.
@@ -108,7 +109,30 @@ The files are copied from the `staticFiles` folders of all dependent policy arch
108109<4> Packed `.pol` archive containing the server configuration and polices (including policies of all dependent policy archives)
109110<5> `.env` file containing all environment specific information.
110111The environment is not configured and should be treated as environment independent.
111- <6> Generated readme file describing the content of the archive (e.g. version of dependent policy archives)
112+ <6> JSON document describing the content of the archive (e.g. version and dependencies)
113+ <7> Generated readme file describing the content of the archive (e.g. version of dependent policy archives)
114+
115+ *`gateway.info.json` File*
116+
117+ The artifact information file describes the content of the server archive as a JSON document.
118+ It contains information about the deployment archive itself the dependencies.
119+
120+ [source,json]
121+ ----
122+ {
123+ "id" : "com.example:hello-world-gw:axway-server-archive:0.1.0-SNAPSHOT",
124+ "name" : "Hello World Server",
125+ "description" : "My first \"Hello World\" server project.",
126+ "buildTime" : "2019-12-17T17:25:40",
127+ "artifact" : {
128+ "groupID" : "com.example",
129+ "artifactID" : "hello-world-gw",
130+ "version" : "0.1.0-SNAPSHOT"
131+ },
132+ "dependencies" : [ "com.example:hello-world:axway-policy-archive:0.1.0-SNAPSHOT" ]
133+ }
134+ ----
135+
112136
113137=== Deployment Project
114138Deployment projects are used to configure API gateways for specific environments or groups based on an environment independent server project.
@@ -138,24 +162,54 @@ icon:folder[] deploy-archive.axdar <1>
138162 icon:folder[] lib <2>
139163 icon:folder[] staticFiles <3>
140164 icon:file[] gateway.fed <4>
141- icon:file[] gateway.pol <5>
142- icon:file[] gateway.env <6>
143- icon:file[] readme-deployment-archive.txt <7>
144- icon:file[] readme-server-archive.txt <8>
165+ icon:file[] gateway.info.json <5>
166+ icon:file[] readme-deployment-archive.txt <6>
167+ icon:file[] readme-server-archive.txt <7>
145168----
146169<1> Generated server archive.
147170<2> Folder containing dependent JARs.
148171<3> Static files belonging to the gateway instance.
149172The files are copied from the `staticFiles` folders of all dependent policy archives.
150173<4> Configured `.fed` file.
151174It is environment specific and contains all configured certificates and environmentalized fields.
152- <5> Packed `.pol` archive containing the server configuration and polices (including policies of all dependent policy archives)
153- <6> Configured `.env` file containing all environment specific information.
154- All certificates and environmentalized fields are replace by configured values.
155- <7> Generated readme file describing the content of the archive (e.g. version of depnednt server archive).
156- <8> Generated readme file describing the content of the archive (e.g. version of dependent policy archives).
175+ <5> JSON document describing the content of the archive (e.g. version and dependencies)
176+ <6> Generated readme file describing the content of the archive (e.g. version of dependent server archive).
177+ <7> Generated readme file describing the content of the archive (e.g. version of dependent policy archives).
157178Copied from server archive.
158179
180+ *`gateway.info.json` File*
181+
182+ The artifact information file describes the content of the deployment archive as a JSON document.
183+ It contains information about the deployment archive itself and about the based server archive.
184+
185+ [source,json]
186+ ----
187+ {
188+ "id" : "com.example:hello-world-dev:axway-deployment-archive:0.1.0-SNAPSHOT",
189+ "name" : "Hello World (DEV)",
190+ "description" : null,
191+ "buildTime" : "2019-12-17T17:25:40",
192+ "artifact" : {
193+ "groupID" : "com.example",
194+ "artifactID" : "hello-world-dev",
195+ "version" : "0.1.0-SNAPSHOT"
196+ },
197+ "dependencies" : [ "com.example:hello-world-gw:axway-server-archive:0.1.0-SNAPSHOT" ],
198+ "serverArchive" : {
199+ "id" : "com.example:hello-world-gw:axway-server-archive:0.1.0-SNAPSHOT",
200+ "name" : "Hello World Server",
201+ "description" : "My first \"Hello World\" server project.",
202+ "buildTime" : "2019-12-17T17:25:40",
203+ "artifact" : {
204+ "groupID" : "com.example",
205+ "artifactID" : "hello-world-gw",
206+ "version" : "0.1.0-SNAPSHOT"
207+ },
208+ "dependencies" : [ "com.example:hello-world:axway-policy-archive:0.1.0-SNAPSHOT" ]
209+ }
210+ }
211+ ----
212+
159213== Build Properties
160214
161215The plugin can be configured by various properties.
0 commit comments