Commit e7d9ba02 authored by Elian Kraja's avatar Elian Kraja
Browse files

Merge branch 'stf593' into 'develop'

Final Draft

See merge request !1
parents 2fd2a665 94f4c75f
Loading
Loading
Loading
Loading
Loading

.jenkins.sh

0 → 100644
+18 −0
Original line number Diff line number Diff line
#!/bin/bash

specfiles=$(ls | egrep "^[^.]*.(json|yaml)")

fres=0
for i in $specfiles ; do
    echo "-- Validating and linting OpenAPI file $i..."
    swagger-cli validate $i
    res=$?
    speccy lint "$i"
    res2=$?
    fres=$(($fres||$res||$res2))
    echo "--- Validator returned $res, linter returned $res2."
done

echo "-- Final validator returns $fres."
exit $fres

MEC029_FAI.yaml

0 → 100644
+2100 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −8
Original line number Diff line number Diff line
@@ -2,17 +2,13 @@

This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 029.

**=> Please note that the content of the current repository is not yet aligned 
with the latest status of ETSI GS 029.**

**In case of discrepancies the ETSI 
Specification takes precedence over the content of the repository.**

## Online resources

* [Specification document (TBD)](#)
* [Navigate the API in the browser (TBD)](#).
* [Edit the API online  (TBD)](#).
* [Specification document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/029/02.01.01_60/gs_MEC029v020101p.pdf)
* [Navigate the Fixed Access Information API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs029-fai-api/raw/stf593/MEC029_FAI.yaml)
* [Edit the Fixed Access Information API online ](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs029-fai-api/raw/stf593/MEC029_FAI.yaml)


## License

+36 −0
Original line number Diff line number Diff line
/*
  ETSI GS MEC 029 Fixed Access Information API
 
  ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
 
  The version of the OpenAPI document: 2.1.1
  Contact: cti_support@etsi.org
  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec029;

import public "models/ani_alarm_notification_alarm.proto";
import public "models/ani_alarm_notification_ani_id.proto";
import public "models/cp_info.proto";
import public "models/time_stamp.proto";

message AniAlarmNotification {

  AniAlarmNotificationAlarm alarm = 1;

  AniAlarmNotificationAniId ani_id = 2;

  // The physical location of the related customer sites.
  repeated CpInfo customer_premises_info = 3;

  // Shall be set to \"AniAlarmNotification\".
  string notification_type = 4;

  string onu_id = 5;

  TimeStamp time_stamp = 6;

}
+26 −0
Original line number Diff line number Diff line
/*
  ETSI GS MEC 029 Fixed Access Information API
 
  ETSI GS MEC 029 Fixed Access Information API described using OpenAPI.
 
  The version of the OpenAPI document: 2.1.1
  Contact: cti_support@etsi.org
  Generated by OpenAPI Generator: https://openapi-generator.tech
*/

syntax = "proto3";

package mec029;


message AniAlarmNotificationAlarm {
enum TypeEnum {
		ANI_ALARM_NOTIFICATION_ALARM_TYPE_ENUM_0 = 0;
		ANI_ALARM_NOTIFICATION_ALARM_TYPE_ENUM_1 = 1;
		ANI_ALARM_NOTIFICATION_ALARM_TYPE_ENUM_2 = 2;
		ANI_ALARM_NOTIFICATION_ALARM_TYPE_ENUM_3 = 3;
		ANI_ALARM_NOTIFICATION_ALARM_TYPE_ENUM_4 = 4;
		ANI_ALARM_NOTIFICATION_ALARM_TYPE_ENUM_5 = 5;
		ANI_ALARM_NOTIFICATION_ALARM_TYPE_ENUM_6 = 6;
	}
}
Loading