/build/
### visual studio ###
-.vs
\ No newline at end of file
+.vs
+
+# OSx cruft
+**/.DS_Store
<groupId>org.o-ran-sc.ric.anrxapp.client</groupId>
<artifactId>anr-xapp-client</artifactId>
<name>RIC ANR xApp client</name>
- <version>0.0.4-SNAPSHOT</version>
+ <version>0.0.5-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<goal>generate</goal>
</goals>
<configuration>
- <inputSpec>${project.basedir}/src/main/resources/anr_swagger_0.0.4.yaml</inputSpec>
+ <inputSpec>${project.basedir}/src/main/resources/anr_swagger_0.0.5.yaml</inputSpec>
<language>java</language>
<configOptions>
<groupId>${project.groupId}</groupId>
swagger : '2.0'
info :
description : REST API specification for RIC ANR closed xAPP
- version : 0.0.4
+ version : 0.0.5
title : RIC ANR
license:
name : Nokia Closed App
/health/alive :
get :
summary : Health check of ANR - Liveness probe
- tags :
+ tags :
- health
operationId : getHealthAlive
responses :
/health/ready :
get :
summary : Health check of ANR - Readiness probe
- tags :
+ tags :
- health
operationId : getHealthReady
responses :
- $ref : '#/parameters/limit'
get :
summary : Returns neighbor cell relation table for all gnodeBs or based on query string
- tags :
+ tags :
- ncrt
operationId : getNcrtInfo
produces :
/ncrt/cell/{cellIdentifier} :
parameters :
- $ref : '#/parameters/cellIdentifier'
- - $ref : '#/parameters/neighborCellNrpci'
- - $ref : '#/parameters/neighborCellNrcgi'
get :
summary : Returns neighbor cell relation table for a Source Cell (NR CGI) and optionally a neighbor cell based on query string
- tags :
+ tags :
- ncrt
operationId : getCellNcrtInfo
produces :
parameters :
- $ref : '#/parameters/startIndex'
- $ref : '#/parameters/limit'
+ - $ref : '#/parameters/neighborCellNrpci'
+ - $ref : '#/parameters/neighborCellNrcgi'
responses :
'200' :
description : successful operation
description : Non-existant identifier {cellIdentifier | neighborCellNrpci | neighborCellNrcgi} in request
put :
summary : Modify neighbor cell relation based on Source Cell NR CGI and Target Cell NR PCI / NR CGI
- tags :
+ tags :
- ncrt
operationId : modifyNcrt
consumes :
}
delete :
summary : Delete neighbor cell relation based on Source Cell NR CGI and Target Cell NR PCI / NR CGI
- tags :
+ tags :
- ncrt
operationId : deleteNcrt
parameters :
description : Parameters to delete neighbor cell relation
required : true
schema :
- $ref : '#/definitions/neighborCellRelationDelTable'
+ $ref : '#/definitions/neighborCellRelationDelTable'
responses :
'204' :
description : Successfully deleted neighbor cell relation
definitions :
neighborCellRelationTable :
type : object
- properties :
- ncrtRelations :
+ properties :
+ ncrtRelations :
type : array
items :
$ref : '#/definitions/neighborCellRelation'
$ref : '#/definitions/neighborCellRelationMod'
neighborCellRelationDelTable :
type : array
- items :
+ items :
$ref : '#/definitions/neighborCellRelationDel'
neighborCellRelation :
type : object
- required :
+ required :
- cellIdentifierNrcgi
- neighborCellNrpci
- neighborCellNrcgi
neighborCellRelationMod :
type : object
required :
- - neighbourCellIdentifierType
+ - neighborCellIdentifierType
- action
properties :
- neighbourCellIdentifierType :
+ neighborCellIdentifierType :
type : string
description : Neighbor Cell Identifier Type
enum :
RIC Dashboard Release Notes
===========================
-Version 1.0.3, 15 May 2019
+Version 1.0.3, 20 May 2019
--------------------------
* Add AC xapp controller
* Add RAN type radio selector to connection setup
-* Update ANR xApp client to spec version 0.0.4
+* Update ANR xApp client to spec version 0.0.5
* Add get-version methods to all controllers
* Add simple page footer with copyright and version
<dependency>
<groupId>org.o-ran-sc.ric.anrxapp.client</groupId>
<artifactId>anr-xapp-client</artifactId>
- <version>0.0.4-SNAPSHOT</version>
+ <version>0.0.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.o-ran-sc.ric.e2mgr.client</groupId>
.addNcrtRelationsItem(e);
when(mockApi.getNcrtInfo(any(String.class), any(String.class), any(Integer.class))).thenReturn(ncrt);
- when(mockApi.getCellNcrtInfo(any(String.class), any(String.class), any(String.class), any(String.class),
- any(Integer.class))).thenReturn(ncrt);
+ when(mockApi.getCellNcrtInfo(any(String.class), any(String.class), any(Integer.class), any(String.class),
+ any(String.class))).thenReturn(ncrt);
doAnswer(i -> {
return null;
- }).when(mockApi).deleteNcrt(any(String.class), any(NeighborCellRelationDelTable.class), any(String.class),
- any(String.class));
+ }).when(mockApi).deleteNcrt(any(String.class), any(NeighborCellRelationDelTable.class));
doAnswer(i -> {
return null;
- }).when(mockApi).modifyNcrt(any(String.class), any(NeighborCellRelationModTable.class), any(String.class),
- any(String.class));
+ }).when(mockApi).modifyNcrt(any(String.class), any(NeighborCellRelationModTable.class));
return mockApi;
}
@RequestParam(name = NRCGI, required = false) String nrcgi) {
logger.debug("queryNcrtAllCells: cellIdentifier {}, startIndex {} limit {} nrpci {} nrcgi {}", cellIdentifier,
startIndex, limit, nrpci, nrcgi);
- return ncrtApi.getCellNcrtInfo(cellIdentifier, nrpci, nrcgi, startIndex, limit);
+ return ncrtApi.getCellNcrtInfo(cellIdentifier, startIndex, limit, nrpci, nrcgi);
}
@ApiOperation(value = "Modify neighbor cell relation based on Source Cell NR CGI and Target Cell NR PCI / NR CGI")
@RequestBody NeighborCellRelationModTable ncrtModTable, //
HttpServletResponse response) {
logger.debug("modifyNcrt: cellIdentifier {} modTable {}", cellIdentifier, ncrtModTable);
- ncrtApi.modifyNcrt(cellIdentifier, ncrtModTable, null, null);
+ ncrtApi.modifyNcrt(cellIdentifier, ncrtModTable);
response.setStatus(healthApi.getApiClient().getStatusCode().value());
}
@RequestBody NeighborCellRelationDelTable ncrtDelTable, //
HttpServletResponse response) {
logger.debug("modifyNcrt: cellIdentifier {} delTable {}", cellIdentifier, ncrtDelTable);
- ncrtApi.deleteNcrt(cellIdentifier, ncrtDelTable, null, null);
+ ncrtApi.deleteNcrt(cellIdentifier, ncrtDelTable);
response.setStatus(healthApi.getApiClient().getStatusCode().value());
}
}